IDEA-Research / T-Rex

API for T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergy
https://deepdataspace.com/home
Other
1.98k stars 120 forks source link

ImportError: cannot import name 'BatchPointInfer' from 'dds_cloudapi_sdk' #27

Closed taoxunqiang closed 3 months ago

taoxunqiang commented 3 months ago

Thank you for your wonderful work.

I installed the trex according to "Setup". The following error occurred when running "from dds_cloudapi_sdk import BatchRectInfer, BatchPointInfer, BatchEmbdInfer": ImportError: cannot import name 'BatchPointInfer' from 'dds_cloudapi_sdk' (/home/nvidia/miniconda3/envs/demo/lib/python3.8/site-packages/dds_cloudapi_sdk/init.py)

How can I fix it?

Thank you.

Mountchicken commented 3 months ago

Hi @taoxunqiang Make sure you have installed the latest version of dds API:

pip install dds-cloudapi-sdk==0.1.1
Mountchicken commented 3 months ago

I'll close this issue now. Feel free to re-open it.