Skip to content

Commit 4fa74ee

Browse files
authored
Merge pull request #417 from roboflow/fix/how-to-segment-images-with-segment-anything-3
fix `How to Segment Images with Segment Anything 3 (SAM3)` notebook
2 parents 5422286 + 7af90db commit 4fa74ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/how-to-segment-images-with-segment-anything-3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
"from sam3.model_builder import build_sam3_image_model\n",
272272
"from sam3.model.sam3_image_processor import Sam3Processor\n",
273273
"\n",
274-
"model = build_sam3_image_model()\n",
274+
"model = build_sam3_image_model(bpe_path=\"/content/sam3/sam3/assets/bpe_simple_vocab_16e6.txt.gz\")\n",
275275
"processor = Sam3Processor(model, confidence_threshold=0.3)"
276276
],
277277
"metadata": {

0 commit comments

Comments
 (0)