win10环境配置运行mask-rcnn

29 篇文章 1 订阅
14 篇文章 0 订阅

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文件

运行效果

运行效果

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Alex-Leung

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值