- 博客(84)
- 收藏
- 关注
原创 Python报错:IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in
Python报错:IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in
2023-08-08 10:36:16
1330
原创 Python报错:RuntimeError: The ‘data‘ object was created by an older version of PyG.
Python报错:RuntimeError: The 'data' object was created by an older version of PyG.
2023-07-31 17:03:27
2217
5
原创 PyTorch:Dropout 操作 torch.nn.Dropout()
PyTorch:Dropout 操作 torch.nn.Dropout()
2023-01-05 17:38:31
2504
原创 pytorch拼接函数:torch.stack()和torch.cat()详解
pytorch拼接函数:torch.stack()和torch.cat()详解
2023-01-04 17:25:13
4370
原创 Python将张量tensor/列表list/numpy array/字典dict 保存到本地
Python将张量tensor/列表list/numpy array/字典dict 保存到本地
2023-01-04 17:04:32
977
原创 python reshape函数参数-1(X.reshape(X.shape[0], -1).T)
python reshape函数参数-1(X.reshape(X.shape[0], -1).T)
2023-01-04 16:52:52
825
原创 Python报错:TypeError: load() missing 1 required positional argument: ‘Loader‘
Python报错:TypeError: load() missing 1 required positional argument: ‘Loader‘
2023-01-04 16:42:55
1045
原创 sklearn中精确率、召回率及F1值得micro,macro及weighted算法
sklearn中精确率、召回率及F1值得micro,macro及weighted算法
2023-01-04 16:23:28
1176
原创 yaml.constructor.ConstructorError: could not determine a constructor for the tag ‘tag:yaml.org,2
yaml.constructor.ConstructorError: could not determine a constructor for the tag ‘tag:yaml.org,2
2023-01-04 15:52:43
1130
原创 AttributeError: ‘list‘ object has no attribute ‘shape‘
AttributeError: 'list' object has no attribute 'shape'
2023-01-03 20:04:40
4966
原创 InvalidIndexError: (slice(None, None, None), None)
InvalidIndexError: (slice(None, None, None), None)
2023-01-03 20:04:33
2413
原创 理解F.dropout 和nn.ReLU(inplace=True)中inplace的作用
理解F.dropout 和nn.ReLU(inplace=True)中inplace的作用
2023-01-03 20:04:14
2234
原创 ipykernel_launcher.py: error: unrecognized arguments: -f /home/
ipykernel_launcher.py: error: unrecognized arguments: -f /home/
2023-01-03 20:03:43
1643
原创 TypeError: can‘t convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory
TypeError: can‘t convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory
2023-01-03 20:03:38
546
原创 RuntimeError: one of the variables needed for gradient computation has been modified by an inplace
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace
2023-01-03 20:03:26
296
原创 LaTeX—将论文模板的关键词从Index Terms 改为Keywords
LaTeX—将论文模板的关键词从Index Terms 改为Keywords
2023-01-03 20:02:52
1555
原创 ValueError: Object arrays cannot be loaded when allow_pickle=False
ValueError: Object arrays cannot be loaded when allow_pickle=False
2023-01-02 13:47:42
255
原创 TypeError: loop of ufunc does not support argument 0 of type str which has no callable log method
TypeError: loop of ufunc does not support argument 0 of type str which has no callable log method
2023-01-02 13:42:47
819
原创 Python报错can‘t convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first
Python报错can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first
2023-01-02 13:40:31
1706
原创 Python报错:ValueError: too many values to unpack
Python报错:ValueError: too many values to unpack
2023-01-02 13:16:38
2513
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人