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

The results obtained during validation and test are inconsistent #675

Open
dongzhetao opened this issue Apr 23, 2024 · 3 comments
Open

The results obtained during validation and test are inconsistent #675

dongzhetao opened this issue Apr 23, 2024 · 3 comments

Comments

@dongzhetao
Copy link

My validation set and my test set are the same, and when I use the same number of iterations of the network parameters to get my metrics, I find that they get different metrics

@dongzhetao
Copy link
Author

For example, the psnr obtained after 100k validation is different from the psnr obtained when I test the model parameters saved by 100k

@LittleCroaker
Copy link

Hi, bro! I have the same issue too, have u solved it? The dataset is completely consistent and has not been enhanced or shuffled. The functions called by the code are also the same, but I don't know why the test results and validation results are inconsistent

For example, the psnr obtained after 100k validation is different from the psnr obtained when I test the model parameters saved by 100k

@LittleCroaker
Copy link

For example, the psnr obtained after 100k validation is different from the psnr obtained when I test the model parameters saved by 100k

I just solved this problem because the model enabled EMA mode during the training phase, but did not use EMA parameters during the testing phase, resulting in inconsistent validation and testing results. So the solution to the problem is to add "param_key_g: params_ema" to the path field in the yml file being tested

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