hhaAndroid / mmdetection-mini

mmdetection最小学习版
MIT License
1.07k stars 194 forks source link

训练出现问题,求解答 #45

Open lyk595 opened 2 years ago

lyk595 commented 2 years ago

Traceback (most recent call last): File "D:/MachineLearning/unet/mmdetection-mini-master/tools/train.py", line 11, in import mmdet.cv_core File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core__init__.py", line 15, in from .ops import * File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\ops__init__.py", line 3, in from .cc_attention import CrissCrossAttention File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\ops\cc_attention.py", line 9, in ext_module = ext_loader.load_ext( File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\utils\ext_loader.py", line 10, in load_ext assert hasattr(ext, fun), f'{fun} miss in module {name}' AssertionError: ca_forward miss in module _ext

Process finished with exit code 1

colorfully-ybf commented 2 years ago

+1

shncg commented 2 years ago

有解决的吗

liguopeng0923 commented 2 years ago

同问

Nancy-197 commented 2 years ago

同问

mmcv-full版本的问题

wwcc1107 commented 2 years ago

I also encountered this problem recently. Have you solved it

Nancy-197 commented 2 years ago

I also encountered this problem recently. Have you solved it

Reduce the version of mmcv, it is recommended to use version 1.3.5.

wwcc1107 commented 2 years ago

thank you very much,when i lower the version,i found this problem: AssertionError: MMCV==1.3.5 is used but incompatible. Please install mmcv>=1.3.17, <=1.5.2.

PiseyYou commented 2 years ago

Traceback (most recent call last): File "D:/MachineLearning/unet/mmdetection-mini-master/tools/train.py", line 11, in import mmdet.cv_core File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_coreinit.py", line 15, in from .ops import * File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\opsinit.py", line 3, in from .cc_attention import CrissCrossAttention File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\ops\cc_attention.py", line 9, in ext_module = ext_loader.load_ext( File "D:\MachineLearning\unet\mmdetection-mini-master\tools..\mmdet\cv_core\utils\ext_loader.py", line 10, in load_ext assert hasattr(ext, fun), f'{fun} miss in module {name}' AssertionError: ca_forward miss in module _ext

Process finished with exit code 1

the same problem, try different way from version part, still not working...