From 5443ca76f610a18365d83c1ad3f0581ae5a2e15f Mon Sep 17 00:00:00 2001 From: Henvezz95 Date: Thu, 19 Sep 2024 14:36:09 +0200 Subject: [PATCH] Updated Scripts --- scripts/k_fold_test_1D_singleROI.sh | 2 +- scripts/k_fold_test_2D_singleROI.sh | 2 +- scripts/k_fold_test_multiclass.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/k_fold_test_1D_singleROI.sh b/scripts/k_fold_test_1D_singleROI.sh index 81bbeb6..91282e4 100644 --- a/scripts/k_fold_test_1D_singleROI.sh +++ b/scripts/k_fold_test_1D_singleROI.sh @@ -6,6 +6,6 @@ do echo "Iteration number ${i+1}" python3 python/generate_coco_annotations.py -c ./config/generate_coco_annotations_config.yaml -k $i python3 python/convert_coco_to_yolo.py -c ./annotations/COCO/ -o "./dataset/" - python3 python/create_configuration_yaml.py -s "${IMAGE_SIZE}" -k $i -o "./config/test1D_singleROI.yaml" + python3 python/create_configuration_yaml.py -s "${IMAGE_SIZE}" -k $i -o "./config/test1D_singleROI.yaml" -c "1D" python3 python/test_single_class.py -c "./config/test1D_singleROI.yaml" -o "./results/reports/test1D_singleROI_${IMAGE_SIZE}_${i}" done diff --git a/scripts/k_fold_test_2D_singleROI.sh b/scripts/k_fold_test_2D_singleROI.sh index aa6b2b0..a3227a2 100644 --- a/scripts/k_fold_test_2D_singleROI.sh +++ b/scripts/k_fold_test_2D_singleROI.sh @@ -6,6 +6,6 @@ do echo "Iteration number ${i+1}" python3 python/generate_coco_annotations.py -c ./config/generate_coco_annotations_config.yaml -k $i python3 python/convert_coco_to_yolo.py -c ./annotations/COCO/ -o "./dataset/" - python3 python/create_configuration_yaml_new.py -s "${IMAGE_SIZE}" -k $i -o "./config/test2D_singleROI.yaml" + python3 python/create_configuration_yaml_new.py -s "${IMAGE_SIZE}" -k $i -o "./config/test2D_singleROI.yaml" -c "2D" python3 python/test_single_class.py -c "./config/test2D_singleROI.yaml" -o "./results/reports/test2D_singleROI_${IMAGE_SIZE}_${i}" done diff --git a/scripts/k_fold_test_multiclass.sh b/scripts/k_fold_test_multiclass.sh index e95c2d0..51df6a6 100644 --- a/scripts/k_fold_test_multiclass.sh +++ b/scripts/k_fold_test_multiclass.sh @@ -6,6 +6,6 @@ do echo "Iteration number ${i+1}" python3 python/generate_coco_annotations.py -c ./config/generate_coco_annotations_config.yaml -k $i python3 python/convert_coco_to_yolo.py -c ./annotations/COCO/ -o "./dataset/" - python3 python/create_configuration_yaml_new.py -s "${IMAGE_SIZE}" -k $i -o "./config/test_multiclass.yaml" + python3 python/create_configuration_yaml_new.py -s "${IMAGE_SIZE}" -k $i -o "./config/test_multiclass.yaml" -c "multi" python3 python/test_multi_class.py -c "./config/test_multiclass.yaml" -o "./results/reports/test_multiclass_${IMAGE_SIZE}_${i}" done \ No newline at end of file