forked from dalgu90/wrn-tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eval.sh
executable file
·29 lines (26 loc) · 865 Bytes
/
eval.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
28
29
#!/bin/sh
export CUDA_VISIBLE_DEVICES=1
checkpoint_dir="./$1"
test_output="$checkpoint_dir/eval_test.txt"
train_output="$checkpoint_dir/eval_train.txt"
num_residual_units=$2
k=$3
batch_size=100
test_iter=100
train_iter=500
gpu_fraction=0.96
python eval.py --ckpt_path $checkpoint_dir \
--output $test_output \
--num_residual_units $num_residual_units \
--k $k \
--batch_size $batch_size \
--test_iter $test_iter \
--gpu_fraction $gpu_fraction
python eval.py --ckpt_path $checkpoint_dir \
--output $train_output \
--num_residual_units $num_residual_units \
--k $k \
--batch_size $batch_size \
--test_iter $train_iter \
--gpu_fraction $gpu_fraction \
--train_data True