AttributeError: module ‘numpy‘ has no attribute ‘int‘.

问题:
AttributeError: module ‘numpy‘ has no attribute ‘int‘.

解决方法:
简单方法:
pip install numpy==1.23.0 版本再高的一些就会报上面的错误

你可能感兴趣的:(python,pytorch)