How to save best models in latest Tensorflow Object Detection API V2 with TF2?

Viewed 1868

Recently I am trying Tensorflow Object Detection API V2 with TF2, and I've sucessfully trained a network.

However, I found little information about how to save the best model.

I've found some simple tutorials that don't talk much about these details.

I've found a similar question here, however the best answer is to modify legacy/trainer.py, which seems to be outdated.

I've also found another similar question here, however the answers are talking about exporters, which is in model_lib.py, but I can't find similar parameter in model_lib_v2.py

So, for V2, which file should I modify to save the best model?

1 Answers
Related