linux下faster rcnn入门一:配置网络

linux下配置faster rcnn

流程参照博客readme
主要写一些遇到问题

Zero

linux下anaconda下载tensorflow-gpu会配置对应的cuda以及cudnn,但是没有cudahome以及一系列系统变量,所有需要再配置一下cuda以及cudnn,否则会报错,找不到cudahome,前一篇博客写了配置。

First

训练模型下载失败后,手动下载,放置位置
在这里插入图片描述

Second

https://blog.csdn.net/qq_34108714/article/details/89317004#commentsedit
识别出来的结果好多红框重叠,后来在demo.py中调了阈值,发现毫无反应看了作者的issues才知道,我是一个gpu,gpu_id=0,看readme啊啊,以后遇到错误,要先看readme
GPU_ID=0
https://github.com/endernewton/tf-faster-rcnn/issues/235
Did you set the right GPU_ID? It should be 0 if you only have one GPU. I met the same error when I forget execute command “GPU_ID=0” before testing.

CUDA_VISIBLE_DEVICES=${GPU_ID} ./tools/demo.py
然后出现正确结果:
在这里插入图片描述备注:linux下一些修改可以参照windows下我前面写的教程

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值