Skip to content

Could only save 5 checkpoints w/ model_main.py #5076

@YijinLiu

Description

@YijinLiu

System information

  • What is the top-level directory of the model you are using:
    research/object_detection
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
    No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    Ubuntu 18.04
  • TensorFlow installed from (source or binary):
    Source
  • TensorFlow version (use command below):
    1.10
  • Bazel version (if compiling from source):
    0.15.2
  • CUDA/cuDNN version:
    9.2/7.1.4.18
  • GPU model and memory:
    GTX 960/4G
  • Exact command to reproduce:
    python tf_models/research/object_detection/model_main.py --alsologtostderr
    --pipeline_config_path=ssdlite_mobilenet_v2_coco.config --model_dir=XXX

Describe the problem

Looks like the new model_main.py hardcodes many parameters. It simply ignores keep_checkpoint_every_n_hours. In another bug, it only exports one image to tensorboard, ignoring
num_visualizations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions