2017-04-04 13 views
0

私はcaffeでトレーニングフェーズを実行しています。ネットワークは次のとおりです:VGG16 + 8畳み込み層+ソフトマックス損失。私のマシンのために、私はCPU上でのみ実行することを選択します。私の記憶は8Gで、私のデータセットはVOC2007 segmentation images(train + val + testは1G以下のメモリ)です。caffe、 "Data layer prefetch queue empty"のスティック

しかし、コマンドを入力した後、プログラムは、メッセージ「データレイヤプリフェッチキューが空の」で、長時間(〜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 

私は新しい手です。インターネット上の検索は私を助けません。誰も私のためにそれを説明することはできますか?どうもありがとうございました!

答えて

0

問題が修正されました。私は間違った道に入ったことが分かります。キャフェはトレーニングデータを見つけられず、 "データレイヤプリフェッチキューエンプティ"メッセージを印刷できません。

関連する問題