فهرست منبع

Make filenames unique and add warning for now

sfmig 1 سال پیش
والد
کامیت
a800770b1b

+ 3 - 1
README.md

@@ -7,7 +7,7 @@ For a description of the available test data, please see the [DATA_DESCRIPTION.m
 ## Adding or editing data
 
 ### Folder structure
-When adding test data to test a specific module, please include under a subdirectory with the following structure:
+When adding data for a specific test module, please include it under the subdirectory with the same name as the test module:
 
 ```bash
 test_data/test_<module-name>/
@@ -15,6 +15,8 @@ test_data/test_<module-name>/
 
 This will allow us to make efficient use of the `pooch` library and the `pytest` fixtures.
 
+IMPORTANT: Please ensure that the filenames are unique across the whole test data repository.
+
 ### Steps
 Remember to update the file registry at `files-registry.txt` after adding or editing the data! 
 

+ 9 - 9
test_data/DATA_DESCRIPTION.md

@@ -27,9 +27,9 @@ A small size bounding boxess dataset in VIA, COCO and VIA-CSV formats.
 
 | File name | Type | Format | N annotations | N images | Comments |
 | --- | --- | --- | --- | --- | --- |
-| `via_project_30Jan2025_15h15m.json` | bboxes | VIA | 3 | 3 | One bounding box per frame. |
-| `via_project_30Jan2025_15h15m_coco.json` | bboxes | COCO | 3 | 3 | One bounding box per frame. |
-| `via_project_30Jan2025_15h15m_csv.json` | bboxes | VIA-CSV | 3 | 3 |  One bounding box per frame. |
+| `small_bboxes_VIA.json` | bboxes | VIA | 3 | 3 | One bounding box per frame. |
+| `small_bboxes_COCO.json` | bboxes | COCO | 3 | 3 | One bounding box per frame. |
+| `small_bboxes_CSV.json` | bboxes | VIA-CSV | 3 | 3 |  One bounding box per frame. |
 
 
 #### `small_bboxes_dataset_duplicates`
@@ -37,9 +37,9 @@ A small size bounding boxess dataset in VIA, COCO and VIA-CSV formats with dupli
 
 | File name | Type | Format | N annotations | N images | Comments |
 | --- | --- | --- | --- | --- | --- |
-| `via_project_30Jan2025_15h15m.json` | bboxes | VIA | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames. |
-| `via_project_30Jan2025_15h15m_coco.json` | bboxes | COCO | 4 | 3 |  Duplicate annotation in frame 0, one annotation per frame in the rest of frames.|
-| `via_project_30Jan2025_15h15m_csv.json` | bboxes | VIA-CSV | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames. |
+| `small_bboxes_duplicates_VIA.json` | bboxes | VIA | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames. |
+| `small_bboxes_duplicates_COCO.json` | bboxes | COCO | 4 | 3 |  Duplicate annotation in frame 0, one annotation per frame in the rest of frames.|
+| `small_bboxes_duplicates_CSV.json` | bboxes | VIA-CSV | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames. |
 
 
 #### `small_bboxes_dataset_no_categories`
@@ -47,7 +47,7 @@ A small size bounding boxess dataset in VIA, COCO and VIA-CSV formats without ca
 
 | File name | Type | Format | N annotations | N images | Comments |
 | --- | --- | --- | --- | --- | --- |
-| `via_project_30Jan2025_15h15m.json` | bboxes | VIA | 3 | 3 | No categories or supercategories are specified. This data is still supported |
-| `via_project_30Jan2025_15h15m_coco.json` | bboxes | COCO | 3 | 3 |  No categories are specified, so no annotations are exported in COCO format. This data will throw an error. |
-| `via_project_30Jan2025_15h15m_csv.json` | bboxes | VIA-CSV | 3 | 3 | No categories are specified. |
+| `small_bboxes_no_cat_VIA.json` | bboxes | VIA | 3 | 3 | No categories or supercategories are specified. This data is still supported |
+| `small_bboxes_no_cat_COCO.json` | bboxes | COCO | 3 | 3 |  No categories are specified, so no annotations are exported in COCO format. This data will throw an error. |
+| `small_bboxes_no_cat_CSV.json` | bboxes | VIA-CSV | 3 | 3 | No categories are specified. |
 

+ 0 - 0
test_data/test_annotations/small_bboxes_dataset/via_project_30Jan2025_15h15m_coco.json → test_data/test_annotations/small_bboxes_dataset/small_bboxes_COCO.json


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset/via_project_30Jan2025_15h15m_csv.csv → test_data/test_annotations/small_bboxes_dataset/small_bboxes_CSV.csv


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset/via_project_30Jan2025_15h15m.json → test_data/test_annotations/small_bboxes_dataset/small_bboxes_VIA.json


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_duplicates/via_project_30Jan2025_15h15m_coco.json → test_data/test_annotations/small_bboxes_dataset_duplicates/small_bboxes_duplicates_COCO.json


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_duplicates/via_project_30Jan2025_15h15m_csv.csv → test_data/test_annotations/small_bboxes_dataset_duplicates/small_bboxes_duplicates_CSV.csv


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_duplicates/via_project_30Jan2025_15h15m.json → test_data/test_annotations/small_bboxes_dataset_duplicates/small_bboxes_duplicates_VIA.json


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_no_categories/via_project_30Jan2025_15h53m_coco.json → test_data/test_annotations/small_bboxes_dataset_no_categories/small_bboxes_no_cat_COCO.json


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_no_categories/via_project_30Jan2025_15h53m_csv.csv → test_data/test_annotations/small_bboxes_dataset_no_categories/small_bboxes_no_cat_CSV.csv


+ 0 - 0
test_data/test_annotations/small_bboxes_dataset_no_categories/via_project_30Jan2025_15h53m.json → test_data/test_annotations/small_bboxes_dataset_no_categories/small_bboxes_no_cat_VIA.json