YifanXu74/MQ-Det

Something is wrong with maskrcnn_benchmark

Opened this issue · 2 comments

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.

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.

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.