Browse Source

add of 10 times surrogate runs

Jérôme BUISINE 1 year ago
parent
commit
2a0cb4ed2d
1 changed files with 9 additions and 8 deletions
  1. 9 8
      run_surrogate_rendering.sh

+ 9 - 8
run_surrogate_rendering.sh

@@ -13,16 +13,17 @@ TRAIN_EVERY=50
 #output="rendering-attributes-ILS_${ILS}-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}"
 DATASET="rnn/data/datasets/features-selection-rendering-scaled/features-selection-rendering-scaled"
 
-for POP in {20,60,100};
-do
-    for ORDER in {1,2,3};
+for run in {1,2,3,4,5,6,7,8,9,10};
+    for POP in {20,60,100};
     do
-        for LS in {1000,5000,10000};
+        for ORDER in {1,2,3};
         do
-            output="rendering-attributes-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}"
-            echo "Run optim attributes using: ${output}"
-            python find_best_attributes_surrogate.py --data ${DATASET} --start_surrogate ${SS} --length 32 --ils ${ILS} --ls ${LS} --pop ${POP} --order ${ORDER} --train_every ${TRAIN_EVERY}  --output ${output}
+            for LS in {1000,5000,10000};
+            do
+                output="rendering-attributes-POP_${POP}-LS_${LS}-SS_${SS}-SO_${ORDER}-SE_${TRAIN_EVERY}-RUN_${run}"
+                echo "Run optim attributes using: ${output}"
+                python find_best_attributes_surrogate.py --data ${DATASET} --start_surrogate ${SS} --length 32 --ils ${ILS} --ls ${LS} --pop ${POP} --order ${ORDER} --train_every ${TRAIN_EVERY}  --output ${output}
+            done
         done
     done
 done
-