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

输出图像有问题 #48

Closed
xiaowu2001 opened this issue Feb 27, 2022 · 7 comments
Closed

输出图像有问题 #48

xiaowu2001 opened this issue Feb 27, 2022 · 7 comments

Comments

@xiaowu2001
Copy link

image
这是我的config.py
image
原图
test2 (1)
放大后
2_2x
图片就显示不出来了

@xiaowu2001
Copy link
Author

另外我试了一下release的另一个包RealCUGAN_for_win10_torch1.0.0cu100,模型选up2x-latest-no-denoise,其他参数不变,就可以输出正常的图片。

@lj1995-computer-vision
Copy link
Collaborator

另外我试了一下release的另一个包RealCUGAN_for_win10_torch1.0.0cu100,模型选up2x-latest-no-denoise,其他参数不变,就可以输出正常的图片。

求一发你的显卡型号和系统cuda版本

@lj1995-computer-vision
Copy link
Collaborator

@xiaowu2001 另外试一试,假如是110版本大包+config的half填False,会不会输出黑色的图片?

@xiaowu2001
Copy link
Author

xiaowu2001 commented Feb 27, 2022

显卡是GTX1650,驱动511.09(studio驱动),CUDA版本为11.6.58

@lj1995-computer-vision
Copy link
Collaborator

显卡是GTX1650,驱动511.09(studio驱动),CUDA版本为11.6.58

可能是新版pytorch对旧显卡的支持有问题了。看来我得在首页写上,<20系的显卡建议使用小包。
旧显卡+高版本pytorch不支持半精度推理。

@xiaowu2001
Copy link
Author

@xiaowu2001 另外试一试,假如是110版本大包+config的half填False,会不会输出黑色的图片?

试过了,不用半精度可以正常输出

@xiaowu2001
Copy link
Author

感谢

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