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

Parameter tuning #5

Open
junwei-pan opened this issue Sep 12, 2016 · 4 comments
Open

Parameter tuning #5

junwei-pan opened this issue Sep 12, 2016 · 4 comments

Comments

@junwei-pan
Copy link
Contributor

junwei-pan commented Sep 12, 2016

Which parameter set do you use for those results on the souldcloud? I use the following parameters and the result music is not so good, show I increase the number of epochs?

maxlen = 128 # Max input length
num_hidden_units = 10 # Number of hidden units of LSTM
step = 8
num_char_pred = 17 * 30 # Number of predicted char
num_layers = 2
num_epoch = 30
batch_size = 128
diversity = 0.9

Here is the code, thanks a lot.

@keunwoochoi
Copy link
Owner

My code has every parameter as I used.
I think you should vary diversity like 0.8, 0.9, 1.0, 1.1, 1.2 and increase num_hidden_units. Given the vocabulary size, 10 seems quite too small.

@junwei-pan
Copy link
Contributor Author

Actually I use 128 for the num_hidden_units. How many epochs do you think I should use? Is 30 too small?

@keunwoochoi
Copy link
Owner

keunwoochoi commented Sep 13, 2016

30 seems fine. On the soundcloud, LSTMetallica Drums - 10 - 30, 0.50 means 30 epochs and 0.50 diversity. But it would be worth running more than 30.

@junwei-pan
Copy link
Contributor Author

OK, I see. I will try more diversities as you suggested.

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

2 participants