1、当然先去 https://github.com/facebookresearch/maskrcnn-benchmark 把项目clone下来
然后安装 pip install -r requirements.txt文件
2,安装完可以测试demo下,在使用测试demo时需要在首级目录先运行下python setup.py build develop然后在测试
3、测试过程有很多坑需要注意,在此注意apex版本问题容易出现,这是N卡的相关软件
Class advice impossible in Python3. Use the @implementer class decorator instead,解决方法
最开始需要卸载原来的,pip uninstall apex
I uninstalled the old version of apex and reinstalled a new version. It worked. Thanks.
git clone https://www.github.com/nvidia/apex
cd apex
python setup.py install
4、还有个M