Skip to content

Dev.update #22

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Dev.update #22

wants to merge 4 commits into from

Conversation

tiberiu44
Copy link
Contributor

This update solves breaking changes from numpy and torch and releases updated pre-trained models to work with the new torch versions.

@@ -256,7 +256,7 @@ def _start_train(params):
model.to(params.device)
if params.resume:
model.load('{0}.last'.format(params.output_base))
optimizer = torch.optim.Adam(model.parameters())
optimizer = torch.optim.Adam(model.parameters(), lr=1e-4)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe the learning rate should be specified in params, with a default value

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.

2 participants