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

Loss function during training #6

Open
yld1028 opened this issue Jul 20, 2023 · 1 comment
Open

Loss function during training #6

yld1028 opened this issue Jul 20, 2023 · 1 comment

Comments

@yld1028
Copy link

yld1028 commented Jul 20, 2023

Hello,

I hope you’re doing well. I have a question regarding the training process described in your article. I followed the instructions and started training the model, but I noticed that the loss function initially becomes negative instead of positive. I’m not sure if this is expected or if there might be an error in my implementation.

I have carefully reviewed the documentation and double-checked my code, but I haven’t been able to find a solution. Could you please help me understand if a negative loss value at the beginning of the training process is correct or not?

Thank you so much for your time and expertise.

@Tombs98
Copy link
Owner

Tombs98 commented Jul 20, 2023

Hello,

I hope you’re doing well. I have a question regarding the training process described in your article. I followed the instructions and started training the model, but I noticed that the loss function initially becomes negative instead of positive. I’m not sure if this is expected or if there might be an error in my implementation.

I have carefully reviewed the documentation and double-checked my code, but I haven’t been able to find a solution. Could you please help me understand if a negative loss value at the beginning of the training process is correct or not?

Thank you so much for your time and expertise.

In this work, we use PSNR loss following NAFNet. It will get smaller and smaller. You can see megvii-research/NAFNet#48 (comment) for more informations

@Tombs98 Tombs98 mentioned this issue Nov 15, 2023
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