Jerome Buisine 5 лет назад
Родитель
Сommit
aebe8276ed
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 1
      predict_seuil_expe.py
  2. 1 2
      runAll_maxwell.sh

+ 1 - 1
predict_seuil_expe.py

@@ -116,7 +116,7 @@ def main():
                 
                 # check only if necessary for this scene (not already detected)
                 if not threshold_expes_detected[id_block]:
-                    tmp_file_path = tmp_filename.replace('__model__', '_' + p_model_file.split('/')[1])
+                    tmp_file_path = tmp_filename.replace('__model__',  p_model_file.split('/')[-1].replace('.joblib', '_'))
                     block.save(tmp_file_path)
 
                     python_cmd = "python predict_noisy_image_svd_lab.py --image " + tmp_file_path + \

+ 1 - 2
runAll_maxwell.sh

@@ -1,6 +1,5 @@
 #! bin/bash
 
 for size in {"4","8","16","26","32","40"}; do
-
     bash generateAndTrain_maxwell.sh ${size} &
-done
+done