资料汇总
问题
RuntimeError: CUDA error: no kernel image is available for execution on the device
pytorch版本不匹配
显卡算力太低或太高
太低降版本
太高升版本
3090显卡在环境下执行以下命令
先去清华源该anaconda源 https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
从清华镜像下载
解决pycharm 远程debug collecting data
File | Settings | Build, Execution, Deployment | Python Debugger

安装opencv 版本冲突
pip install opencv-contrib-python
笔记
xshell通道配置
源主机为本地主机
目标主机为远程主机
改pip、conda源
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
mmedit安装配置
先clone项目github慢可以去gitee git clone https://github.com/open-mmlab/mmediting.git
conda create -n mmedit