inference错误
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,能指导下?
应该是你测试图像分辨率太大了,你试一下在读入图片后先做一个resize把分辨率降低
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,能指导下?
应该是你测试图像分辨率太大了,你试一下在读入图片后先做一个resize把分辨率降低
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,能指导下?
推荐的分辨率是多大?
应该是你测试图像分辨率太大了,你试一下在读入图片后先做一个resize把分辨率降低
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,能指导下?
推荐的分辨率是多大?
推荐分辨率的话,针对去模糊任务,一般来说原始分辨率测试即可,如果超过支持的上限就下采样到能支持的最大分辨率。因为去模糊任务测试的TDD数据分辨率比较小,所以去模糊任务的前向部分我没有加上分辨率限制,根据我之前的测试,48G的显存测最高1600x1600是没问题的,所以你可以在前向上加上这个分辨率限制。