Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

损失函数问题 #2

Open
YWG0037 opened this issue Feb 19, 2023 · 1 comment
Open

损失函数问题 #2

YWG0037 opened this issue Feb 19, 2023 · 1 comment

Comments

@YWG0037
Copy link

YWG0037 commented Feb 19, 2023

您好 请问您复现的使用pix损失函数代替了mae损失函数吗

@chenzpstar
Copy link
Owner

同学你好,是的,PixelLoss() 就是计算输入图像和输出图像之间的强度损失,mode='l1' 为 L1 损失(MAE 损失),mode='l2' 为 L2 损失(MSE 损失)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants