摘要: 1 导入包 import torch import torch.nn as nn import numpy as np import torchvision import torchvision.transforms as transforms import matplotlib.pyplot as 阅读全文
posted @ 2022-03-09 10:17 多发Paper哈 阅读(559) 评论(0) 推荐(1) 编辑
摘要: 1 nn.L1Loss torch.nn.L1Loss(reduction='mean') 就是 MAE(mean absolute error),计算公式为 $\ell(x, y)=L=\left\{l_{1}, \ldots, l_{N}\right\}^{\top}, \quad l_{n}= 阅读全文
posted @ 2022-03-09 09:21 多发Paper哈 阅读(360) 评论(0) 推荐(0) 编辑
Live2D