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

Optimization problem when training SEAM from scratch #12

Closed
Angusky opened this issue Jul 24, 2020 · 3 comments
Closed

Optimization problem when training SEAM from scratch #12

Angusky opened this issue Jul 24, 2020 · 3 comments

Comments

@Angusky
Copy link

Angusky commented Jul 24, 2020

Hi, firstly thank you for releasing the code, I've successfully reproduced part of the result by using the provided weights.

However, when I tried to train SEAM from scratch (not using any pretrained weights), it seems ER loss easily goes down to 0 and ECR loss just cannot go down, then the model cannot improve anymore. I've tried to increase the loss weight of ECR loss but the outcome is still the same.
Could you provide more details or suggestions on how you train SEAM without pretrained weights?

Thanks!

@YudeWang
Copy link
Owner

Hi @Angusky ,

Maybe increase the weight of classificaiton loss will be helpful. The classificaiton loss guides the network to preserve the basic shape of CAM, while the ER and ECR loss will revise the basic shape to a better result.

@Angusky
Copy link
Author

Angusky commented Jul 24, 2020

Hi @Angusky ,

Maybe increase the weight of classificaiton loss will be helpful. The classificaiton loss guides the network to preserve the basic shape of CAM, while the ER and ECR loss will revise the basic shape to a better result.

Thanks for your quick reply, I will try that. May I ask did you encounter similar optimization problem in your training?

@YudeWang
Copy link
Owner

Thanks for your quick reply, I will try that. May I ask did you encounter similar optimization problem in your training?

The similar optimization problem may appear in revised CAM if ECR loss is not set correctly.

@YudeWang YudeWang closed this as completed Nov 5, 2020
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