Blame view
LDA/04-run_mlp_ae.sh
465 Bytes
b6d0165d1 Initial commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
in_dir=$1 origin_shelve=$2 cpt=0 folder_list=$(head -n 50 ${in_dir}/ordered_model.txt) for folder in $folder_list do ( mkdir ${in_dir}/${folder} python 04a-mlp.py ${in_dir}/${folder} ${origin_shelve} python 04b-mini_ae.py ${in_dir}/${folder} ${origin_shelve} python 04c-sae.py ${in_dir}/${folder} ${origin_shelve} ) & cpt=$(( ${cpt} + 1 )) if [[ $(( $cpt % 5 )) -eq 0 ]] then echo " wait" wait fi done |