Parcourir la source

Correct simulation python script issue

Jérôme BUISINE il y a 5 ans
Parent
commit
45be593aaf
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      generate_data_model_random_maxwell.py
  2. 1 1
      run_maxwell_simulation.sh

+ 1 - 0
generate_data_model_random_maxwell.py

@@ -34,6 +34,7 @@ seuil_expe_filename     = cfg.seuil_expe_filename
 metric_choices          = cfg.metric_choices_labels
 output_data_folder      = cfg.output_data_folder
 
+generic_output_file_svd = '_random.csv'
 min_value_interval = sys.maxsize
 max_value_interval = 0
 

+ 1 - 1
run_maxwell_simulation.sh

@@ -39,7 +39,7 @@ for size in {"4","8","16","26","32","40"}; do
                             echo "Run simulation for model ${MODEL_NAME}"
 
                             # by default regenerate model
-                            python generate_data_model_random_maxwell.py --output ${FILENAME} --interval "${start},${end}" --kind ${mode} --metric ${metric} --scenes "${scenes}" --nb_zones "${nb_zones}" --percent 1 --sep ';' --rowindex '0'
+                            python generate_data_model_random_maxwell.py --output ${FILENAME} --interval "${start},${end}" --kind ${mode} --metric ${metric} --scenes "${scenes}" --nb_zones "${nb_zones}" --percent 1 --norm 0 --sep ';' --rowindex '0'
 
                             python models/${model}_train.py --data ${FILENAME} --output ${MODEL_NAME}