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

跑模型时出现问题 #9

Open
nishi123 opened this issue Nov 6, 2018 · 0 comments
Open

跑模型时出现问题 #9

nishi123 opened this issue Nov 6, 2018 · 0 comments

Comments

@nishi123
Copy link

nishi123 commented Nov 6, 2018

您好,我在跑您的网络时出现了这种错误(我的环境是python3.5,pytorch 0.4.1)
File "main.py", line 20, in
trainer.train()
File "/opt/share0/luchen/MGN/MGN-pytorch-master/trainer.py", line 49, in train
loss = self.loss(outputs, labels)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/opt/share0/luchen/MGN/MGN-pytorch-master/loss/init.py", line 70, in forward
self.log[-1, i] += effective_loss.item()
RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generic/THCStorage.c:36

辛苦您帮忙解答一下,谢谢!

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

1 participant