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

Enable to download checkpoint from url for inference #127

Closed
wants to merge 6 commits into from

Conversation

georgeyiasemis
Copy link
Contributor

Main changes:

  • DefaultConfig allows for checkpoint_url input. Should be a url that downloads model weights that match with the model configuration in the DefaultConfig
  • If url does not correspont to a torch state_dict this will throw an error and exit.
  • If --checkpoint <checkpoint_num> is passed in the predict_val.py and predict_test.py whilist checkpoint_url is not null, --checkpoint <checkpoint_num> will be ignored

@georgeyiasemis georgeyiasemis linked an issue Oct 22, 2021 that may be closed by this pull request
2 tasks
@georgeyiasemis georgeyiasemis changed the title Enable to download checkpoint from url from inference Enable to download checkpoint from url for inference Oct 22, 2021
@georgeyiasemis georgeyiasemis added the enhancement Improvement of existing feature label Oct 22, 2021
@georgeyiasemis georgeyiasemis deleted the cfg-model-from-url branch December 13, 2021 11:15
@georgeyiasemis georgeyiasemis restored the cfg-model-from-url branch December 13, 2021 14:53
@georgeyiasemis georgeyiasemis deleted the cfg-model-from-url branch December 13, 2021 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant