Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Deep learning 咖啡馆,坚持住;“数据层预取队列为空”;_Deep Learning_Caffe - Fatal编程技术网

Deep learning 咖啡馆,坚持住;“数据层预取队列为空”;

Deep learning 咖啡馆,坚持住;“数据层预取队列为空”;,deep-learning,caffe,Deep Learning,Caffe,我正在caffe上进行一个培训阶段。网络为:VGG16+8卷积层+softmax损耗。因为我的机器,我选择只在CPU上运行。我的内存是8G,数据集是(train+val+测试内存不超过1G) 但是,在输入该命令后,程序会长时间(约10小时)停留在消息“数据层预取队列为空”的点上。在此期间,系统监视器显示我的CPU使用率为100%,内存使用率为69%。由于我的火车批次只有10辆,我认为我的机器能负担得起,很难理解为什么会发生这种情况 以下是网络初始化完成和解算器搭建完成后的输出消息 I0404 1

我正在caffe上进行一个培训阶段。网络为:VGG16+8卷积层+softmax损耗。因为我的机器,我选择只在CPU上运行。我的内存是8G,数据集是(train+val+测试内存不超过1G)

但是,在输入该命令后,程序会长时间(约10小时)停留在消息“数据层预取队列为空”的点上。在此期间,系统监视器显示我的CPU使用率为100%,内存使用率为69%。由于我的火车批次只有10辆,我认为我的机器能负担得起,很难理解为什么会发生这种情况

以下是网络初始化完成和解算器搭建完成后的输出消息

I0404 13:08:15.401798 28175 net.cpp:274] Network initialization done.
I0404 13:08:15.401984 28175 solver.cpp:60] Solver scaffolding done.
I0404 13:08:15.402128 28175 caffe.cpp:129] Finetuning from /home/huanghe/caffe-dilation/pretrained/frontend_model.caffemodel
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 537388947
I0404 13:08:22.585640 28175 net.cpp:752] Ignoring source layer prob
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 537388947
I0404 13:08:23.729429 28175 net.cpp:752] Ignoring source layer prob
I0404 13:08:23.732425 28175 caffe.cpp:219] Starting Optimization
I0404 13:08:23.732533 28175 solver.cpp:279] Solving 
I0404 13:08:23.732580 28175 solver.cpp:280] Learning Rate Policy: step
I0404 13:08:23.833487 28175 solver.cpp:337] Iteration 0, Testing net (#0)
I0404 13:08:23.891206 28175 blocking_queue.cpp:50] Data layer prefetch queue empty

我是新手。互联网上的搜索永远帮不了我。有人能给我解释一下吗?多谢各位

问题已修复。结果我走错了路。caffe无法找到培训数据并打印“数据层预回迁队列为空”消息