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

训练过程遇到问题 #16

Open
Jingranxia opened this issue Nov 6, 2024 · 0 comments
Open

训练过程遇到问题 #16

Jingranxia opened this issue Nov 6, 2024 · 0 comments

Comments

@Jingranxia
Copy link

作者您好,我使用Blender软件修改了您的blend文件,改动了合成物品和相机视角, 然后我把相机到原点的距离从0.5-0.95 设置为0.5-1.5 这样会导致下面的错误吗,训练的时候返回 损失函数nan值

File "/home/DREDS/SwinDRNet/trainer.py", line 735, in train
self.loss_train_iter.backward()
File "/home/.conda/envs/DREDS/lib/python3.8/site-packages/torch/tensor.py", line 221, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/.conda/envs/DREDS/lib/python3.8/site-packages/torch/autograd/init.py", line 130, in backward
Variable._execution_engine.run_backward(
RuntimeError: Function 'DivBackward0' returned nan values in its 0th output.

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