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

Incorrect steps saved with successive model checkpointing #14

Open
hayesall opened this issue Dec 14, 2021 · 0 comments
Open

Incorrect steps saved with successive model checkpointing #14

hayesall opened this issue Dec 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@hayesall
Copy link
Member

hayesall commented Dec 14, 2021

Running from a checkpoint doesn't properly save the stepsize array to the resulting model file.

For example, learning and checkpointing three times:

-trees 3 // Checkpoint the model
-trees 4 // Checkpoint the model
-trees 5 // Checkpoint the model

Results in:

5
cancer
[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
-1.8
cancer

i.e., a merge occurs instead of an override:

# Length 3 + Length 4 + Length 5
[1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0]
@hayesall hayesall added the bug Something isn't working label Dec 14, 2021
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

No branches or pull requests

1 participant