Commit 52eeb80f authored by E144069X's avatar E144069X

Added script for supplementary experiments

parent 6aad96e0
#5 4 88 6 6 model_biggpu.config
K=$1
tr_len=$3
val_len=$4
test_len=$5
k=$2
tr_s=$((100*k/K))
tr_e=$(((tr_s+tr_len)%100))
val_s=$tr_e
val_e=$(((val_s+val_len)%100))
test_s=$val_e
test_e=$(((test_s+test_len)%100))
echo $tr_s $val_s $test_s
python trainVal.py -c $6 --exp_id cv4 --model_id res18_cv${k}_short --train_part_beg $tr_s --val_part_beg $val_s --test_part_beg $test_s \
--train_part_end $tr_e --val_part_end $val_e --test_part_end $test_e \
--distributed $7 --distrib_size $8 --cuda $9 --multi_gpu $9 \
--temp_mod linear --feat resnet18 --tr_len 1 --batch_size 40
python trainVal.py -c $6 --exp_id cv4 --model_id res50_cv${k}_short --train_part_beg $tr_s --val_part_beg $val_s --test_part_beg $test_s \
--train_part_end $tr_e --val_part_end $val_e --test_part_end $test_e \
--distributed $7 --distrib_size $8 --cuda $9 --multi_gpu $9 \
--temp_mod linear --feat resnet18 --tr_len 1 --batch_size 40 \
--feat resnet50
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment