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

Accuracy report on CPC #4

Open
pribadihcr opened this issue Jun 10, 2019 · 4 comments
Open

Accuracy report on CPC #4

pribadihcr opened this issue Jun 10, 2019 · 4 comments

Comments

@pribadihcr
Copy link

Hi @davidtellez,
In the readme you report the accuracy of CPC is 99%. But I got ~50%.
Here my log:

poch 1/10
390/390 [==============================] - 189s 484ms/step - loss: 0.6947 - binary_accuracy: 0.5042 - val_loss: 0.6930 - val_binary_accuracy: 0.5204
Epoch 2/10
390/390 [==============================] - 170s 436ms/step - loss: 0.6945 - binary_accuracy: 0.5002 - val_loss: 0.6941 - val_binary_accuracy: 0.4912
Epoch 3/10
390/390 [==============================] - 171s 438ms/step - loss: 0.6939 - binary_accuracy: 0.4999 - val_loss: 0.6928 - val_binary_accuracy: 0.5144
Epoch 4/10
390/390 [==============================] - 174s 447ms/step - loss: 0.6938 - binary_accuracy: 0.5010 - val_loss: 0.6946 - val_binary_accuracy: 0.4980
Epoch 5/10
390/390 [==============================] - 176s 451ms/step - loss: 0.6942 - binary_accuracy: 0.5050 - val_loss: 0.6932 - val_binary_accuracy: 0.5016
Epoch 6/10
390/390 [==============================] - 177s 455ms/step - loss: 0.6933 - binary_accuracy: 0.4986 - val_loss: 0.6933 - val_binary_accuracy: 0.5016
Epoch 7/10
390/390 [==============================] - 180s 460ms/step - loss: 0.6932 - binary_accuracy: 0.5057 - val_loss: 0.6938 - val_binary_accuracy: 0.4980
Epoch 8/10
390/390 [==============================] - 179s 459ms/step - loss: 0.6931 - binary_accuracy: 0.5083 - val_loss: 0.6933 - val_binary_accuracy: 0.5084
Epoch 9/10
390/390 [==============================] - 175s 448ms/step - loss: 0.6932 - binary_accuracy: 0.4938 - val_loss: 0.6932 - val_binary_accuracy: 0.5068
Epoch 10/10
390/390 [==============================] - 177s 455ms/step - loss: 0.6932 - binary_accuracy: 0.5030 - val_loss: 0.6929 - val_binary_accuracy: 0.5176

@davidtellez
Copy link
Owner

Hi! That is strange. I have just cloned the repository, run it, and I am able to get 0.99 within 10 epochs:

loss: 0.0434 - binary_accuracy: 0.9854 - val_loss: 0.0205 - val_binary_accuracy: 0.9944

Maybe you were unlucky with the random initialization, try to re-run it a few times. You can play with the hyperparameters as well, it should work eventually!

@pribadihcr
Copy link
Author

yeah you are right. I re-run it a few times, and I got ~0.99 accuracy. Thanks

@Student-HXJ
Copy link

yeah you are right. I re-run it a few times, and I got ~0.99 accuracy. Thanks

Hi, I got the same problem!
Did you just re-run it few times solved this problem?
Have you change any parameters?

@wyhsirius
Copy link

yeah you are right. I re-run it a few times, and I got ~0.99 accuracy. Thanks

Hi,I met the same problem! Did you change anything ?

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

4 participants