I0219 14:48:40.965386 31108 net.cpp:76] Memory required for data: 0
I0219 14:48:40.965517 31108 layer_factory.hpp:76] Creating layer data
I0219 14:48:40.965621 31108 net.cpp:110] Creating Layer data
I0219 14:48:40.965642 31108 net.cpp:433] data -> data
I0219 14:48:40.965728 31108 net.cpp:433] data -> label
I0219 14:48:40.965769 31108 image_data_layer.cpp:40] Opening file /home/wangxiao/Downloads/caffe-master/fine_tuning_data/PETA_dataset/train/train_data_txtFile.txt
I0219 14:48:40.965828 31108 image_data_layer.cpp:88] A total of 2 images.
I0219 14:48:41.007944 31108 image_data_layer.cpp:119] output data size: 12,3,320,240
I0219 14:48:41.025914 31108 base_data_layer.cpp:66] Initializing prefetch
I0219 14:48:41.026383 31108 base_data_layer.cpp:69] Prefetch initialized.
I0219 14:48:41.026396 31108 net.cpp:155] Setting up data
I0219 14:48:41.026429 31108 net.cpp:163] Top shape: 12 3 320 240 (2764800)
I0219 14:48:41.026438 31108 net.cpp:163] Top shape: 12 27 1 1 (324)
I0219 14:48:41.026445 31108 net.cpp:174] Memory required for data: 11060496
I0219 14:48:41.026491 31108 layer_factory.hpp:76] Creating layer conv1
I0219 14:48:41.026556 31108 net.cpp:110] Creating Layer conv1
I0219 14:48:41.026582 31108 net.cpp:477] conv1 <- data
I0219 14:48:41.026631 31108 net.cpp:433] conv1 -> conv1
I0219 14:48:41.031888 31108 net.cpp:155] Setting up conv1
I0219 14:48:41.031908 31108 net.cpp:163] Top shape: 12 96 78 58 (5211648)
I0219 14:48:41.031918 31108 net.cpp:174] Memory required for data: 31907088
I0219 14:48:41.031980 31108 layer_factory.hpp:76] Creating layer relu1
I0219 14:48:41.032011 31108 net.cpp:110] Creating Layer relu1
I0219 14:48:41.032023 31108 net.cpp:477] relu1 <- conv1
I0219 14:48:41.032049 31108 net.cpp:419] relu1 -> conv1 (in-place)
I0219 14:48:41.032079 31108 net.cpp:155] Setting up relu1
I0219 14:48:41.032099 31108 net.cpp:163] Top shape: 12 96 78 58 (5211648)
I0219 14:48:41.032109 31108 net.cpp:174] Memory required for data: 52753680
I0219 14:48:41.032119 31108 layer_factory.hpp:76] Creating layer norm1
I0219 14:48:41.032150 31108 net.cpp:110] Creating Layer norm1
I0219 14:48:41.032161 31108 net.cpp:477] norm1 <- conv1
I0219 14:48:41.032198 31108 net.cpp:433] norm1 -> norm1
I0219 14:48:41.032277 31108 net.cpp:155] Setting up norm1
I0219 14:48:41.032296 31108 net.cpp:163] Top shape: 12 96 78 58 (5211648)
I0219 14:48:41.032305 31108 net.cpp:174] Memory required for data: 73600272
I0219 14:48:41.032317 31108 layer_factory.hpp:76] Creating layer pool1
I0219 14:48:41.032344 31108 net.cpp:110] Creating Layer pool1
I0219 14:48:41.032356 31108 net.cpp:477] pool1 <- norm1
I0219 14:48:41.032380 31108 net.cpp:433] pool1 -> pool1
I0219 14:48:41.032444 31108 net.cpp:155] Setting up pool1
I0219 14:48:41.032459 31108 net.cpp:163] Top shape: 12 96 39 29 (1302912)
I0219 14:48:41.032469 31108 net.cpp:174] Memory required for data: 78811920
I0219 14:48:41.032480 31108 layer_factory.hpp:76] Creating layer conv2
I0219 14:48:41.032505 31108 net.cpp:110] Creating Layer conv2
I0219 14:48:41.032516 31108 net.cpp:477] conv2 <- pool1
I0219 14:48:41.032542 31108 net.cpp:433] conv2 -> conv2
E0219 14:48:41.035162 31112 io.cpp:86] Could not open or find file /home/wangxiao/Downloads/caffe-master/fine_tuning_data/PETA_dataset/train/resized_data/0
F0219 14:48:41.035338 31112 image_data_layer.cpp:183] Check failed: cv_img.data Could not load 0
*** Check failure stack trace: ***
    @     0x7f5a50a09dbd  google::LogMessage::Fail()
    @     0x7f5a50a0bcf8  google::LogMessage::SendToLog()
    @     0x7f5a50a09953  google::LogMessage::Flush()
    @     0x7f5a50a0c62e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f5a51228e2e  caffe::ImageDataLayer<>::load_batch()
    @     0x7f5a511f6ad6  caffe::BasePrefetchingDataLayer<>::InternalThreadEntry()
    @     0x7f5a5119a7c9  caffe::InternalThread::entry()
    @     0x7f5a5119d2b9  boost::_mfi::mf5<>::operator()()
    @     0x7f5a5119d197  boost::_bi::list6<>::operator()<>()
    @     0x7f5a5119d0a5  boost::_bi::bind_t<>::operator()()
    @     0x7f5a5119d06a  boost::detail::thread_data<>::run()
    @     0x7f5a476b0a4a  (unknown)
    @     0x7f5a46c21182  start_thread
    @     0x7f5a4fff947d  clone
