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

How to calculate accuracy during training? #366

Open
sachinkmohan opened this issue Nov 10, 2020 · 2 comments
Open

How to calculate accuracy during training? #366

sachinkmohan opened this issue Nov 10, 2020 · 2 comments

Comments

@sachinkmohan
Copy link

How to calculate accuracy during training?

I tried the below in the code in ssd7_training.ipynb file and didn't work. Any help would be awesome!

model.compile(optimizer=adam, loss=ssd_loss.compute_loss, metrics=['accuracy'])

    * Operating System - Ubuntu 18.04
    * Keras version - 2.2.5
    * TensorFlow version - TF 1.14
@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 19, 2020
@Lucky2593
Copy link

This is a regression problem, I think that's why we only can get a loss for the problem.

NOTE: You can add the following line :-
model.compile(optimizer=sgd,loss=ssd_loss.compute_loss, metrics=[tf.keras.metrics.Accuracy()])
But you will get accuracy as "00+e00".(because it's a regression problem.)

@stale stale bot removed the stale label Apr 28, 2021
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