diff --git a/config/datasets/detection/detection_rotten_fruits.yaml b/config/datasets/detection/detection_rotten_fruits.yaml index 11cb1488..247955e9 100644 --- a/config/datasets/detection/detection_rotten_fruits.yaml +++ b/config/datasets/detection/detection_rotten_fruits.yaml @@ -17,6 +17,10 @@ test: source: https://api.blackhole.ai.innopolis.university/public-datasets/detection_rotten_fruits/test.zip target: /tmp/rotten_fruits/test +infer: + source: https://api.blackhole.ai.innopolis.university/public-datasets/detection_rotten_fruits/test.zip + target: /tmp/rotten_fruits/infer + num_workers: 8 val_size: 0.2 diff --git a/config/datasets/detection/detection_siz.yaml b/config/datasets/detection/detection_siz.yaml new file mode 100644 index 00000000..a72e6311 --- /dev/null +++ b/config/datasets/detection/detection_siz.yaml @@ -0,0 +1,21 @@ +_target_: innofw.core.integrations.ultralytics.datamodule.UltralyticsDataModuleAdapter +channels_num: 3 +date_time: 13.01.2024 +description: Набор данных содержит фото гнилых и свежих фруктов +image_size: 800 +infer: + source: /home/qazybek/SIZ_win_sum/images/test/ +markup_info: Набор данных содержит разметку bounding box, под формат детекции гнилых + фруктов. +name: detection_siz +names: +- Person +num_classes: 1 +num_workers: 8 +task: +- image-detection +test: + source: /home/qazybek/SIZ_win_sum +train: + source: /home/qazybek/SIZ_win_sum +val_size: 0.2 diff --git a/config/datasets/detection/ttpla.yaml b/config/datasets/detection/ttpla.yaml new file mode 100644 index 00000000..49461678 --- /dev/null +++ b/config/datasets/detection/ttpla.yaml @@ -0,0 +1,34 @@ +task: + - image-detection + +name: TTPLA dataset +description: Aerial images dataset on transmission towers and power lines +markup_info: https://github.com/r3ab/ttpla_dataset?tab=readme-ov-file +date_time: 19.11.2022 + +_target_: innofw.core.integrations.ultralytics.datamodule.UltralyticsDataModuleAdapter + +train: + source: https://api.blackhole.ai.innopolis.university/public-datasets/TTPLA/train.zip + target: /tmp/TTPLA/train/ + +test: + source: https://api.blackhole.ai.innopolis.university/public-datasets/TTPLA/test.zip + target: /tmp/TTPLA/test/ + +infer: + source: https://api.blackhole.ai.innopolis.university/public-datasets/TTPLA/test.zip + target: /tmp/TTPLA/test/ + +num_workers: 8 + +val_size: 0.2 +channels_num: 3 +image_size: 3840 +num_classes: 5 +names: + - cable + - tower_lattice + - tower_tucohy + - tower_wooden + - void diff --git a/config/datasets/detection_lep.yaml b/config/datasets/detection_lep.yaml index 2225a599..0c09cc5d 100755 --- a/config/datasets/detection_lep.yaml +++ b/config/datasets/detection_lep.yaml @@ -11,13 +11,13 @@ _target_: innofw.core.integrations.ultralytics.datamodule.UltralyticsDataModuleA train: source: https://api.blackhole.ai.innopolis.university/public-datasets/testing/lep/train.zip - target: ./data/lep/ + target: /tmp/data/lep/train test: source: https://api.blackhole.ai.innopolis.university/public-datasets/testing/lep/test.zip - target: ./data/lep/ + target: /tmp/data/lep/test infer: source: https://api.blackhole.ai.innopolis.university/public-datasets/testing/lep/test.zip - target: ./data/lep/ + target: /tmp/data/lep/infer num_workers: 8 diff --git a/config/datasets/detection_lep_insplad.yaml b/config/datasets/detection_lep_insplad.yaml new file mode 100644 index 00000000..b4b68109 --- /dev/null +++ b/config/datasets/detection_lep_insplad.yaml @@ -0,0 +1,69 @@ +task: + - image-detection + +name: lep_insplad +description: "InsPLAD A Dataset and Benchmark for Power Line Asset Inspection in UAV Images, Link: https://github.com/andreluizbvs/InsPLAD" + +markup_info: Yolo detection annotations of powerline elements +date_time: 18.11.2022 + +_target_: innofw.core.integrations.ultralytics.datamodule.UltralyticsDataModuleAdapter + +train: + source: https://api.blackhole.ai.innopolis.university/public-datasets/INSPLAD/train.zip + target: /tmp/INSPLAD/train +test: + source: https://api.blackhole.ai.innopolis.university/public-datasets/INSPLAD/test.zip + target: /tmp/INSPLAD/test +infer: + source: https://api.blackhole.ai.innopolis.university/public-datasets/INSPLAD/test.zip + target: /tmp/INSPLAD/test + +num_workers: 8 + +val_size: 0.2 +channels_num: 3 +image_size: 600 +num_classes: 18 +names: + - yoke + - suspension + - spacer + - stockbridge_damper + - lightning_rod_shackle + - lightning_rod_suspension + - polymer + - glass_insulator + - tower_id_plate + - vari_grip + - polymer_insulator_lower_shackle + - polymer_insulator_upper_shackle + - polymer_insulator_tower_shackle + - glass_insulator_big_shackle + - glass_insulator_small_shackle + - glass_insulator_tower_shackle + - spiral_damper + - sphere + +# Dataset structure is as follows: +# images/ +# train/ +# *.jpg +# test/ +# *.jpg + +# labels/ +# train/ +# *.txt +# test/ +# *.txt + +# Note that each archive consist only corresponding folders: +# train.zip/ +# images/ +# train/ +# *.jpg +# labels/ +# train/ +# *.txt +# Similar for test.zip and infer.zip diff --git a/config/datasets/semantic-segmentation/large_scale_fish.yaml b/config/datasets/semantic-segmentation/large_scale_fish.yaml new file mode 100644 index 00000000..25c0206d --- /dev/null +++ b/config/datasets/semantic-segmentation/large_scale_fish.yaml @@ -0,0 +1,15 @@ +_target_: innofw.core.datamodules.lightning_datamodules.semantic_segmentation.stroke_dm.DirSegmentationLightningDataModule +date_time: 29.01.2024 +description: https://www.kaggle.com/datasets/crowww/a-large-scale-fish-dataset +markup_info: binary segmentation masks +name: Fish semantic segmentation dataset +task: + - image-segmentation + +test: + source: https://api.blackhole.ai.innopolis.university/public-datasets/fish/test.zip + target: ./data/fish/test +train: + source: https://api.blackhole.ai.innopolis.university/public-datasets/fish/train.zip + target: ./data/fish/train + diff --git a/config/datasets/semantic-segmentation/self_driving_dataset.yaml b/config/datasets/semantic-segmentation/self_driving_dataset.yaml new file mode 100644 index 00000000..4dc56223 --- /dev/null +++ b/config/datasets/semantic-segmentation/self_driving_dataset.yaml @@ -0,0 +1,15 @@ +_target_: innofw.core.datamodules.lightning_datamodules.semantic_segmentation.stroke_dm.DirSegmentationLightningDataModule +date_time: 29.01.2024 +description: https://www.kaggle.com/datasets/crowww/a-large-scale-fish-dataset +markup_info: binary segmentation masks +name: Fish semantic segmentation dataset +task: + - image-segmentation + +test: + source: https://api.blackhole.ai.innopolis.university/public-datasets/driving/test.zip + target: ./data/fish/test +train: + source: https://api.blackhole.ai.innopolis.university/public-datasets/driving/train.zip + target: ./data/fish/train + diff --git a/config/experiments/detection/IM_130124_gdsfjbjh2_siz.yaml b/config/experiments/detection/IM_130124_gdsfjbjh2_siz.yaml new file mode 100644 index 00000000..62748c0b --- /dev/null +++ b/config/experiments/detection/IM_130124_gdsfjbjh2_siz.yaml @@ -0,0 +1,13 @@ +# @package _global_ +accelerator: gpu +batch_size: 32 +ckpt_path: /home/qazybek/pmi_tatneft/innofw/dui/logs/something/20240122-093931/weights/best.pt +defaults: +- override /datasets: detection/detection_siz.yaml +- override /models: detection/yolov5.yaml +devices: 1 +epochs: 3 +project: siz +random_seed: 43 +task: image-detection +weights_freq: 1 diff --git a/config/experiments/detection/IM_190722_gdsfjbjh2_yolov5_fruits.yaml b/config/experiments/detection/IM_190722_gdsfjbjh2_yolov5_fruits.yaml index 1c46f5b6..d3b848c3 100644 --- a/config/experiments/detection/IM_190722_gdsfjbjh2_yolov5_fruits.yaml +++ b/config/experiments/detection/IM_190722_gdsfjbjh2_yolov5_fruits.yaml @@ -1,14 +1,10 @@ # @package _global_ +batch_size: 2 defaults: - - override /models: detection/yolov5 - - override /datasets: detection/detection_rotten_fruits - - -project: "rotten_fruits" -task: "image-detection" +- override /models: detection/yolov5 +- override /datasets: detection/detection_rotten_fruits +epochs: 3 +project: rotten_fruits random_seed: 43 -epochs: 300 -batch_size: 2 +task: image-detection weights_freq: 1 - -ckpt_path: /tmp/chkpt diff --git a/config/experiments/detection/KA_120722_8adfcdaa_yolov5.yaml b/config/experiments/detection/KA_120722_8adfcdaa_yolov5.yaml index c6bf9047..ee8120f0 100644 --- a/config/experiments/detection/KA_120722_8adfcdaa_yolov5.yaml +++ b/config/experiments/detection/KA_120722_8adfcdaa_yolov5.yaml @@ -1,12 +1,11 @@ # @package _global_ +batch_size: 32 defaults: - - override /models: detection/yolov5 - - override /datasets: detection_lep - - override /optimizers: sgd - -project: "lep" -task: "image-detection" +- override /datasets: detection_lep +- override /optimizers: sgd +- override /models: detection/yolov5x.yaml +epochs: 500 +project: lep random_seed: 42 -epochs: 2 -batch_size: 2 +task: image-detection weights_freq: 1 diff --git a/config/experiments/detection/KA_120722_8adfcdaa_yolov5_non_pretrained.yaml b/config/experiments/detection/KA_120722_8adfcdaa_yolov5_non_pretrained.yaml index 600dbd66..937745f1 100644 --- a/config/experiments/detection/KA_120722_8adfcdaa_yolov5_non_pretrained.yaml +++ b/config/experiments/detection/KA_120722_8adfcdaa_yolov5_non_pretrained.yaml @@ -1,15 +1,12 @@ # @package _global_ +batch_size: 2 +ckpt_path: /home/qazybek/pmi_tatneft/innofw/dui/logs/something/20240122-082640/weights/best.pt defaults: - - override /models: detection/yolov5 - - override /datasets: detection/lep - - override /initializations: random - - -project: "lep" -task: "image-detection" +- override /models: detection/yolov5 +- override /datasets: detection_lep.yaml +- override /initializations: random +epochs: 5 +project: lep random_seed: 42 -epochs: 1 -batch_size: 2 +task: image-detection weights_freq: 1 - -# ckpt_path: https://api.blackhole.ai.innopolis.university/pretrained/lep_yolov5.pt diff --git a/config/experiments/detection/KG_190124_wpiig1_ttpla.yaml b/config/experiments/detection/KG_190124_wpiig1_ttpla.yaml new file mode 100644 index 00000000..50763967 --- /dev/null +++ b/config/experiments/detection/KG_190124_wpiig1_ttpla.yaml @@ -0,0 +1,21 @@ +# @package _global_ +defaults: + - override /models: detection/yolov5 + - override /datasets: detection/detection_ttpla + - override /optimizers: sgd + +project: "ttpla" +task: "image-detection" +random_seed: 42 +epochs: 20 +batch_size: 2 +weights_freq: 1 +accelerator: gpu +devices: 1 + +wandb: + enable: True + project: ttpla + entity: "k-galliamov" + group: none + job_type: training \ No newline at end of file diff --git a/config/experiments/detection/KG_210124_xpibms_insplad.yaml b/config/experiments/detection/KG_210124_xpibms_insplad.yaml new file mode 100644 index 00000000..d7d8aebe --- /dev/null +++ b/config/experiments/detection/KG_210124_xpibms_insplad.yaml @@ -0,0 +1,21 @@ +# @package _global_ +defaults: + - override /models: detection/yolov5 + - override /datasets: detection_lep_insplad + - override /optimizers: sgd + +project: "ttpla" +task: "image-detection" +random_seed: 42 +epochs: 2 +batch_size: 2 +weights_freq: 1 +accelerator: gpu +devices: 1 + +wandb: + enable: True + project: ttpla + entity: "k-galliamov" + group: none + job_type: training \ No newline at end of file diff --git a/config/experiments/semantic-segmentation/AS_151123_oks.yaml b/config/experiments/semantic-segmentation/AS_151123_oks.yaml index bcf97e44..c2be8a49 100644 --- a/config/experiments/semantic-segmentation/AS_151123_oks.yaml +++ b/config/experiments/semantic-segmentation/AS_151123_oks.yaml @@ -1,30 +1,24 @@ -# @package _global_ -defaults: - - override /models: semantic-segmentation/deeplabv3plus - - override /datasets: semantic-segmentation/oks_151123 - - override /loggers: wandb - - override /losses: semantic-segmentation/dice - - override /optimizers: adam - - override /augmentations_train: linear-roads-bin-seg - +accelerator: gpu +batch_size: 20 datasets: - batch_size: 20 - num_workers: 42 - - +- batch_size: 20 +- num_workers: 42 +defaults: +- override /models: semantic-segmentation/deeplabv3plus +- override /datasets: semantic-segmentation/oks_151123 +- override /loggers: wandb +- override /losses: semantic-segmentation/dice +- override /optimizers: adam +- override /augmentations_train: linear-roads-bin-seg +devices: 1 +epochs: 1 models: - in_channels: 3 - classes: 1 - encoder_name: resnet101 - encoder_depth: 5 - decoder_channels: 256 - encoder_weights: - +- in_channels: 3 +- classes: 1 +- encoder_name: resnet101 +- encoder_depth: 5 +- decoder_channels: 256 +num_workers: 42 project: oks -task: image-segmentation random_seed: 42 -accelerator: gpu -devices: 1 -batch_size: 20 -num_workers: 42 -epochs: 40 \ No newline at end of file +task: image-segmentation diff --git a/config/experiments/semantic-segmentation/KG_100323_lion_arable.yaml b/config/experiments/semantic-segmentation/KG_100323_lion_arable.yaml index 1f632059..c9ef4c34 100644 --- a/config/experiments/semantic-segmentation/KG_100323_lion_arable.yaml +++ b/config/experiments/semantic-segmentation/KG_100323_lion_arable.yaml @@ -1,26 +1,19 @@ # @package _global_ +batch_size: 4 defaults: - - override /models: semantic-segmentation/unet - - override /datasets: semantic-segmentation/segmentation_arable.yaml - - override /optimizers: lion.yaml - - override /augmentations_train: none - - override /augmentations_val: none - - override /augmentations_test: none - - override /losses: segmentation_losses.yaml - - override /callbacks: segmentation_2 - +- override /models: semantic-segmentation/unet +- override /datasets: semantic-segmentation/segmentation_arable.yaml +- override /optimizers: lion.yaml +- override /augmentations_train: none +- override /augmentations_val: none +- override /augmentations_test: none +- override /losses: segmentation_losses.yaml +- override /callbacks: segmentation_2 +epochs: 5 models: in_channels: 4 -project: "segmentation" -task: "image-segmentation" +project: segmentation random_seed: 42 stop_param: 10 -epochs: 5 +task: image-segmentation weights_freq: 1 -batch_size: 4 - -wandb: - enable: True - project: arable - group: 160323_just_testing_wandb - job_type: training \ No newline at end of file diff --git a/config/models/detection/yolov5.yaml b/config/models/detection/yolov5.yaml index 8e22670c..4edf9289 100644 --- a/config/models/detection/yolov5.yaml +++ b/config/models/detection/yolov5.yaml @@ -1,8 +1,4 @@ -name: yolov5 -description: yolov5 by ultralytics - _target_: ultralytics.YOLO -model: yolov5mu # n s m l x - - -#--weights yolov5x.pt +description: yolov5 by ultralytics +model: yolov5xu +name: yolov5 diff --git a/dui/assets/dui.js b/dui/assets/dui.js index c7bfa06f..04a5f5ee 100644 --- a/dui/assets/dui.js +++ b/dui/assets/dui.js @@ -252,7 +252,13 @@ function parseHtmlToDict(html_array){ } if (html_array[i].className==="parent row"){ parent = html_array[i].getElementsByClassName("keyfield")[0].value; - dict[parent] = []; + // if (parent === "default"){ + // dict[parent] = []; + // } + // else{ + // dict[parent] = {}; + // } + } if (html_array[i].className==="child row"){ let element = html_array[i].cloneNode(true); @@ -269,13 +275,30 @@ function parseHtmlToDict(html_array){ if (parent != null){ if (isNaN(Number(k))) { - let new_dict = {}; - new_dict[k] = v; - dict[parent].push(new_dict); + + if (parent === "defaults"){ + if (!(parent in dict)){ + dict[parent] = []; + } + let new_dict = {}; + new_dict[k] = v; + dict[parent].push(new_dict); + } + else{ + if (!(parent in dict)){ + dict[parent] = {}; + } + dict[parent][k] = v; + } } else{ + if (!(parent in dict)){ + dict[parent] = []; + } dict[parent].push(v); } + + } else{ dict[k] = v; diff --git a/dui/pages/config_saving.py b/dui/pages/config_saving.py index 37b56025..3b2f5c90 100644 --- a/dui/pages/config_saving.py +++ b/dui/pages/config_saving.py @@ -18,7 +18,7 @@ def layout(): request_body = request.json with open(configs_path / request_body["config_name"], "w+") as stream: try: - if "experiments/" in configs_path: + if "experiments/" in str(request_body["config_name"]): s = "# @package _global_\n" + yaml.dump(request_body["html"], allow_unicode=True, default_flow_style=False) else: diff --git a/innofw/core/integrations/ultralytics/datamodule.py b/innofw/core/integrations/ultralytics/datamodule.py index c985692d..45b48db2 100644 --- a/innofw/core/integrations/ultralytics/datamodule.py +++ b/innofw/core/integrations/ultralytics/datamodule.py @@ -3,6 +3,7 @@ from pathlib import Path from typing import List, Optional import shutil +import glob # third party libraries from sklearn.model_selection import train_test_split @@ -72,12 +73,12 @@ def __init__( if self.train: self.train_source = Path(self.train) # # In this datamodule, the train source should be the folder train itself not the folder "train/images" - # if str(self.train_source).endswith("images"): - # self.train_source = Path(str(self.train_source)[:-7]) + if str(self.train_source).endswith("images") or str(self.train_source).endswith("labels"): + self.train_source = Path(str(self.train_source)[:-7]) if self.test: self.test_source = Path(self.test) - # if str(self.test_source).endswith("images"): - # self.test_source = Path(str(self.test_source)[:-7]) + if str(self.test_source).endswith("images") or str(self.test_source).endswith("labels"): + self.test_source = Path(str(self.test_source)[:-7]) if self.infer: self.infer_source = ( @@ -85,8 +86,8 @@ def __init__( if not (type(self.infer) == str and self.infer.startswith("rts")) else self.infer ) - # if str(self.infer_source).endswith("images"): - # self.infer_source = Path(str(self.infer_source)[:-7]) + if str(self.infer_source).endswith("images") or str(self.infer_source).endswith("labels"): + self.infer_source = Path(str(self.infer_source)[:-7]) self.batch_size = batch_size self.imgsz: int = image_size @@ -138,8 +139,8 @@ def setup_train_test_val(self, **kwargs): # === split train images and labels into train and val sets and move files === # split images and labels - train_img_path = self.train_source - train_lbl_path = self.train_source.parent.parent / "labels" / "train" + train_img_path = self.train_source / "images" / "train" + train_lbl_path = self.train_source / "labels" / "train" # get all files from train folder img_files = list(train_img_path.iterdir()) @@ -212,12 +213,16 @@ def setup_infer(self): return # root_dir self.infer_source = Path(self.infer_source) - if self.infer_file: - self.infer_source = ( - self.infer_source - if self.infer_source.name == Path(self.infer_file).stem - else self.infer_source / Path(self.infer_file).stem - ) + # if self.infer_file: + # self.infer_source = ( + # self.infer_source + # if self.infer_source.name == Path(self.infer_file).stem + # else self.infer_source / Path(self.infer_file).stem + # ) + for path in self.infer_source.rglob("*"): + if path.is_file() and path.suffix not in [".txt", ".yaml", ".zip"]: + self.infer_source = Path(path).parent + break root_path = self.infer_source.parent diff --git a/logging.conf b/logging.conf index 8af32817..63c8dcfa 100644 --- a/logging.conf +++ b/logging.conf @@ -24,4 +24,4 @@ formatter=simpleFormatter args=(sys.stdout,) [formatter_simpleFormatter] -format=%(asctime)s - %(name)s - %(levelname)s - %(message)s \ No newline at end of file +format=%(asctime)s - %(name)s - %(levelname)s - %(message)s diff --git a/tests/data/images/detection/lep/images/test/frame_001575.PNG b/tests/data/images/detection/lep/images/test/images/test/frame_001575.PNG similarity index 100% rename from tests/data/images/detection/lep/images/test/frame_001575.PNG rename to tests/data/images/detection/lep/images/test/images/test/frame_001575.PNG diff --git a/tests/data/images/detection/lep/images/test/frame_001600.PNG b/tests/data/images/detection/lep/images/test/images/test/frame_001600.PNG similarity index 100% rename from tests/data/images/detection/lep/images/test/frame_001600.PNG rename to tests/data/images/detection/lep/images/test/images/test/frame_001600.PNG diff --git a/tests/data/images/detection/lep/images/test/frame_001675.PNG b/tests/data/images/detection/lep/images/test/images/test/frame_001675.PNG similarity index 100% rename from tests/data/images/detection/lep/images/test/frame_001675.PNG rename to tests/data/images/detection/lep/images/test/images/test/frame_001675.PNG diff --git a/tests/data/images/detection/lep/labels/infer/frame_001575.txt b/tests/data/images/detection/lep/images/test/labels/test/frame_001575.txt similarity index 100% rename from tests/data/images/detection/lep/labels/infer/frame_001575.txt rename to tests/data/images/detection/lep/images/test/labels/test/frame_001575.txt diff --git a/tests/data/images/detection/lep/labels/infer/frame_001600.txt b/tests/data/images/detection/lep/images/test/labels/test/frame_001600.txt similarity index 100% rename from tests/data/images/detection/lep/labels/infer/frame_001600.txt rename to tests/data/images/detection/lep/images/test/labels/test/frame_001600.txt diff --git a/tests/data/images/detection/lep/labels/infer/frame_001675.txt b/tests/data/images/detection/lep/images/test/labels/test/frame_001675.txt similarity index 100% rename from tests/data/images/detection/lep/labels/infer/frame_001675.txt rename to tests/data/images/detection/lep/images/test/labels/test/frame_001675.txt diff --git a/tests/data/images/detection/lep/images/train/frame_001575.PNG b/tests/data/images/detection/lep/images/train/images/train/frame_001575.PNG similarity index 100% rename from tests/data/images/detection/lep/images/train/frame_001575.PNG rename to tests/data/images/detection/lep/images/train/images/train/frame_001575.PNG diff --git a/tests/data/images/detection/lep/images/train/frame_001600.PNG b/tests/data/images/detection/lep/images/train/images/train/frame_001600.PNG similarity index 100% rename from tests/data/images/detection/lep/images/train/frame_001600.PNG rename to tests/data/images/detection/lep/images/train/images/train/frame_001600.PNG diff --git a/tests/data/images/detection/lep/images/train/frame_001675.PNG b/tests/data/images/detection/lep/images/train/images/train/frame_001675.PNG similarity index 100% rename from tests/data/images/detection/lep/images/train/frame_001675.PNG rename to tests/data/images/detection/lep/images/train/images/train/frame_001675.PNG diff --git a/tests/data/images/detection/lep/labels/test/frame_001575.txt b/tests/data/images/detection/lep/images/train/labels/train/frame_001575.txt similarity index 100% rename from tests/data/images/detection/lep/labels/test/frame_001575.txt rename to tests/data/images/detection/lep/images/train/labels/train/frame_001575.txt diff --git a/tests/data/images/detection/lep/labels/test/frame_001600.txt b/tests/data/images/detection/lep/images/train/labels/train/frame_001600.txt similarity index 100% rename from tests/data/images/detection/lep/labels/test/frame_001600.txt rename to tests/data/images/detection/lep/images/train/labels/train/frame_001600.txt diff --git a/tests/data/images/detection/lep/labels/test/frame_001675.txt b/tests/data/images/detection/lep/images/train/labels/train/frame_001675.txt similarity index 100% rename from tests/data/images/detection/lep/labels/test/frame_001675.txt rename to tests/data/images/detection/lep/images/train/labels/train/frame_001675.txt diff --git a/tests/data/images/detection/lep/labels/train/frame_001575.txt b/tests/data/images/detection/lep/labels/infer/labels/infer/frame_001575.txt similarity index 100% rename from tests/data/images/detection/lep/labels/train/frame_001575.txt rename to tests/data/images/detection/lep/labels/infer/labels/infer/frame_001575.txt diff --git a/tests/data/images/detection/lep/labels/train/frame_001600.txt b/tests/data/images/detection/lep/labels/infer/labels/infer/frame_001600.txt similarity index 100% rename from tests/data/images/detection/lep/labels/train/frame_001600.txt rename to tests/data/images/detection/lep/labels/infer/labels/infer/frame_001600.txt diff --git a/tests/data/images/detection/lep/labels/train/frame_001675.txt b/tests/data/images/detection/lep/labels/infer/labels/infer/frame_001675.txt similarity index 100% rename from tests/data/images/detection/lep/labels/train/frame_001675.txt rename to tests/data/images/detection/lep/labels/infer/labels/infer/frame_001675.txt diff --git a/tests/data/images/detection/lep/labels/test/labels/test/frame_001575.txt b/tests/data/images/detection/lep/labels/test/labels/test/frame_001575.txt new file mode 100644 index 00000000..271f12a9 --- /dev/null +++ b/tests/data/images/detection/lep/labels/test/labels/test/frame_001575.txt @@ -0,0 +1,5 @@ +1 0.651807 0.437708 0.016115 0.147028 +1 0.782346 0.220852 0.007766 0.064352 +1 0.761333 0.250796 0.011646 0.073889 +1 0.726953 0.310829 0.015052 0.097954 +1 0.342109 0.928093 0.026927 0.143815 diff --git a/tests/data/images/detection/lep/labels/test/labels/test/frame_001600.txt b/tests/data/images/detection/lep/labels/test/labels/test/frame_001600.txt new file mode 100644 index 00000000..6922d9f6 --- /dev/null +++ b/tests/data/images/detection/lep/labels/test/labels/test/frame_001600.txt @@ -0,0 +1,5 @@ +1 0.637487 0.454579 0.013099 0.152083 +1 0.756669 0.256699 0.010943 0.078454 +1 0.261651 0.979583 0.031031 0.040833 +1 0.779404 0.222153 0.007568 0.060213 +1 0.719680 0.318847 0.014203 0.099972 diff --git a/tests/data/images/detection/lep/labels/test/labels/test/frame_001675.txt b/tests/data/images/detection/lep/labels/test/labels/test/frame_001675.txt new file mode 100644 index 00000000..e358799f --- /dev/null +++ b/tests/data/images/detection/lep/labels/test/labels/test/frame_001675.txt @@ -0,0 +1,4 @@ +1 0.747503 0.271824 0.011922 0.081611 +1 0.598469 0.517833 0.015375 0.172148 +1 0.775112 0.231644 0.009870 0.062639 +1 0.703586 0.346606 0.015620 0.111324 diff --git a/tests/data/images/detection/lep/labels/train/labels/train/frame_001575.txt b/tests/data/images/detection/lep/labels/train/labels/train/frame_001575.txt new file mode 100644 index 00000000..271f12a9 --- /dev/null +++ b/tests/data/images/detection/lep/labels/train/labels/train/frame_001575.txt @@ -0,0 +1,5 @@ +1 0.651807 0.437708 0.016115 0.147028 +1 0.782346 0.220852 0.007766 0.064352 +1 0.761333 0.250796 0.011646 0.073889 +1 0.726953 0.310829 0.015052 0.097954 +1 0.342109 0.928093 0.026927 0.143815 diff --git a/tests/data/images/detection/lep/labels/train/labels/train/frame_001600.txt b/tests/data/images/detection/lep/labels/train/labels/train/frame_001600.txt new file mode 100644 index 00000000..6922d9f6 --- /dev/null +++ b/tests/data/images/detection/lep/labels/train/labels/train/frame_001600.txt @@ -0,0 +1,5 @@ +1 0.637487 0.454579 0.013099 0.152083 +1 0.756669 0.256699 0.010943 0.078454 +1 0.261651 0.979583 0.031031 0.040833 +1 0.779404 0.222153 0.007568 0.060213 +1 0.719680 0.318847 0.014203 0.099972 diff --git a/tests/data/images/detection/lep/labels/train/labels/train/frame_001675.txt b/tests/data/images/detection/lep/labels/train/labels/train/frame_001675.txt new file mode 100644 index 00000000..e358799f --- /dev/null +++ b/tests/data/images/detection/lep/labels/train/labels/train/frame_001675.txt @@ -0,0 +1,4 @@ +1 0.747503 0.271824 0.011922 0.081611 +1 0.598469 0.517833 0.015375 0.172148 +1 0.775112 0.231644 0.009870 0.062639 +1 0.703586 0.346606 0.015620 0.111324