You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ✓] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.
[ ✓] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps
[ ✓] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
I am using Keras to build a convnet to perform a classification task on a set of medical images. There are two classes. When I run the network, the network runs but the loss and accuracy is really strange. The loss almost always increases, with the accuracy fluctuating wildly. My code is shown below
This looks like a problem with the learning rate.
Try 0.01, 0.001, 0.0001, and see if any of those cause the loss to drop. Otherwise, it could be a problem with your data-set.
Thanks for the reply. I also thought it was a problem with the learning rate and have tried changing it, but no such luck. When you say it is a problem with the dataset, could you please elaborate?
So I just meant that sometimes it can be beneficial to go through a sample of the data to make sure it's what you expect it to be.
The dropout looks quite high -- first try removing the dropout altogether and see if the model is able to fit the training data well. If it does, then reduce the dropout to a range between 20 and 50.
[ ✓] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.
[ ✓] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps
[ ✓] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
I am using Keras to build a convnet to perform a classification task on a set of medical images. There are two classes. When I run the network, the network runs but the loss and accuracy is really strange. The loss almost always increases, with the accuracy fluctuating wildly. My code is shown below
I have also attached a screenshot of the loss and accuracy during the training.
![screenshot from 2017-01-29 20 06 32](https://cloud.githubusercontent.com/assets/16043231/22404816/77e5f908-e65e-11e6-95f1-e43dc88857cc.png)
The text was updated successfully, but these errors were encountered: