Skip to content

About PSNR Evaluation  #7

@jimleungjing

Description

@jimleungjing

Hi, thanks for sharing your source code and CLWD dataset.
I train your model from scratch on CLWD dataset. When I test the well-trained model, I find something wrong with your evaluation code. The default return format of imread in opencv is unsigned int8, so that it will lead to numeric overflow problem when you compute the psnr directly, in which it involves the subtraction operation. I think it should be converted to int32 or float32 before computing the psnr score.

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