Skip to content

Accept encoder & hparams as arguments to generate#173

Open
bloodpet wants to merge 2 commits into
minimaxir:masterfrom
bloodpet:master
Open

Accept encoder & hparams as arguments to generate#173
bloodpet wants to merge 2 commits into
minimaxir:masterfrom
bloodpet:master

Conversation

@bloodpet

Copy link
Copy Markdown

This is to allow calling generate w/o reading the models again.

The 1st commit is just for formatting (using black).
The 2nd commit is where i added:

  • the arguments enc & hparams to generate; and
  • the functions: get_checkpoint_path, get_encoder & get_hparams to be able to get those separately.

This is to allow calling generate w/o reading the models again
Create different functions for:
 - get_checkpoint_path
 - get_encoder
 - get_hparams
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.

1 participant