运行基于pytorch写的程序时出现"AttributeError: module ‘torch’ has no attribute ‘flip’"的错误提示,修改方法:
将pytorch版本升级到1.0以上即可
AttributeError: module 'torch' has no attribute 'flip'
最新推荐文章于 2024-04-15 20:22:18 发布
运行基于pytorch写的程序时出现"AttributeError: module ‘torch’ has no attribute ‘flip’"的错误提示,修改方法:
将pytorch版本升级到1.0以上即可