![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题解决
2014wzy
这个作者很懒,什么都没留下…
展开
-
Python: Windows下pip安装库出错:Microsoft Visual C++ 9.0 is required < Unable to find vcvarsall.bat
一直在用Linux, 最近想在windows下使用Python。 当我想安装Matplotlib module的时候, 出现以下错误。Microsoft Visual C++ 9.0 is required 想起来自己一直没有安装VS - -!。 后来安装之后错误依旧。后续解决办法如下:For Windows installations:While runni转载 2017-08-04 15:14:13 · 721 阅读 · 0 评论 -
"libcudnn.so.5 cannot open shared object file: No such file or directory"
"libcudart.so.8.0 cannot open shared object file: No such file or directory"解决办法是将一些文件复制到/usr/local/lib文件夹下:#注意自己CUDA的版本号!sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/local/lib/libcud原创 2017-03-03 15:10:37 · 28331 阅读 · 9 评论 -
/sbin/ldconfig.real: /usr/local/lib/libcudnn.so.6.5 is not a symbolic link
这一步主要是解决:/sbin/ldconfig.real: /usr/local/lib/libcudnn.so.6.5 is not a symbolic link如果要使用cuDNN, 那么需要将cudnn.h复制到/usr/local/include:sudo cp cudnn.h /usr/local/include然后复制相应的libs到/usr/local/原创 2017-04-23 17:38:19 · 10128 阅读 · 1 评论 -
安装tensorflow过程遇到的问题
① tensorflow:AttributeError:'module'object has no attribute ’mul‘According to the tensorflow 1.0.0 release notes,tf.mul, tf.sub and tf.neg are deprecated in favor of tf.multiply, tf.subtract and t转载 2017-04-18 21:04:36 · 2856 阅读 · 0 评论 -
libEGL.so.1 不是符号连接
ubuntu16.04.2nvidia 375.39问题描述:在编译caffe runtest时候,出现的问题/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 不是符号连接/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 不是符号连接原因:系统找的是一个符转载 2017-04-11 19:01:25 · 6483 阅读 · 0 评论 -
错误-python-Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
http://blog.csdn.net/xuezhisdc/article/details/49588517转载 2017-03-22 19:46:34 · 1585 阅读 · 0 评论 -
faster-rcnn 中训练自己的数据出现的错误
训练过程中错误error 1:assert (boxes[:, 2] >= boxes[:, 0]).all()Process Process-1:Traceback (most recent call last):File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrapself原创 2017-03-04 17:31:30 · 5315 阅读 · 1 评论 -
ImportError: No module named yaml解决方案
ImportError: No module named yamlproblem : I got the "ImportError: No module named yaml " error when I attempted to install NLTK toolkit to my ubuntu system.solution:yaml library fo原创 2017-03-03 15:19:02 · 6470 阅读 · 0 评论 -
caffe*** Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date ***
在caffe中的image_data_layer.cpp中把caffe::rng_t* prefetch_rng =static_cast(prefetch_rng_->generator());注释掉原创 2017-07-11 17:26:09 · 3194 阅读 · 2 评论 -
Windows 编译caffe常见错误问题汇总
[html] view plain copy print?PropertyGroup Condition="'$(MatlabSupport)'=='true'"> MatlabDir>E:\02_software\01_develop\matlabMatlabDir> LibraryPath>$(MatlabDir)\extern\li原创 2017-07-12 15:19:38 · 2297 阅读 · 0 评论 -
visual studio 调试时提示 已加载“C:\Windows\SysWOW64\ntdll.dll”。无法查找或打开 PDB 文件。
问题描述“Win32Project3.exe”(Win32): 已加载“D:\software\VS2013\VS2013 文档\Win32Project3\Debug\Win32Project3.exe”。已加载符号。“Win32Project3.exe”(Win32): 已加载“C:\Windows\SysWOW64\ntdll.dll”。无法查找或打开 PDB 文件。“Win32转载 2017-07-10 10:12:24 · 14071 阅读 · 4 评论 -
build_release/tools/caffe: error while loading shared libraries: libopenblas.so.0: cannot open share
解决方法:在/usr/lib/下建立一个 软链接将 libopenblas.so.0指向/openbls安装目录/lib/ libopenblas.so.0原创 2017-07-17 21:50:08 · 4367 阅读 · 1 评论 -
./include/caffe/util/cudnn.hpp:8:34: fatal error: caffe/proto/caffe.pb.h: No such file or director
这是因为protobuf和pillow没有安装,或者是通过apt-get安装的。使用pip重新安装一遍即可解决问题。删除caffe-mast(提前保存Makefile.config和Makefile),解压,解压重新编译。pip install protobuf --upgrade -i http://pypi.douban.com/simple pip install pillow --u原创 2017-07-17 17:28:30 · 2238 阅读 · 0 评论 -
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-原创 2017-07-29 22:00:42 · 1455 阅读 · 0 评论 -
libEGL.so.1 不是符号连接
环境:ubuntu16.04.2nvidia 375.39问题描述:在编译caffe runtest时候,出现的问题/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 不是符号连接/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 不是符号连接原因:系统找转载 2017-06-27 20:02:36 · 857 阅读 · 0 评论 -
Ubuntu 14.04 LTS 下降级到4.7 and 升级 gcc 到 gcc-4.9、gcc-5 版本
Matlab 2014a支持的gcc/g++版本是4.7x,而ubuntu 14.04以及更高版本默认安装的版本都是4.8及以上,因此需要降低gcc/g++版本,方法如下:1 安装$ sudo apt-get install -y gcc-4.7$ sudo apt-get install -y g++-4.712122 重新建立软连接$ cd /usr/bin$ su转载 2017-06-27 10:05:37 · 2802 阅读 · 0 评论 -
make matcaffe 'matlab/+caffe/private/caffe_.mexa64' failed
在caffe中的Makefile里面,CXXFLAGS += -MMD -MP下面添加CXXFLAGS += -std=C++11如下:CXXFLAGS += -MMD -MPCXXFLAGS += -std=c++11然后在caffe根目录下make clean,make all原创 2017-06-27 10:02:30 · 2005 阅读 · 0 评论 -
caffe, Inception v2 Check failed: top_shape[j] == bottom[i]->shape(j)
使用Caffe 跑 Google 的Inception V2 对输入图片的shape有要求,某些shape输进去可能会报错。 Inception model中有从conv和pooling层concat的操作,而conv和pooling的output输出计算方式不完全一样。解决方案: 1. 按照原来prototxt输出图片 2. 把concat层前面stride为2的conv层替换str转载 2017-07-03 21:28:58 · 2849 阅读 · 0 评论 -
Caffe | Check failed: error == cudaSuccess (2 vs. 0) out of memory
Check failed: error == cudaSuccess (2 vs. 0) out of memory*** Check failure stack trace: ***Aborted (core dumped)解决方案:The error you get is indeed out of memory, but it's not the RAM, but ra原创 2017-02-23 22:32:32 · 5362 阅读 · 5 评论 -
Check failed: error == cudaSuccess (8 vs. 0) invalid device function
最近在复现R-CNN一系列的实验时,配置代码环境真是花费了不少时间。由于对MATLAB不熟悉,实验采用的都是github上rbg大神的Python版本。在配置Faster R-CNN时,编译没有问题,一运行 ./tools/demo.py --net zf 就会出现如下错误:[plain] view plain copy Loaded network ./转载 2017-02-23 22:27:19 · 2833 阅读 · 0 评论 -
“/usr/bin/ld: cannot find -lopenblas” error in Caffe compilation
AR -o .build_release/lib/libcaffe.aLD -o .build_release/lib/libcaffe.so/usr/bin/ld: cannot find -lopenblascollect2: ld devolvió el estado de salida 1make: *** [.build_release/lib/libcaffe.so] Erro原创 2017-02-23 19:28:44 · 4865 阅读 · 0 评论 -
Faster R-CNN WINDOWS CPU环境搭建(详细版)
操作系统:bigtop@bigtop-SdcOS-Hypervisor:~/py-faster-rcnn/tools$ cat /etc/issueUbuntu 14.04.2 LTS \n \lPython版本:bigtop@bigtop-SdcOS-Hypervisor:~/py-faster-rcnn/tools$ python --versionPython转载 2016-10-25 18:20:28 · 8413 阅读 · 3 评论 -
Ubuntu sudo报错command not found的解决方法
Ubuntu系统操作中,在使用sudo的时候出现sudo:source:command not found错误提示,遇到这种问题要如何处理呢?下面小编就给大家介绍下Ubuntu系统中报错sudo:source:command not found的解决方法。 Ubuntu Server上执行以下命令,可以看到默认打开的文件数限制为1024个。 $ ulimit -n 1024原创 2016-10-13 19:37:51 · 31325 阅读 · 1 评论 -
安装Caffe Anaconda的时出现问题的解决方法
在caffe-master目录下执行 $make pycaffe 如果提示不能make pycaffe,可以先执行$make clean (以上步骤也可以放在最后进行) 安装其他的库需要的只是执$ sudo pip install-r /path/to/caffe/python/requirements.txt 其中包括Cython>=0.1原创 2016-08-26 20:28:29 · 3815 阅读 · 0 评论 -
ImportError: No module named caffe 的解决方案
在成功编译caffe的源码之后,可以在python环境中使用caffe。在Ubuntu环境下,打开python解释程序,输入import caffe时,可能会出现 ImportError: No module named caffe>>>import caffe Traceback (most recent call last): File "", line 1转载 2016-09-20 15:14:09 · 16131 阅读 · 2 评论 -
python解决ImportError: No module named google.protobuf
原文链接:http://blog.csdn.net/paynetiger/article/details/8197326 关于protocol buffer的优点,这里就不多贴废话了,如果涉及到数据传输和解析,使用pb会比自己去写解析代码更有效率,至少对于大部分而言是这样的。。一、下载&安装要使用之前先到code.google.com上搜索protocol buffer,下载到转载 2016-08-26 20:50:25 · 22727 阅读 · 1 评论 -
搭建caffe环境时“error: hdf5.h”找不到的解决方法
搭建caffe环境时,在最后进行 ”$make all” 操作时,报错找不到 “hdf5.h”,找了半天原因,是因为在安装 “hdf5” 的时候使用的指令是“[html] view plain copy$ sudo apt-get libhdf5-serial-dev ”所以相应的需要更改"Makefile.co转载 2016-09-22 21:31:23 · 6484 阅读 · 0 评论 -
su root: Authentication failure的解决
$ su - rootPassword: su: Authentication failureSorry.这时候输入:$ sudo passwd rootEnter new UNIX password: Retype new UNIX password: passwd: password updated successfully这时候就可以进入根目录原创 2016-09-22 20:52:08 · 714 阅读 · 0 评论 -
caffe中cifar10的full_train模型出现nan的解决办法
caffe在cifar10 的example上给出了两个模型,一个是quick模式,一个是full模式,训练full模式时会出现loss=nan的错误(当然不会报错,不过出现这个结果就是bug)自己google了一下,在github上找到了原因跟解决方案,原来是作者把用在cuda-convnet的模型照搬过来了,在caffe上的模型应该去掉LRN层,所以解决的方法很简单:将网络转载 2016-09-22 20:12:03 · 1133 阅读 · 0 评论 -
1080P 显卡安装过程
1080P 显卡安装过程安装过程(successfully)1 安装ubuntu14.04。(可选择14.04或者16.04)温馨提示: 安装过程中断网较好,选好分区。2 安装好后,重启。重启过程中先进入BOIS,选择集显作为显示(其中iGPU Monitor是处于enable状态),保存更改,退出,进入ubuntu系统。3 联网(确保能转载 2016-10-31 19:11:44 · 1559 阅读 · 0 评论 -
SSD:Single Shot MultiBox Detector 配置问题一览
1.使用cuda8编译时出错:/usr/include/boost/property_tree/detail/json_parser_read.hpp:257:264: error: ‘type name’ declared as function returning an array方法:因为gcc版本太低了,升级到5.3即可解决[html] view pla转载 2016-11-21 14:29:28 · 1929 阅读 · 3 评论 -
安装caffe过程记录
现在我的安装的深度学习的软件大都在台式机上进行的,今天要装的是caffe框架。我的操作系统是ubuntu14.04先是安装依赖项:sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compilersudo a原创 2017-02-23 18:59:28 · 678 阅读 · 0 评论 -
SSD编译的时候出现问题
/usr/include/boost/property_tree/detail/json_parser_read.hpp: In constructor ‘boost::property_tree::json_parser::json_grammar::definition::definition(const boost::property_tree::json_parser::json_gram原创 2017-02-23 18:51:19 · 1835 阅读 · 0 评论 -
Ubuntu 14.04中升级gcc到版本4.9.2并切换使用它们
昨天刚全新在虚拟机上安装了Ubuntu 14.04,在其中安装的gcc版本是4.8.4。而我需要编译C++程序,在安装之后,我立刻就通过命令:sudo apt-get install build-essential11安装了make、g++等。build-essentail是一整套开发工具。安装后,可以使用命令 g++ –version查看安装是否成功。诚然,g++4.8.4能转载 2017-02-23 18:47:31 · 3551 阅读 · 0 评论 -
解决github上公开项目下载速度慢问题
http://jingyan.baidu.com/article/f79b7cb367e72e9145023e40.html?st=2&os=0&bd_page_type=1&net_type=1原创 2017-03-01 20:33:42 · 4022 阅读 · 1 评论 -
使用caffe训练时Loss变为nan的原因
梯度爆炸原因:梯度变得非常大,使得学习过程难以继续现象:观察log,注意每一轮迭代后的loss。loss随着每轮迭代越来越大,最终超过了浮点型表示的范围,就变成了NaN。措施: 1. 减小solver.prototxt中的base_lr,至少减小一个数量级。如果有多个loss layer,需要找出哪个损失层导致了梯度爆炸,并在train_val.prototxt中减小该转载 2017-03-01 18:43:46 · 3410 阅读 · 0 评论 -
编译caffe出现错误:make: *** [.build_release/src/caffe/common.o] Error 1
在编译caffe时出现错误:[plain] view plain copy In file included from ./include/caffe/util/device_alternate.hpp:40:0, from ./include/caffe/common.hpp:19, from转载 2017-02-20 16:06:29 · 7807 阅读 · 5 评论 -
解决faster-rcnn中训练时assert(boxes[:,2]>=boxes[:,0]).all()的问题
1、出现问题:训练faster rcnn时出现如下报错:File "/py-faster-rcnn/tools/../lib/datasets/imdb.py", line 108, in append_flipped_images assert (boxes[:, 2] >= boxes[:, 0]).all()AssertionError2、问题分析:检查自己数据发现,左转载 2016-12-27 21:01:46 · 2958 阅读 · 1 评论 -
ImportError: No module named cv2
在安装opevncv时会出现 ImportError: No module named cv2 的错误,找不到cv2的包这时候安装apt-get installPython-OpenCV扩展包即可【或yum install opencv-python】不过这是依赖版本,具体python3安装opencv可以参考 Adrian Rosebrock写的这篇博文但是在树莓派编译opencv时有时会遇到找...转载 2016-12-08 21:15:15 · 30424 阅读 · 1 评论 -
caffe*** Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date ***
在自己建立新的caffe层时,出现错误:Aborted at 1457505270 (unix time) try "date -d @1457505270" if you are using GNU date这个十分怪异的!在BLVC的论坛上也没找到解决办法。 有人说重新编译就好了,我试了也没什么效果。 仔细分析代码,并加了好多LOG(INFO)后,发现问题是出现转载 2016-09-22 19:43:29 · 7062 阅读 · 8 评论