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.
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!