-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when I train the net, I meet an error. I'm new #21
Comments
use the new codes and compile the caffe-fpn in the codes |
@unsky Thank your answer. I have used the new codes but there is another error. I0103 19:39:44.953022 4457 layer_factory.hpp:77] Creating layer loss_cls Thank you very much. |
@unsky Need to use your caffe-fpn and can not use faster rcnn's caffe? |
faster rcnn-caffe is very old, the loss layer cannot infershape. |
@unsky There is no problems. Thank you very much! |
@unsky what have you changed for softmaxwithloss, and what is the difference between caffe-fpn and original caffe? |
I0103 17:59:46.463167 29140 layer_factory.hpp:77] Creating layer fpn_loss_cls
I0103 17:59:46.463174 29140 net.cpp:106] Creating Layer fpn_loss_cls
I0103 17:59:46.463178 29140 net.cpp:454] fpn_loss_cls <- rpn_cls_score_reshape
I0103 17:59:46.463183 29140 net.cpp:454] fpn_loss_cls <- rpn_labels
I0103 17:59:46.463191 29140 net.cpp:411] fpn_loss_cls -> FPNClsLoss
I0103 17:59:46.463199 29140 layer_factory.hpp:77] Creating layer fpn_loss_cls
F0103 17:59:46.465251 29140 softmax_loss_layer.cpp:47] Check failed: outer_num_ * inner_num_ == bottom[1]->count() (245520 vs. 552960) Number of labels must match number of predictions; e.g., if softmax axis == 1 and prediction shape is (N, C, H, W), label count (number of labels) must be NHW, with integer values in {0, 1, ..., C-1}.
*** Check failure stack trace: ***
Thank you
The text was updated successfully, but these errors were encountered: