adversarial-frcnn icon indicating copy to clipboard operation
adversarial-frcnn copied to clipboard

received signal SIGFPE, Arithmetic exception

Open fightKK opened this issue 7 years ago • 0 comments

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!

fightKK avatar Feb 04 '18 05:02 fightKK