草庐IT

mmsegmentation安装教程,简单易懂,必能成功

一、安装anaconda,这个自己弄一路默认就行或者你想改个路径也行,无所谓。安装好之后打开anacondaprompt控制面板。换成清华源:pipconfigsetglobal.index-urlhttps://pypi.tuna.tsinghua.edu.cn/simple 二、创建虚拟环境  condacreate-nmmseg3python=3.9        mmseg3为虚拟环境的名字,指定python版本,我觉得3.9是最好的。 输入:activatemmseg3  python-V   结果如上图就为成功三、在你的虚拟环境中安装pytorch的相关包pipinstalltor