-
Notifications
You must be signed in to change notification settings - Fork 28
/
train_sample_car.sh
executable file
·22 lines (20 loc) · 1 KB
/
train_sample_car.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
DATASET="Car"
TRAIN_DIR="./$DATASET/WS_DAN/TRAIN/ws_dan_part_32"
MODEL_PATH='./pre_trained/inception_v3.ckpt'
python train_sample.py --learning_rate=0.001 \
--dataset_name=$DATASET \
--dataset_dir="./$DATASET/Data/tfrecords" \
--train_dir=$TRAIN_DIR \
--checkpoint_path=$MODEL_PATH \
--max_number_of_steps=80000 \
--weight_decay=1e-5 \
--model_name='inception_v3_bap' \
--checkpoint_exclude_scopes="InceptionV3/bilinear_attention_pooling" \
--batch_size=12 \
--train_image_size=448 \
--num_clones=1 \
--gpus="0"\
--feature_maps="Mixed_6e"\
--attention_maps="Mixed_7a_b0"\
--num_parts=32