Faster R-CNN tensorflow版本,cpu下运行demo

代码地址:https://github.com/endernewton/tf-faster-rcnn

参照博客:
https://blog.csdn.net/sinat_33486980/article/details/81045315
https://blog.csdn.net/oMoDao1/article/details/82698571
https://blog.csdn.net/some_possible/article/details/79139994

https://www.cnblogs.com/toone/p/8433581.html
https://blog.csdn.net/yangshengjie_/article/details/81238567
https://www.jianshu.com/p/dda97b547f95

  • 在按照上述博客进行make操作后,出现以下错误:
image

此时安装相应的gcc即可。

  • 在编译过一次后,发现再次运行依然要按照博客中所示的步骤,重新从头开始进行。
    在此,修改tools/demo.py中的路径,此后,编译过一次后,就不用再次进行编译,直接运行demo.py即可。修改后的结果如下图所示。
image

之后运行test_net.py发现cachefile的路径 发生变化(相对于cachedir),在此,未找到好的修改方法,最终强制指定了位置。

此后再次运行test_net.py再次出现问题:TypeError: write() argument must be str, not bytes
也即pickle在python3下的使用
在此修改位置如下:
解决方法:将w改为wb

QQ图片20190106115617.png

你可能感兴趣的:(Faster R-CNN tensorflow版本,cpu下运行demo)