-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy path005__train.sh
executable file
·27 lines (22 loc) · 1.5 KB
/
005__train.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "Did you update the paths ssd_mobilenet_v1_face.config?"
echo "and tensorflow_models in this script"
read -rsp $'Press any key to continue...\n' -n 1 key
echo ">>>>>"
python3 ~/tensorflow_models/object_detection/train.py --logtostderr --pipeline_config_path=ssd_mobilenet_v1_face.config --train_dir=model_output
# or using a full path
# python3 /Users/dion/tensorflow_models/object_detection/train.py --logtostderr --pipeline_config_path=/data/git/tensorflow-face-object-detector-tutorial/ssd_mobilenet_v1_face.config --train_dir=/data/git/tensorflow-face-object-detector-tutorial/model_output
# First output:
# INFO:tensorflow:Summary name Learning Rate is illegal; using Learning_Rate instead.
# INFO:tensorflow:Summary name /clone_loss is illegal; using clone_loss instead.
# INFO:tensorflow:Restoring parameters from /data/git/tensorflow-face-object-detector-tutorial/data/ssd_mobilenet_v1_coco_11_06_2017/model.ckpt
# INFO:tensorflow:Starting Session.
# INFO:tensorflow:Saving checkpoint to path /data/git/tensorflow-face-object-detector-tutorial/model/model.ckpt
# INFO:tensorflow:Starting Queues.
# INFO:tensorflow:global_step/sec: 0
# INFO:tensorflow:Recording summary at step 0.
# INFO:tensorflow:global step 1: loss = 15.5201 (17.574 sec/step)
# INFO:tensorflow:global step 2: loss = 13.0839 (16.703 sec/step)
# INFO:tensorflow:global step 3: loss = 12.7708 (10.608 sec/step)
# INFO:tensorflow:global step 4: loss = 11.6702 (7.782 sec/step)