AttributeError: module 'torch._six' has no attribute 'PY3'

修改:进到torch._six源码,看看里面是PY的哪个对象,修改成这对象名试试

_six.py

 即将PY3修改为PY37

过去已逝,未来太远,只争今朝
原文地址:https://www.cnblogs.com/BlogLwc/p/15663776.html