Mask_RCNN环境配置

硬件环境:机械革命Z3air win10系统 3050显卡
软件 : Anaconda、Pycharm、Jupyter notebook
地址:https://github.com/matterport/Mask_RCNN

环境搭建:

  1. Anaconda创建一个新环境:conda create -n maskrcnn python=3.6
  2. 直接安装requirement就行 pip install -r requirement.txt
  3. 之后要安装一个imgaug包:conda install shapely
    pip install imgaug
    4.最后需要安装一个pycocotools工具
    pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

5.之后需要下载一个权重文件mask_rcnn_coco.h5
下载地址在https://download.fastgit.org/matterport/Mask_RCNN/releases/download/v2.0/mask_rcnn_coco.h5
在这里插入图片描述
6.运行demo
demo需要在Jupyter notebook上运行(可以把demo转成py格式的文件,参考https://blog.csdn.net/hesongzefairy/article/details/104702119)首先需要进入到maskrcnn环境,cd到指定位置,
在这里插入图片描述
然后安装一个conda install nb_conda,之后运行Jupyter notebook
在这里插入图片描述在这里插入图片描述

在Jupyter notebook中把环境改成maskrcnn,之后运行就可以了
在这里插入图片描述注意把地址改一下

完结,撒花

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值