摘要: pytorch中,出现的错误: return torch._C._nn.cross_entropy_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index, label_smoothing) expected 阅读全文
posted @ 2023-01-07 21:23 __sunshine 阅读(325) 评论(0) 推荐(0) 编辑
摘要: # !pip install matplotlib==3.0.0 import matplotlib.pyplot as plt z = [] # 生成数据 for i in range(50): z.append(random.randint(-100, 100)) plt.title('hell 阅读全文
posted @ 2023-01-07 16:37 __sunshine 阅读(16) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示