Open fangxu622 opened 7 years ago
For this, you could get rid of the error message by doing either 1. remove that error message in the multi_stagemeanfield code 2) use batch_size = 1.
The most critical thing is my batch_size=1., I use voc-layer load data。。。
Now, I use the <Latest Caffe with CPU/GPU CRF-RNN> ,The problem has gone away and a new problem has come..
I0706 15:28:25.721647 31458 net.cpp:744] Ignoring source layer score_pool3
I0706 15:28:25.721652 31458 net.cpp:744] Ignoring source layer score_pool3c
I0706 15:28:25.721657 31458 net.cpp:744] Ignoring source layer upscore8
I0706 15:28:25.721662 31458 net.cpp:744] Ignoring source layer score
I0706 15:28:30.210567 31458 solver.cpp:218] Iteration 0 (-1.55027e-33 iter/s, 4.46282s/20 iters), loss = 2.51438e+06
I0706 15:28:30.210670 31458 solver.cpp:237] Train net output #0: loss = 2.51438e+06 (* 1 = 2.51438e+06 loss)
I0706 15:28:30.210688 31458 sgd_solver.cpp:105] Iteration 0, lr = 1e-10
F0706 15:28:34.982275 31458 eltwise_layer.cpp:34] Check failed: bottom[0]->shape() == bottom[i]->shape() bottom[0]: 1 11 512 512 (2883584), bottom[1]: 1 11 1024 1024 (11534336)
*** Check failure stack trace: ***
Aborted (core dumped)
the fcn-model is the voc-fcn8s-atonce, I added the crfasRNN layer to fcn8s-atonce's train.prototxt , or the use TVG_CRFRNN_new_traintest.prototxt .it have the same problem...
不晓得能和你讲中文吗?
@bittnt
I think the net bottom.shape is the same .but i don't know what something wrong
thanks , I have resolve it with resize the input image to (512,512).....
@bittnt What do you mean ? How to remove je error message in the code please ? I tried but it returned compilation errors
Dear @bittnt ,
During training my CRFasRNN model, when I entered the command: python ../fcn.berkeleyvision.org/voc-fcn8s-atonce/solve.py
This problem has occurred
this is my train.prototxt, it's TVG_CRFRNN_new_traintest.prototxt that replace data layer with fcn8s-atonce's data layer
my solver.prototxt
this my solve.py