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

Too low accuracy in evaluation #219

Open
fukui-kentaroh opened this issue Apr 17, 2021 · 3 comments
Open

Too low accuracy in evaluation #219

fukui-kentaroh opened this issue Apr 17, 2021 · 3 comments

Comments

@fukui-kentaroh
Copy link

When I run the code in Google Colab, the accuracy in training is over 90%, but the accuracy in evaluation is much lower. The output looks as follows.

 ---- batch: 550 ----
mean loss: 0.154208
accuracy: 0.943750
 ---- batch: 600 ----
mean loss: 0.160189
accuracy: 0.946250
2021-04-07 06:03:49.119485
---- EPOCH 250 EVALUATION ----
eval mean loss: 7361.237774
eval accuracy: 0.062399
eval avg class acc: 0.048500

Does anyone know the cause?
By the way, the version of Python in Colab is 3.7.10 and the version of Tensorflow is 2.4.1, so I made some changes to absorb the difference between the versions.

@pratibhashinde
Copy link

Hi,

I am also getting very low accuracy for evaluation. Did you manage to solve it? Can anyone help?

Thanks.

@elenacliu
Copy link

Are the labels in your dataset correct?

@lisj575
Copy link

lisj575 commented Dec 5, 2023

Maybe you can check the batch_normalizaiton function you use

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