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

Fix trial number on RDB storage #87

Merged
merged 2 commits into from
Mar 11, 2020
Merged

Fix trial number on RDB storage #87

merged 2 commits into from
Mar 11, 2020

Conversation

c-bata
Copy link
Owner

@c-bata c-bata commented Mar 11, 2020

No description provided.

@c-bata c-bata added the bug Something isn't working label Mar 11, 2020
Comment on lines +595 to +596
if bestTrial.Value == 0.2 && bestTrial.Number != 2 {
t.Errorf("want Trial(Value=0.2, Number: 2), but got %#v", bestTrial)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number starts from 1 on the current implementation. But Optuna's number starts from 0.

@c-bata c-bata merged commit 5bad401 into master Mar 11, 2020
@c-bata c-bata deleted the fix-trial-number branch March 11, 2020 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant