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

Tip: increase your max_iter #34

Open
sei-cabidi opened this issue Aug 11, 2023 · 1 comment
Open

Tip: increase your max_iter #34

sei-cabidi opened this issue Aug 11, 2023 · 1 comment

Comments

@sei-cabidi
Copy link

If your ECE is going up, try simply increasing max_iter on line 60 of temperature_scaling.py
before: optimizer = optim.LBFGS([self.temperature], lr=0.01, max_iter=50)
after: optimizer = optim.LBFGS([self.temperature], lr=0.01, max_iter=100)

@MengyuanChen21
Copy link

It does not work for me, whatever the max_iter is.

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