Skip to content

Enable to download checkpoint from url for inference#127

Closed
georgeyiasemis wants to merge 6 commits intomainfrom
cfg-model-from-url
Closed

Enable to download checkpoint from url for inference#127
georgeyiasemis wants to merge 6 commits intomainfrom
cfg-model-from-url

Conversation

@georgeyiasemis
Copy link
Copy Markdown
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