-
Notifications
You must be signed in to change notification settings - Fork 43
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
inference错误 #24
Comments
应该是你测试图像分辨率太大了,你试一下在读入图片后先做一个resize把分辨率降低
|
推荐的分辨率是多大? |
推荐分辨率的话,针对去模糊任务,一般来说原始分辨率测试即可,如果超过支持的上限就下采样到能支持的最大分辨率。因为去模糊任务测试的TDD数据分辨率比较小,所以去模糊任务的前向部分我没有加上分辨率限制,根据我之前的测试,48G的显存测最高1600x1600是没问题的,所以你可以在前向上加上这个分辨率限制。 |
RuntimeError: Expected canUse32BitIndexMath(input) && canUse32BitIndexMath(output) to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)
感谢大佬分享代码,跑inference的时候报错,使用input下面的图片,task是deblur,能指导下?
The text was updated successfully, but these errors were encountered: