1.更新从 torch-0.4.1到 torch-0.4.1.post2
pip uninstall torch
pip install torch==0.4.1.post2
2.将numpy版本降低/升级到 1.15.0版本
pip uninstall numpy
pip install numpy==1.15.0
之后正常运行了
1.更新从 torch-0.4.1到 torch-0.4.1.post2
pip uninstall torch
pip install torch==0.4.1.post2
2.将numpy版本降低/升级到 1.15.0版本
pip uninstall numpy
pip install numpy==1.15.0
之后正常运行了