Skip to content

what's real critertion in main.py? #61

@zhizhengyan

Description

@zhizhengyan

Dear Sir,
    I find some contradictions in your code about main.py file that confused me. Thus, I wanna to verify this question.
In L125, you declare critertion=nn.L1Loss(),
7c82bd019f47fac9a29dbaa563a6ae6

But according to psnr formula, we must get mse value that is L2Loss(MSELoss). Your code L87 using L1Loss to compute mse, is it mae?

f4d50c403512bf4877a998574528bfc
    looking foward to hearing from you interpretation. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions