hhaAndroid / mmdetection-mini

mmdetection最小学习版

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

训练出现问题,求解答

lyk595 opened this issue · comments

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

commented

有解决的吗

同问

commented

同问

mmcv-full版本的问题

I also encountered this problem recently. Have you solved it

commented

I also encountered this problem recently. Have you solved it

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

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.

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

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