-
Notifications
You must be signed in to change notification settings - Fork 1
/
train_sample_bird.sh
24 lines (22 loc) · 1.06 KB
/
train_sample_bird.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
#!/usr/bin/env bash
DATASET="Bird"
TRAIN_DIR="./$DATASET/SAC/TRAIN/Bird"
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_topk' \
--checkpoint_exclude_scopes="InceptionV3/bilinear_attention_pooling" \
--batch_size=12 \
--train_image_size=299 \
--num_clones=1 \
--gpus="0"\
--feature_maps="Mixed_6e"\
--attention_maps="Mixed_7a_b0"\
--num_parts=32\
--ignore_missing_vars=True\
--save_interval_secs=120