摘要: 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 别关注我了,私信我吧 阅读(602) 评论(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 别关注我了,私信我吧 阅读(581) 评论(0) 推荐(0)
Live2D