最近复现的VSR代码需要用到torch0.4 但是依然报错AttributeError: ‘module’ object has no attribute ‘interpolate’,查找答案后发现这个问题只要把对应报错代码处的interpolate替换成upsample就可以了.
AttributeError: ‘module‘ object has no attribute ‘interpolate‘
最新推荐文章于 2024-05-31 17:12:32 发布
最近复现的VSR代码需要用到torch0.4 但是依然报错AttributeError: ‘module’ object has no attribute ‘interpolate’,查找答案后发现这个问题只要把对应报错代码处的interpolate替换成upsample就可以了.