BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.06k stars 18.7k forks source link

Matcaffe training net produces “Data layer prefetch queue empty” #3917

Open caney1989 opened 8 years ago

caney1989 commented 8 years ago

I have installed caffe on ubuntu15.04 and passed the mattest. I have completed the MNIST and cifar10 train task by the cmdcaffe. But when i debug the MATLAB interface, following the official tutorials , What I do is basically just this: solver = caffe.Solver(solverFile); solver.step(1000); MATLAB was crashed and when looking at the terminal, the output after the last statement is this:

I0330 21:50:08.972489 5345 net.cpp:219] label_mnist_1_split does not need backward computation. I0330 21:50:08.972506 5345 net.cpp:219] mnist does not need backward computation. I0330 21:50:08.972519 5345 net.cpp:261] This network produces output accuracy I0330 21:50:08.972537 5345 net.cpp:261] This network produces output loss I0330 21:50:08.972564 5345 net.cpp:274] Network initialization done. I0330 21:50:08.972652 5345 solver.cpp:60] Solver scaffolding done. I0330 21:51:04.285419 5345 solver.cpp:337] Iteration 0, Testing net (#0) I0330 21:51:04.299999 5345 blocking_queue.cpp:50] Data layer prefetch queue empty

This problem has haunted me so much. Can you give me some ideas, recommendations or inputs please? Thank you!

seanbell commented 8 years ago

From https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md:

When reporting a bug, it's most helpful to provide the following information, where applicable:

  • What steps reproduce the bug?
  • Can you reproduce the bug using the latest master, compiled with the DEBUG make option?
  • What hardware and operating system/distribution are you running?
  • If the bug is a crash, provide the backtrace (usually printed by Caffe; always obtainable with gdb).