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 pass TGANModel hyper parameters as a dictionary #55

Open
afshinmarani opened this issue Apr 28, 2020 · 0 comments
Open

How to pass TGANModel hyper parameters as a dictionary #55

afshinmarani opened this issue Apr 28, 2020 · 0 comments

Comments

@afshinmarani
Copy link

afshinmarani commented Apr 28, 2020

I am using TGAN to synthesize new data based on an exclusive dataset. I want to tune the TGAN model using a Bayesian approach by means of "hyperopt" library. For this purpose, I need run the TGAN model while the hyperparameters are passed as a dictionary such as below:

tgan = TGANModel(continuous_columns, params, max_epoch=4, steps_per_epoch= 100, batch_size=16, restore_session=False)

where params is a dictionary including some hyperparameters:
params = {'learning_rate': 0.002,
'z_dim': 50}
Is there anyway I can pass the hyperparameters using such a dictionary as an argument in the TGANModel function? Should I use JSON file for this purpose? If yes, could you please help me how?

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