Contrastive Learning for Compact Single Image Dehazing, CVPR2021
339
stars
48
forks
source link
Hi, from DCNv2.dcn_v2 import DCN , import _ext as _backend makes mistakes and I don't know how to cope "ModuleNotFoundError: No module named '_ext'" problem after several trials. Should I delete "build" and recreate it by "python setup.py build develop", but when I run it in terminal, "running build_ext" occurs. #26
you can install mmcv-full by your cuda and pythorch version ,
pip install mmcv-full -f ttps://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html
just change the DCN class as “from mmcv.ops import DeformConv2dPack as DCN”。
you can install mmcv-full by your cuda and pythorch version , pip install mmcv-full -f ttps://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html just change the DCN class as “from mmcv.ops import DeformConv2dPack as DCN”。