LutingWang / OADP

Object-Aware Distillation Pyramid for Open-Vocabulary Object Detection
Apache License 2.0
54 stars 3 forks source link

Please I run‘python -m oadp.build_annotations’.But appear AttributeError: module 'todd' has no attribute 'StoreMeta'.Why is that, hope to get answered, thank you. #5

Closed 123456hxh closed 1 year ago

123456hxh commented 1 year ago

Please I run‘python -m oadp.build_annotations’.But appear AttributeError: module 'todd' has no attribute 'StoreMeta'.Why is that, hope to get answered, thank you.

LutingWang commented 1 year ago

Please use the following command to check if the todd version is 0.3.0

python -c "from importlib.metadata import version; print(version('todd_ai'))"

If the version is 0.3.0, it would be helpful if the full traceback is provided.

123456hxh commented 1 year ago

Thank you for reply. @LutingWang But it will appear ERROR: No matching distribution found for todd_ai==0.3.0

LutingWang commented 1 year ago

This seems like a pip error. If you are using custom pip sources, the following command might help

pip install todd_ai==0.3.0 -i https://pypi.org/simple/

If the problem persists, you can try to install from the whl file, which you can download manually from https://pypi.org/project/todd-ai/#files.

123456hxh commented 1 year ago

Thank you