MetaR-CNN icon indicating copy to clipboard operation
MetaR-CNN copied to clipboard

error during test on phase 1

Open mandal4 opened this issue 5 years ago • 1 comments

Thx to your released code. Unfortunately i countered an error test on phase 1 (for base class) line 332, in inds = torch.nonzero(scores[:, j] > thresh).view(-1) IndexError: index 16 is out of range for dimension 1 (of size 16)

I guess 'scores' tensor have shape such as [15,~,~...] but the code access this tensor with index 16. Is there bug in a code..?

mandal4 avatar Nov 29 '19 05:11 mandal4

In the first phase, the length of mean class attentions is 15.

yanxp avatar Dec 06 '19 02:12 yanxp