damo-cv/GiraffeDet

ModuleNotFoundError: No module named 'mmdet.ops.mish_cuda.mish_cuda_ext'

Opened this issue · 0 comments

lsm140 commented

(gdet) lsm@ai:~/Desktop/GiraffeDet$ python tools/train.py configs/giraffeDet/giraffe_d7_scratch_6x.py
/home/lsm/anaconda3/envs/gdet/lib/python3.8/site-packages/mmcv/utils/registry.py:71: UserWarning: The old API of register_module(module, force=False) is deprecated and will be removed, please use the new API register_module(name=None, force=False, module=None) instead.
warnings.warn(
Traceback (most recent call last):
File "tools/train.py", line 22, in
from mmdet.ops import *
File "/home/lsm/Desktop/GiraffeDet/mmdetection-2.6.0/mmdet/ops/init.py", line 17, in
from .mish_cuda import *
File "/home/lsm/Desktop/GiraffeDet/mmdetection-2.6.0/mmdet/ops/mish_cuda/init.py", line 1, in
from . import mish
File "/home/lsm/Desktop/GiraffeDet/mmdetection-2.6.0/mmdet/ops/mish_cuda/mish.py", line 5, in
from .mish_cuda_ext import mish_backward, mish_forward
ModuleNotFoundError: No module named 'mmdet.ops.mish_cuda.mish_cuda_ext'

where is the mish_cuda_ext.py???
the file is not in the project.