HarborYuan / ovsam

[ECCV 2024] The official code of paper "Open-Vocabulary SAM".
https://www.mmlab-ntu.com/project/ovsam
Other
914 stars 27 forks source link

Missing ovsam.py File - Upload Inquiry #3

Closed CVHub520 closed 8 months ago

CVHub520 commented 8 months ago

Hello,

I encountered a ModuleNotFoundError related to the absence of the ovsam.py file. Could you please confirm if it will be uploaded?

Error Details:

ModuleNotFoundError: Failed to import seg.models.detectors in seg/configs/ovsam/ovsam_coco_rn50x16_point.py, line 7 for No module named 'seg.models.detectors.ovsam'

Thank you!

CVHub520 commented 8 months ago

Additionally, I am interested in obtaining ONNX export settings and a minimal example for running inference based on ONNX Runtime (ORT). Could you provide guidance or share a minimal running example?

HarborYuan commented 8 months ago

Hi @CVHub520 ,

Thanks for your interest in our work. Could you please help me provide the script that you are using to run the model?

HarborYuan commented 8 months ago

Additionally, I am interested in obtaining ONNX export settings and a minimal example for running inference based on ONNX Runtime (ORT). Could you provide guidance or share a minimal running example?

I am not very familiar with onnx export. But this project is highly integrated with mmdet. I am not sure whether they provide the tools for exporting the onnx.

HarborYuan commented 8 months ago

Hi @CVHub520 ,

I fixed this bug. It was caused by the .gitignore file. Thanks for reporting.

CVHub520 commented 8 months ago

It work; thank you very much.