YoussefMoNader commited on
Commit
f555450
·
verified ·
1 Parent(s): 53bc9c8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ from transformers import pipeline
19
 
20
  segment = Volume(20230827161847, normalize=True)
21
 
22
- classifier = pipeline(model="YoussefMoNader/ink_detection_pipeline", trust_remote_code=True, tile_size=64, stride=32, scale_factor=16)
23
  prediction = classifier(np.transpose(segment[17:43, 200:5600,1000:4600],(1,2,0)).astype(np.float32)) # prediction shape ~ (512,512)
24
 
25
  plt.imshow(prediction)
 
19
 
20
  segment = Volume(20230827161847, normalize=True)
21
 
22
+ classifier = pipeline(model="scrollprize/ink_detection_pipeline", trust_remote_code=True, tile_size=64, stride=32, scale_factor=16)
23
  prediction = classifier(np.transpose(segment[17:43, 200:5600,1000:4600],(1,2,0)).astype(np.float32)) # prediction shape ~ (512,512)
24
 
25
  plt.imshow(prediction)