forked from bnu-wangxun/Deep_Metric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_train_03.sh
executable file
·17 lines (15 loc) · 1.29 KB
/
run_train_03.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
CUDA_VISIBLE_DEVICES=7 python train.py -data cub -net bn -base 0.1 -init rand -s 200 -lr 1e-6 -dim 512 -num_instances 8 -BatchSize 128 -loss softneig -epochs 601 -log_dir all_pos_14_neg_1 -save_step 50
python test.py -r checkpoints/all_pos_14_neg_1/model.pkl > all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/50_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/100_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/200_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/300_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/350_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/350_model.pkl -test 0 >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/400_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/450_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/500_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/550_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/600_model.pkl >> all_pos_14_neg_1.txt
python test.py -r checkpoints/all_pos_14_neg_1/600_model.pkl -test 0