ImportError: cannot import name '_C' from 'maskrcnn_benchmark'
AlexanderWeismannn opened this issue · 2 comments
❓ Questions and Help
I've been trying to get the Simple Test Colab Notebook running from the github page again after succesfully doing it a year ago and am running to some issues with the maskrcnn_benchmark library. Does Anyone have any idea what has caused this error? Im sorta stumped and assume that I need to downgrade the python or maybe pip version being used on Collab.
Hey!
Please help me!
When I run this command:
"!python setup.py install --cuda_ext --cpp_ext"
I got this type of error
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --cuda_ext not recognized
Please help me!
from ._utils import _C
use this to replace
from maskrcnn_benchmark import _C