Closed zahidzqj closed 2 years ago
我使用python tools/train.py configs/MIAOD.py --gpu-ids 1 开始训练代码,但是提示: /MI-AOD-master/mmdet/core/fp16/decorators.py", line 80, in new_func output = old_func(*new_args, **new_kwargs) TypeError: forward() missing 1 required positional argument: 'x' 不知道怎么解决。 我的环境是:mmcv-full 1.0.5 、mmdet 2.3.0 、pytorch1.6.0
是因为自己没有复制epoch_based_runner.py导致的
我使用python tools/train.py configs/MIAOD.py --gpu-ids 1 开始训练代码,但是提示: /MI-AOD-master/mmdet/core/fp16/decorators.py", line 80, in new_func output = old_func(*new_args, **new_kwargs) TypeError: forward() missing 1 required positional argument: 'x' 不知道怎么解决。 我的环境是:mmcv-full 1.0.5 、mmdet 2.3.0 、pytorch1.6.0