【发布时间】:2020-02-22 07:59:53
【问题描述】:
我正在尝试使用 TensorFlow 训练对象检测器。我下载了预训练模型ssd_mobilenet_v1_coco_2018_01_28,创建了我的.pbtxt 文件、我的训练和测试记录。
我正在使用 TensorFlow/models/research/object-detection 中的 model_main.py
当我尝试开始训练时"python model_main.py --logtostderr model_dir=results/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config --model_dir=ssd_mobilenet_v1_coco_2018_01_28/"
我收到此错误:
WARNING:tensorflow:Estimator 的 model_fn (.model_fn at 0x125031b00>) 包含 params 参数,但 params 不会传递给 Estimator。 W1025 21:53:42.973139 4590234944 model_fn.py:630] Estimator 的 model_fn (.model_fn at 0x125031b00>) 包含 params 参数,但 params 不会传递给 Estimator。 信息:张量流:不使用分布式协调器。 I1025 21:53:42.973598 4590234944 estimator_training.py:186] 不使用分布式协调器。 INFO:tensorflow:在本地运行训练和评估(非分布式)。 I1025 21:53:42.973851 4590234944 training.py:612] 在本地运行训练和评估(非分布式)。 INFO:tensorflow:开始训练和评估循环。评估将在每个检查点之后进行。检查点频率根据 RunConfig 参数确定:save_checkpoints_steps None 或 save_checkpoints_secs 600。 I1025 21:53:42.974123 4590234944 training.py:700] 开始训练并评估循环。评估将在每个检查点之后进行。检查点频率根据 RunConfig 参数确定:save_checkpoints_steps None 或 save_checkpoints_secs 600。 INFO:tensorflow:跳过训练,因为 max_steps 已经保存。 I1025 21:53:42.978157 4590234944 estimator.py:360] 跳过训练,因为 max_steps 已经保存。
我该如何解决这个问题并开始训练?
【问题讨论】:
-
有关于这个问题的消息吗?谢谢!
标签: python tensorflow machine-learning