xiaolonw / adversarial-frcnn

A-Fast-RCNN (CVPR 2017)
Other
482 stars 168 forks source link

received signal SIGFPE, Arithmetic exception #19

Open fightKK opened 6 years ago

fightKK commented 6 years ago

I benefited from your article. I ran into this problem while running my own data. I found the problem mainly comes from: ASDNPretrainLabelLayer->forward() top[0].reshape(*(conv_feat_pos.shape)) top[0].data[...] = conv_feat_pos.astype(np.float32, copy=False) Since all the labels in rois are background (label = 0), the size of top0 is 0 when reshape top is reached.

So, how should I deal with this problem?

Thanks!