YifanXu74 / MQ-Det

Official PyTorch implementation of "Multi-modal Queried Object Detection in the Wild" (accepted by NeurIPS 2023)
Apache License 2.0
265 stars 12 forks source link

Something is wrong with maskrcnn_benchmark #45

Open AlyssaZyt opened 7 months ago

AlyssaZyt commented 7 months ago

Hi, thanks for your nice job, however, there is something wrong with maskrcnn_benchmark. This is the import error while training: ImportError: cannot import name '_C' from 'maskrcnn_benchmark' (/home/tom/fsas/MQ-Det/maskrcnn_benchmark/init.py) I have already installed yacs. Please help me and let me know how to solve the problem. Thank you.

YifanXu74 commented 7 months ago

Hi, thank you for your interest in our work. I have encountered this problem before and solved it by adjusting the versions of torch, gcc to "torch==2.0.1, GCC==8.3.1", as mentioned in the readme. Can you check your environment to ensure that you have the correct versions installed? Btw, I suggest uninstalling the old maskrcnn benchmark setup and rebuilding a new environment.

AlyssaZyt commented 7 months ago

Hi, thank you for your interest in our work. I have encountered this problem before and solved it by adjusting the versions of torch, gcc to "torch==2.0.1, GCC==8.3.1", as mentioned in the readme. Can you check your environment to ensure that you have the correct versions installed? Btw, I suggest uninstalling the old maskrcnn benchmark setup and rebuilding a new environment.

okay, I will have a try. Thank you.