AttributeError: module 'torch' has no attribute 'flip'
运行基于pytorch写的程序时出现"AttributeError: module ‘torch’ has no attribute ‘flip’"的错误提示,修改方法:
将pytorch版本升级到1.0以上即可
运行基于pytorch写的程序时出现"AttributeError: module ‘torch’ has no attribute ‘flip’"的错误提示,修改方法:
将pytorch版本升级到1.0以上即可