Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test error #65

Open
azhaoaigaga opened this issue Jul 4, 2019 · 2 comments
Open

Test error #65

azhaoaigaga opened this issue Jul 4, 2019 · 2 comments

Comments

@azhaoaigaga
Copy link

python test_video.py --arch BNInception --dataset something --weights pretrain/TRN_something_RGB_BNInception_TRNmultiscale_segment8_best.pth.tar --fr
ame_folder E:\BaiduNetdiskDownload\TRN-pytorch\sample_data\sample_data\juggling_frames
Test error:Traceback (most recent call last):
File "test_video.py", line 137, in
logits = net(input)
File "D:\Anaconda\lib\site-packages\torch\nn\modules\module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "E:\BaiduNetdiskDownload\TRN-pytorch\models.py", line 228, in forward
base_out = base_out.view((-1, self.num_segments) + base_out.size()[1:])
RuntimeError: shape '[-1, 8, 256]' is invalid for input of size 15360

What Would l Do,thanks!

@YIYANGCAI
Copy link

Same problem, did you solve this problem?

1 similar comment
@YamabukiKasumi
Copy link

Same problem, did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants