-
Notifications
You must be signed in to change notification settings - Fork 110
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
bug in running resnet50rnn #13
Comments
the platform is : |
I have solved it! |
@chanajianyu Hi,I run the resnetrnn model with torch 0.4, torchvision 0.2 , but got this error: I am using CUDA 9.0 what can be done to solve the problem? Thx |
@chanajianyu hi 四月,你是怎么解决这个问题的?我也遇到了 |
Traceback (most recent call last):
File "main_video_person_reid.py", line 290, in
main()
File "main_video_person_reid.py", line 158, in main
model = nn.DataParallel(model).cuda()
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/nn/modules/module.py", line 216, in cuda
return self._apply(lambda t: t.cuda(device))
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/nn/modules/module.py", line 146, in _apply
module._apply(fn)
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/nn/modules/module.py", line 146, in _apply
module._apply(fn)
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/nn/modules/rnn.py", line 123, in _apply
self.flatten_parameters()
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/nn/modules/rnn.py", line 111, in flatten_parameters
params = rnn.get_parameters(fn, handle, fn.weight_buf)
File "/home/wjw/opt/anaconda3/envs/pytorch3/lib/python2.7/site-packages/torch/backends/cudnn/rnn.py", line 165, in get_parameters
assert filter_dim_a.prod() == filter_dim_a[0]
AssertionError
The text was updated successfully, but these errors were encountered: