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

Is this only works for Feed Forward? #1

Open
ceste opened this issue Apr 3, 2018 · 2 comments
Open

Is this only works for Feed Forward? #1

ceste opened this issue Apr 3, 2018 · 2 comments

Comments

@ceste
Copy link

ceste commented Apr 3, 2018

Hi,

Thank you for providing this awesome library. I gave it a try to my CNN model and it did not work well. Is this only works for Feed Forward model?

Please advise

@surmenok
Copy link
Owner

No, it should work for different kinds of neural networks, including CNN. This approach was tried on fully connected networks, CNN and LSTM.

@tarasivashchuk
Copy link
Contributor

tarasivashchuk commented Oct 16, 2019

This will work for Model object (keras.models.Model or tf.keras.models.Model) as long as the optimizer function used when compiling the model has a "learning_rate" parameter.

Actually, I just checked the code for this repo and it uses "lr", which is technically the same in the Keras source code, but only supported for the sake of backwards compatibility. The recommended usage "learning_rate", and I will refactor that and make a pull request after I'm done with this comment. 😄

So you could even a multi-input model with a CNN, an RNN, and a Feed-Forward network within one model and use this - the model doesn't matter. I would recommend learning a bit more about how this works and the corresponding login.

Here are some resources you could look over:
"How to Use the Learning Rate Finder in TensorFlow" by Ashwath Salimath
Learning Rate Finder Documentation from Fast.ai

Also, I'm not sure how, but this issue should be closed.

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

3 participants