PersonReID-NAFS icon indicating copy to clipboard operation
PersonReID-NAFS copied to clipboard

RuntimeError: shape '[-1, 2, 768]' is invalid for input of size 33024

Open liuliu408 opened this issue 3 years ago • 1 comments

Please, what is the reason for this? File "/home/bobo/E/xxx/paper4_reid_2021/PersonReID-NAFS-main/models/model.py", line 76, in forward local_text_feat = local_text_feat.view(-1, n_sep, local_text_feat.size(1)) RuntimeError: shape '[-1, 2, 768]' is invalid for input of size 33024

liuliu408 avatar Aug 11 '21 02:08 liuliu408

Please, what is the reason for this? File "/home/bobo/E/xxx/paper4_reid_2021/PersonReID-NAFS-main/models/model.py", line 76, in forward local_text_feat = local_text_feat.view(-1, n_sep, local_text_feat.size(1)) RuntimeError: shape '[-1, 2, 768]' is invalid for input of size 33024

Hi, I have also encountered this problem, have you solved it? Thank you!

Video-AD avatar Apr 23 '22 12:04 Video-AD