win10环境配置运行mask-rcnn

win10环境配置运行mask-rcnn

  • win10环境配置运行mask-rcnn
    • 项目地址
    • 安装流程
      • 运行效果

win10环境配置运行mask-rcnn

项目地址

https://github.com/matterport/Mask_RCNN

安装流程

# 1. 创建conda虚拟环境
conda create -n maskrcnn python=3.6 
# 2. 克隆仓库
git clone https://github.com/matterport/Mask_RCNN.git
# 3. 安装依赖
pip install -r requirements.txt
# 想节省麻烦就下载1.3的TensorFlow和Keras 2.1.2
pip install tensorflow==1.7.0
pip install keras==2.1.6
# 4. 安装
python setup.py install
# 5. 下载预训练模型
# 到https://github.com/matterport/Mask_RCNN/releases
# 下载mask_rcnn_coco.h5复制到克隆仓库的根目录
# 6. 安装pycocotools
# 6.1 打开网页查看教程https://github.com/philferriere/cocoapi
# 6.2 下载vc++ 2015构建工具 https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe
# 6.3 安装,末尾#subdirectory=PythonAPI要带上
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
# 7. 安装jupyter
pip install jupyter
# 8. 运行samples下的demo.ipynb文件

运行效果

你可能感兴趣的:(Python,深度学习,神经网络,tensorflow,机器学习,mask-rcnn)