Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils'
pip uninstall torch
会把0.1.2版本也卸载了
pip install torch-0.4.0-cp36-cp36m-win_amd64.whl
找不到函数nn.Upsample,也是这个问题
nn.Upsample(scale_factor=2, mode='nearest')
Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils'
pip uninstall torch
会把0.1.2版本也卸载了
pip install torch-0.4.0-cp36-cp36m-win_amd64.whl
找不到函数nn.Upsample,也是这个问题
nn.Upsample(scale_factor=2, mode='nearest')