Which returns RuntimeError: ModulatedDeformConv is not implemented on CPU
This code is run within docker in which mmcv-full with installed this way :
pip install mmcv-full==1.2.7 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
And mmdetection was installed the same way it is done in the current version of mmdetection's Dockefile.
I am running into this issue when trying to do inference with this simple snippet
Which returns RuntimeError: ModulatedDeformConv is not implemented on CPU
This code is run within docker in which mmcv-full with installed this way :
pip install mmcv-full==1.2.7 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
And mmdetection was installed the same way it is done in the current version of mmdetection's Dockefile.
The result of collect_env is the following:
I was able to train this exact same network using VarifocalNet/tools/dist_train.sh. I can send the configuration used to train the model if necessary.
I do not figure out why it is still trying to run on CPU. May you help please ?