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

How to save model during experiment? #45

Open
jzkoh opened this issue Oct 11, 2019 · 0 comments
Open

How to save model during experiment? #45

jzkoh opened this issue Oct 11, 2019 · 0 comments

Comments

@jzkoh
Copy link

jzkoh commented Oct 11, 2019

Hi,

I understand that when we are running the tgan.fit using jupyter, we can save the model by using the code after fitting:

model_path = 'models/mymodel.pkl'
tgan.save(model_path)
Model saved successfully.

However, if I run the experiment in the terminal/command line, how do I save the models for every random hyperparameter search? The purpose is to load the model so that I can regenerate new synthetic data I needed.

Thanks!

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

No branches or pull requests

1 participant