UX-Decoder / Semantic-SAM

[ECCV 2024] Official implementation of the paper "Semantic-SAM: Segment and Recognize Anything at Any Granularity"
2.39k stars 118 forks source link

cannot import name 'prepare_image' from 'semantic_sam' #85

Closed chen132407 closed 10 months ago

chen132407 commented 10 months ago

this "demo.py" I can run it,but this code in "For interactive multi-granularity segmentation "examples。 "from semantic_sam import prepare_image ,plot_multi_results,build_semantic_sam, SemanticSAMPredictor " ImportError: cannot import name 'prepare_image' from 'semantic_sam', in the python code i can"t find 'prepare_image' ,'build_semantic_sam' 。

chen132407 commented 10 months ago

I know it ! it is an old version of the git repository