The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors.
UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data
原创
2021-10-07 11:21:12 ·
4349 阅读 ·
0 评论