资讯动态

CVPR2021_PLOP 论文代码环境搭建步骤

发布时间:2026/9/8 19:19:34 来源:尧图企业网站定制
安装cuda 10.2wgethttp://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.runsudoshcuda_10.2.89_440.33.01_linux.run#只选择 cudatoolkit 安装conda 换源北外源比较快 参考https://mirrors.bfsu.edu.cn/help/anaconda/创建pytorch环境以及激活condainstallpytorch1.8.0torchvision0.9.0torchaudio0.8.0cudatoolkit10.2-cpytorch conda activate plop克隆CVPR2021_PLOP , apex , inplace-abn仓库压缩tar-czvffilename.tar.gz dir/ 解压tar-xzvffilename.tar.gzgitclone *.git安装apex , inplace-abn(需要在虚拟环境中运行)gitclone https://github.com/NVIDIA/apexcdapex pipinstall-v--disable-pip-version-check --no-cache-dir --global-option- -cpp_ext--global-option--cuda_ext./gitclone https://github.com/mapillary/inplace_abn.gitcdinplace_abn python setup.pyinstallcdscripts pipinstall-rrequirements.txt更改运行的脚本 以CVPR2021_PLOP/scripts/ade/plop_ade_100-10.sh 为例PORT$((9000RANDOM%1000))GPU0,1(使用第几个gpu0是第一个)NB_GPU2gpu的数量DATA_ROOT/home/mist/mist/CVPR2021_PLOP/data 数据目录,根据实际情况在CVPR2021_PLOP目录运行脚本 sh scripts/adeplop_ade_100-10.sh结果保存在CVPR2021_PLOP/scripts/ade/ 目录其他命令需要参考 Github 页面以及论

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价