Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Elm-Forest committed Apr 6, 2023
2 parents 20114f5 + f2557f7 commit 7408767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ or generate masks for an entire image:
```
from segment_anything import build_sam, SamAutomaticMaskGenerator
mask_generator = SamAutomaticMaskGenerator(build_sam(checkpoint="</path/to/model.pth>"))
masks = mask_generator_generate(<your_image>)
masks = mask_generator.generate(<your_image>)
```

Additionally, masks can be generated for images from the command line:
Expand Down

0 comments on commit 7408767

Please sign in to comment.