-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathtrain.sh
More file actions
executable file
·28 lines (22 loc) · 811 Bytes
/
train.sh
File metadata and controls
executable file
·28 lines (22 loc) · 811 Bytes
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
28
#!/bin/bash
# Inception v3 checkpoint file.
INCEPTION_CHECKPOINT="model/inception_v3.ckpt"
# Directory to save the model.
MODEL_DIR="model/bi_lstm/"
# Run the training code.
python polyvore/train.py \
--input_file_pattern="data/tf_records/train-no-dup-?????-of-00128" \
--inception_checkpoint_file="${INCEPTION_CHECKPOINT}" \
--train_dir="${MODEL_DIR}/train" \
--train_inception=true \
--number_of_steps=100000
# # Training Siamese Network
# # Directory to save the model.
# MODEL_DIR="model/siamese/"
# # Run the training code.
# python polyvore/train_siamese.py \
# --input_file_pattern="data/tf_records/train-no-dup-?????-of-00128" \
# --inception_checkpoint_file="${INCEPTION_CHECKPOINT}" \
# --train_dir="${MODEL_DIR}/train" \
# --train_inception=true \
# --number_of_steps=100000