Closed threeneedone closed 1 year ago
Also having this issue.
@Ericxgao @threeneedone ,
Package Upgrade:
pip install metaseg --upgrade
Can you write the code you are running?
This problem occurs when I use meta==0.7.0, so I revert to 0.6.1.
Thank you for the feedback. I fixed it.
pip install metaseg==0.7.3
I have this issue after updating the code.
Traceback (most recent call last): File "e:/AIGC/segment-anything-video/test", line 1, in
from metaseg import sahi_sliced_predict, SahiAutoSegmentation
File "e:\AIGC\segment-anything-video\metaseg__init.py", line 7, in
from metaseg.falai_demo import falai_automask_image, falai_manuelmask_image
File "e:\AIGC\segment-anything-video\metaseg\falai_demo.py", line 5, in
from metaseg import SegAutoMaskPredictor, SegManualMaskPredictor
ImportError: cannot import name 'SegAutoMaskPredictor' from partially initialized module 'metaseg' (most likely due to a circular import) (e:\AIGC\segment-anything-video\metaseg\ init__.py)