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

Traceback (most recent call last): File "train.py", line 185, in <module> psnr_val_rgb = torch.stack(psnr_val_rgb).mean().item() RuntimeError: stack expects a non-empty TensorList #42

Open
luanqi123 opened this issue Sep 16, 2022 · 5 comments

Comments

@luanqi123
Copy link

luanqi123 commented Sep 16, 2022

捕获

训练模型训练到一半时报这个错误,不知道作者有没有遇到过?

@luanqi123
Copy link
Author

是不是我数据集整理的格式不太正确

@luanqi123
Copy link
Author

psnr_val_rgb这个变量好像是空

@INVOKERer
Copy link
Owner

这种情况可能是val的路径有误

@luanqi123
Copy link
Author

解决了 谢谢作者 还有一个问题 你这个模型训练最后的loss降到多少呀,我这里降低到50以后,就不往下掉了

@INVOKERer
Copy link
Owner

实验时主要会看验证集的PSNR,loss的大小已经记不得了。

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