Fewshot_Detection icon indicating copy to clipboard operation
Fewshot_Detection copied to clipboard

IndexError: The shape of the mask [845] at index 0 does not match the shape of the indexed tensor [5, 13, 13] at index 0

Open zoufeng2416 opened this issue 3 years ago • 4 comments

When I run the train_meta.py . I meet this error .if anyone can help me?

zoufeng2416 avatar Apr 13 '21 13:04 zoufeng2416

got same error

MartinYYYYan avatar Sep 09 '21 15:09 MartinYYYYan

When I run the train_meta.py . I meet this error .if anyone can help me? @zoufeng2416 try this code on line70 conf_mask[b][torch.reshape(cur_ious, (nA, nH, nW)) > sil_thresh] = 0

MartinYYYYan avatar Sep 09 '21 15:09 MartinYYYYan

When I run the train_meta.py . I meet this error .if anyone can help me? @zoufeng2416 try this code on line70 conf_mask[b][torch.reshape(cur_ious, (nA, nH, nW)) > sil_thresh] = 0

赞赞赞

HeuristicLU avatar Mar 13 '23 12:03 HeuristicLU

Thank you. Now i don't use this code.

---Original--- From: @.> Date: Mon, Mar 13, 2023 20:26 PM To: @.>; Cc: @.@.>; Subject: Re: [bingykang/Fewshot_Detection] IndexError: The shape of the mask[845] at index 0 does not match the shape of the indexed tensor [5, 13, 13] atindex 0 (#61)

When I run the train_meta.py . I meet this error .if anyone can help me? @zoufeng2416 try this code on line70 conf_mask[b][torch.reshape(cur_ious, (nA, nH, nW)) > sil_thresh] = 0

赞赞赞

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

zoufeng2416 avatar Mar 13 '23 14:03 zoufeng2416