Win10+Faster-RCNN-TensorFlow-Python3-master训练自己的数据 测试图像并输出mAP

一、源码地址:https://github.com/smallcorgi/Faster-RCNN_TF

二、环境搭建

    先参考这篇装一下大概环境:https://blog.csdn.net/wwtor/article/details/80603296

    然后打开Anaconda Prompt或cmd安装python包(cython、python-opencv、easydict)

    先cd到文件目录,然后运行`pip install -r requirements.txt`   ,如图

    然后cd到/data/coco/PythonAPI  ,运行 `python setup.py build_ext --inplace`  ,运行`python setup.py build_ext install`  
    再cd到/lib/utils运行 `python setup.py build_ext --inplace`

三、数据集

    1. 将自己的数据转换为VOC格式,看这篇:https://blog.csdn.net/a417197457/article/details/80701944

    2. 把自己的xml文件放置在Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/Annotations路径下,记得把原来的删掉

    把jpg文件放在Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/JPEGImages路径下

    把生成的四个txt文档放在Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/ImageSets/Layout 和 Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/ImageSets/Main路径下

四、训练

    1. 网盘:https://pan.baidu.com/share/init?surl=aD0jlYGHhZQ

  • 17
    点赞
  • 89
    收藏
    觉得还不错? 一键收藏
  • 29
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 29
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值