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

Issue in running #13

Closed
nabi-rony opened this issue Jun 11, 2022 · 1 comment
Closed

Issue in running #13

nabi-rony opened this issue Jun 11, 2022 · 1 comment

Comments

@nabi-rony
Copy link

nabi-rony commented Jun 11, 2022

nit.constant(self.weight,self.gamma)
Finished loading model!
Traceback (most recent call last):
File "C:\Users\fi42\Rony\AL-MDN\eval_voc.py", line 439, in
mean_ap = test_net(args.save_folder, net, args.cuda, dataset,
File "C:\Users\fi42\Rony\AL-MDN\eval_voc.py", line 385, in test_net
detections = net(x).data
File "C:\Users\fi42\anaconda3\envs\ACT\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\fi42\anaconda3\envs\ACT\lib\site-packages\torch\nn\parallel\data_parallel.py", line 166, in forward
return self.module(*inputs[0], **kwargs[0])
File "C:\Users\fi42\anaconda3\envs\ACT\lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\fi42\Rony\AL-MDN\ssd_gmm.py", line 272, in forward
output = self.detect(
File "C:\Users\fi42\anaconda3\envs\ACT\lib\site-packages\torch\autograd\function.py", line 150, in call
raise RuntimeError(
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)

Can you let me know what exact version of pytorch, python , cuda, you used? I tried several but got this error?

@jwchoi384
Copy link
Contributor

Hello @nabi-rony
We used pytorch 1.1, python 3.6, CUDA 10.1.

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

2 participants