fpn.pytorch
fpn.pytorch copied to clipboard
Training suddenly terminates with run time error, please help
[session 1][epoch 1][iter 2100] loss: 1.2515, lr: 1.00e-03
fg/bg=(32/96), time cost: 46.959169
rpn_cls: 0.0647, rpn_box: 0.0156, rcnn_cls: 0.7545, rcnn_box 0.4920
[session 1][epoch 1][iter 2200] loss: 1.3776, lr: 1.00e-03
fg/bg=(32/96), time cost: 46.760157
rpn_cls: 0.2410, rpn_box: 0.1341, rcnn_cls: 0.7460, rcnn_box 0.3669
Traceback (most recent call last):
File "trainval_net.py", line 330, in
I have encountered with the same problem. Have you found out how to solve it?
I am not sure if it's because of the version of pytorch
I found that the code runs normally on faster-rcnn. But if I use the code of fpn, it failed. So I guess the problem happens in fpn.py, but I still can't find out why.
What's more, I used this model to train my personal data, if I changed the data back to origin Voc2007, it works. That's strange. I just changed my personal data into the form of Voc2007.
Here is one of my annotation file:
and here is the annotation file in original voc2007