安装mask scoring rcnn

pip 清华源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
清华源安装pytorch 
conda install pytorch=1.1  torchvision==0.2.1 cudatoolkit=10.0*

pytorch  版本不能太高,建议调低pytorch版本。
ModuleNotFoundError: No module named 'torch.distributed.deprecated'


git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
python setup.py build_ext install

# install PyTorch maskscoring_rcnn
git clone https://github.com/zjhuang22/maskscoring_rcnn.git
cd maskscoring_rcnn
python setup.py build develop

pip install torchvision==0.2.1,否则会出现 AttributeError: 'list' object has no attribute 'resize' #45

你可能感兴趣的:(深度学习)