the issue about the segment_anything
yusirhhh opened this issue · 1 comments
yusirhhh commented
When I run the code, I face the issue about cannot import name 'build_sam_hq'
>>> import segment_anything
>>> from segment_anything import SamPredictor
>>> from segment_anything import sam_model_registry
>>> from segment_anything import build_sam_hq
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'build_sam_hq' from 'segment_anything'
yxKryptonite commented
Please checkout Grounded-SAM to install segment_anything and groundingdino.