ubuntu16.04下py-faster-rcnn安裝
来源:互联网 发布:mybatis sql使用别名 编辑:程序博客网 时间:2024/06/05 00:59
請注意,本類僅僅是記錄開發過程中遇到對問題,可能會亂貼代碼,亂貼圖,亂貼報錯信息,不保證能解決問題,以及有優美的排版,後面有時間我會重新整理的。
主要還是參考GitHub上的README.md
我這裏只填坑
安裝依賴
sudo pip install easydict --upgrade -i http://pypi.douban.com/simple sudo apt install python-opencvsudo apt install python-tk
報錯信息
ImportError: No module named easydictImportError: No module named cv2ImportError: No module named _tkinter, please install the python-tk packageTraceback (most recent call last): File "./tools/demo.py", line 135, in <module> net = caffe.Net(prototxt, caffemodel, caffe.TEST)AttributeError: can't set attribute
最後一個AttributeError: can't set attribute
需要注釋掉源碼中的一行,重新編譯。
在include/caffe/layers/python_layer.hpp
中,注釋掉
self_.attr("phase") = static_cast(this->phase_);
方法我也是從GitHub上找的
GitHub的解決請點這裏
阅读全文
0 0
- ubuntu16.04下py-faster-rcnn安裝
- ubuntu16.04配置py-faster-rcnn
- ubuntu16.04+py-faster-rcnn+ZF运行demo.py
- AWS-G2-Ubuntu16.04下安装cuda,caffe和py-faster-rcnn
- Ubuntu16.04+GT720M + Cuda8.0+py-faster-rcnn(caffe)
- Ubuntu16.04 + cudnn5.0 + py-faster-rcnn + gpu
- ubuntu16.04配置py-faster-rcnn(CPU版)
- Ubuntu16.04环境下安装caffe及运行faster-rcnn
- windows下编译py-faster-rcnn
- Windows10 下安装 py-faster-rcnn
- ubuntu16.04+caffe安装和 py-faster-rcnn的CPU安装
- Ubuntu16.04+caffe的安装和Py-faster-rcnn在CPU电脑的安装-2
- Ubuntu16.04 cuda8.0 cudnn v5.1 caffe py-faster-rcnn配置
- Ubuntu16.04 caffe py-faster-rcnn安装以及训练自己的数据
- win7下py-faster-rcnn-master下跑通demo.py
- py-faster-rcnn配置CPU下运行demo.py
- Faster RCNN roidb.py
- Faster RCNN train_faster_rcnn_alt_opt.py
- Windows应用程序画正弦曲线
- python爬虫登录正方教务管理系统获取成绩数据
- NNpack的安装和配置
- python小程序-0006
- C/C++程序内存分配详解
- ubuntu16.04下py-faster-rcnn安裝
- 剑指offer——重建二叉树
- MySQL基础(7)——表的创建、更改和删除
- 杨辉三角
- LeetCode OJ 65 Valid Number[hard]
- HDU 1003 Max Sum
- Node express GET和POST获取参数的三种方法
- kaggle——Titanic
- C++ 对数组进行排序并返还对应索引号