目录
安装pytorch 1.3
conda create -n open-mmlab python=3.7 -y
conda init bash
conda activate open-mmlab
conda install pytorch=1.3.1 cudatoolkit=9.2 torchvision=0.4.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/
安装mmcv
pip install mmcv-full==1.0.5 -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.3.0/index.html
安装mmdet
1、pip install mmdet==2.3.0
#github下载mmdetection的2.3.0版本的源码
安装额外的包
pip install Pillow==6.2.2
pip install cython

本文详细介绍了如何在Ubuntu环境下安装PyTorch 1.3、MMCV和MMDetection,包括额外包的配置、COCOAPI的定制以及环境持久化。重点讲述了针对DIDI数据集的模型配置和脚本运行,以及常见问题解决方案。最后,提供了一系列实用的Ubuntu命令和实验结果图示。
最低0.47元/天 解锁文章
957

被折叠的 条评论
为什么被折叠?



