-
Notifications
You must be signed in to change notification settings - Fork 47
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
如何推理 #98
Comments
你好,推理时直接将HQ设置为None就可以了。 |
AssertionError: None is not a valid directory |
我在test.py里把need_GT 直接设置为False,但是还是没法直接推理。然后我设置need_GT为false,设置dataroot_GT和dataroot_LQ一样,但是却返回cuda out of memory.. |
这应该是图像太大了显存不够,你可以试试用小一点的图像呢或者resize到小尺寸推理后再resize回去。 |
好的!已经解决了,谢谢您。但是把need_GT设置为false以及dataroot_GT设置为None都没用,还是会报路径不能为None的问题 |
如果只想推理的话,可以参考这个inference代码哈 |
作者您好,感谢提供代码!
我想请问一下如何输入一个LQ获得HQ呢?
The text was updated successfully, but these errors were encountered: