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

如何查看重建图像 #125

Open
shui-tian-ju-shi opened this issue Nov 21, 2024 · 0 comments
Open

如何查看重建图像 #125

shui-tian-ju-shi opened this issue Nov 21, 2024 · 0 comments

Comments

@shui-tian-ju-shi
Copy link

作者您好!我想查看模型训练完之后自我重建和交叉重建的图像效果。
我在train.py中加入了两行代码以加载训练好的模型。
image
我执行train.py文件,将网络预测的predictions['recontruction_imgs']里的四个值转化为rgb图像,使用utils包进行转换
from torchvision.utils import save_image

得到的重建图像有些异常
image
image

我不知道是什么原因导致的,预训练模型加载失败或者其他的什么原因,衷心地希望能得到您的建议,或者您能否分享一下代码?

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