tensorflow / tensorflow/models

How do I get Precision and Recall to be calculated together when I run model_main_tf2.py ?

Open
#9,695 2 comments 4 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Feb 2, 2021.

models:research:odapi type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

Hello, I usually create my models by using Tensorflow2 Object Detection API and my original data.

When I create a model, I always only see the Loss graph in Tensorboard.
I know that if I run model_main_tf2.py with the option "--checkpoint_dir" after creating the model, Precison and Recall will be calculated.
However, I want to check the progress of learning while calculating Precision and Recall during running model_main_tf2.py.

I remember when I used Tensorflow-gpu1.15 before, the training was going on while Precision and Recall were being calculated.
If Precision and Recall are not computed at the same time as learning, I think it means that Cross Validation is not performed when creating a model in Tensorflow2.

If you know how to train and create a model while calculating Precision and Recall when running model_main_tf2.py, please let me know.

Thanks!

・OS : Ubuntu20.04LTS
・NVIDIA Driver : 450.102
・CUDA : 11.0
・cuDNN : 8.0.2
・Python : 3.6
・Tensorflow-gpu : 2.4.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.