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. Mac下的SVN客户端工具Cornerstone使用教程

    前面几篇文章我介绍SVN服务器的安装,配置,实战.当然其中也加入了一些客户端测试的命令,使用命令当然是一个非常好的选择,但是对我们人类来说还是喜欢图形化界面的操作的.因此本文将介绍我喜欢的一款SVN客 ...

  2. vSphere Client上传镜像

    1. 使用vSphere Client连接到VMware ESXI 2. 打开右侧 [摘要] 选项卡 3. 在 [资源] 中选择存储器中的存储,右键 [浏览数据库存储] 4. 选择工具栏 [创建新文件 ...

  3. 理解Mach Port

    参考文档: 1. http://robert.sesek.com/thoughts/2012/1/debugging_mach_ports.html 2. Mach 3 Kernel Interfac ...

  4. asp中cookie欺骗/注入原理与防范

     一直以来sql注入被广泛关注,也有专门的防注系统代码.发现,如果代码不严谨也会有cookie欺骗/注入的情况.原来, 防注入系统没有注意到 Cookies 的问题!这里以ASP为例,分析一下cook ...

  5. UIlabel设置不同的颜色

    NSString *string = @"注册过程中出现问题,致电400-650-5167联系会养车工作人员";    NSRange range = [string rangeO ...

  6. C++除法取整

    使用floor函数.floor(x)返回的是小于或等于x的最大整数.如:     floor(2.5) = 2 floor(-2.5) = -3 使用ceil函数.ceil(x)返回的是大于x的最小整 ...

  7. DVRF:路由器漏洞练习靶机 Damn Vulnerable Router Firmware

    0×01 概述 这个项目的目的是来帮助人们学习X86_64之外其他架构环境,同时还帮助人们探索路由器固件里面的奥秘. 目前为止,该项目是基于Linksys E1550 为基础进行安装. 0×02 安装 ...

  8. 配置VS2010具有代码提示功能

    Visual Assist X是一款非常好的Microsoft Visual Studio插件,可以支持Microsoft Visual Studio 2003,Microsoft Visual St ...

  9. Python的"数组"储存

    import time member=["小甲鱼","小布丁","黑夜","迷途","伊静"] pr ...

  10. 10年省赛-Greatest Number (二分+暴力) + 12年省赛-Pick apples(DP) + UVA 12325(暴力-2次枚举)

    题意:给你n个数,在里面取4个数,可以重复取数,使和不超过M,求能得到的最大的数是多少: 思路:比赛时,和之前的一个题目很像,一直以为是体积为4(最多选择四次)的完全背包,结果并不是,两两求和,然后二 ...