Aborted (core dumped)
wangxiao@wangxiao-GTX980:~/Downloads/caffe-master$

>>>>>>>>> The problem is it shown me It only read 2 images from txt file and it is impossible :

Answer:

 今天出现了 找不到 图像路径下的 .png文件, 查看了 train_data.txt文档,才发现,出错了一个图像:

.png  0 0 0 0 0 0 0 ~~

在io.cpp 第80 和 81 行:

  LOG(INFO) << "FILENAME: " << filename ;
  LOG(INFO) << "cv_read_flag: " << cv_read_flag ;

就会显示出错的地方,然后找到,删除那一张图像即可。

caffe: compile error: Could not open or find file your path~~/resized_data/0 and a total of 2 images .的更多相关文章

  1. caffe: compile error : undefined reference to `cv::imread(cv::String const&, int)' et al.

    when I compile caffe file : .build_debug/lib/libcaffe.so: undefined reference to `cv::imread(cv::Str ...

  2. VBA Excel WideCharToMultiByte Compile error on 64-bit System

    Compile Error: The code in this project must be updated for use on64-bit systems. Please review and ...

  3. FreeModbus LINUXTCP Compile ERROR

    /********************************************************************************* * FreeModbus LINU ...

  4. OK335xS canutils deal with compile error

    /************************************************************************************** * OK335xS ca ...

  5. Handling CLIK AS3 Compile Error 1152 & 5000

    Handling CLIK AS3 Compile Error 1152 & 5000 Action You add a CLIK AS3 component from CLIK_Compon ...

  6. 【Redis】编译错误zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory

    [Redis]编译错误zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory 在安装redis进行编译 ...

  7. 全志TinaLinux编译错误fatal error: unicode/ucnv.h: No such file or directory

    今天开始正式干活了 拿到一个全志Tina的板子还有一个SDK压缩包,要求我这周(只剩一天半...)就要把sdk编译通过并且把板子跑起来. 还特别跟我说他们试了下这个sdk编译没法通过,会报错... 竟 ...

  8. ERROR! MySQL is running but PID file could not be found

    /etc/init.d/mysql status提示ERROR! MySQL is running but PID file could not be found先打印MYSQL进程ps aux | ...

  9. Java AOP nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice || Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0' 两个异常解决办法

    贴出applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans ...

随机推荐

  1. Math 对象的方法

    Math 对象的方法 方法 描述 abs(x) 返回数的绝对值 acos(x) 返回数的反余弦值 asin(x) 返回数的反正弦值 atan(x) 以介于 -PI/2 与 PI/2 弧度之间的数值来返 ...

  2. 2016 - 1 - 20 runloop学习

    一:Runloop基本知识 1.本质就是运行循环 2.基本作用: 2.1保证程序持续运行 2.2处理APP中的各种事件:触摸,定时器,selector... 2.3节省CPU资源,系统程序性能:它会让 ...

  3. php生成图片注释

    //生成验证码图片注释 <?php session_start(); $arr = array( 'a','b','c','d','e','f','g','h','i','j','k','l', ...

  4. yii2.0-rules验证规则应用实例

    Rules验证规则:  required : 必须值验证属性||CRequiredValidator 的别名, 确保了特性不为空. [['字段名1','字段名2'],required]    //字段 ...

  5. UVA11624(bfs)

    题意:给一张图,有火源,有障碍物,剩下的是道路,火源在下一分钟能够让上下左右四个方向的道路也着火,告诉人的位置,问最短时间能逃出去的时间是多少: 思路:一个bfs用来求出所有的火源能蔓延到的地方,另一 ...

  6. Java最近版本新特性使用介绍

    本文来自http://blog.csdn.net/liuxian13183/ ,引用必须注明出处! 在阅读<Thinking in Java>的过程中,并发这一章出现不少新特性,工作中也有 ...

  7. ZOJ2006 (最小表示法)

    var s:ansistring; cas:longint; function minp(st,len:longint):longint; var p1,p2,k,tmp:longint; begin ...

  8. 关于oracle出现ORA-06143:连接未打开 解决方案

    原因:程序所在的路径中含有()和中文 用plsql连接正常,连接字符串也检查不出毛病,换到另一个程序照样使用,折腾了半天,最后才发现程序所在的路径中含有()和中文,所以可能导致出现这种很难排查的问题出 ...

  9. 归档 Archive、解档Unchive、 XML(一)

    1 使用归档的方式保存文件 1.1 问题 归档是任何对象都可以实现的更常规的方式,可以进行归档的对象需要实现NSCoding协议,而且每个实例变量应该是基本数据类型或者是实现NSCoding协议的某个 ...

  10. I.MX6 ubuntu-core-14.04 Apache php mysql Qt5

    /*************************************************************************** * I.MX6 ubuntu-core-14. ...