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

set model params consistently on reload #151

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bodiya
Copy link

@bodiya bodiya commented Dec 14, 2023

This PR resolves Issue 148, and ensures that parameters are explicitly set to the same values they would be if a new model had been created.

Apologies for the polluted diff - didn't realize that black had done its magic. The relevant lines are 84-111 in the updated file. Let me know if you'd prefer to leave it unformatted, and I can resubmit with only the relevant lines changed.

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

Successfully merging this pull request may close these issues.

when "file_name + .zip" exists, should "model.n_steps" be ep_length // 8, as small as not exists?
1 participant