File "/home/undergraduate/anaconda3/envs/yolov7p/lib/python3.8/site-packages/torch/cuda/amp/autocast_mode.py", line 110, in decorate_fwd
return fwd(*args, **kwargs)
File "/media/kb541/ruanpuchao/yolov7_train/models/ops_dcnv3/functions/dcnv3_func.py", line 39, in forward
output = DCNv3.dcnv3_forward(
RuntimeError: Not implemented on the CPU
我在yolov7中添加可变形卷积DCNv3后,在训练时报错:无法应用到CPU,但是我的device是cuda:0,1,为什么还会报错呢?有没有同学可以解答一下呢?