I meet the same problem ,just using mmdetection, the terminal shows :    The detected CUDA version (11.0) mismatches the version that was used to compile
PyTorch (10.2). Please make sure to use the same CUDA versions.