argus-cv 1.5.1__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of argus-cv might be problematic. Click here for more details.
- {argus_cv-1.5.1 → argus_cv-1.5.2}/CHANGELOG.md +8 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/PKG-INFO +1 -1
- {argus_cv-1.5.1 → argus_cv-1.5.2}/pyproject.toml +1 -1
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/__init__.py +1 -1
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/coco.py +5 -5
- {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/ci.yml +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/docs.yml +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/release.yml +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/.gitignore +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/.pre-commit-config.yaml +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/README.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/assets/javascripts/extra.js +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/assets/stylesheets/extra.css +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/getting-started/installation.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/getting-started/quickstart.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/datasets.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/filtering.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/listing.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/splitting.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/stats.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/viewer.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/index.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/reference/cli.md +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/mkdocs.yml +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/__main__.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/cli.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/commands/__init__.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/__init__.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/base.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/convert.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/filter.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/mask.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/split.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/yolo.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/conftest.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_classification.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_convert.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_filter_command.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_list_command.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_mask.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_split_command.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_stats_command.py +0 -0
- {argus_cv-1.5.1 → argus_cv-1.5.2}/uv.lock +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v1.5.2 (2026-02-03)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Prevent double counting in COCO stats
|
|
10
|
+
([`90436b1`](https://github.com/pirnerjonas/argus/commit/90436b13d64a50821a39ee3bb9468bfa59e8e0ea))
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## v1.5.1 (2026-01-28)
|
|
6
14
|
|
|
7
15
|
### Bug Fixes
|
|
@@ -65,22 +65,22 @@ class COCODataset(Dataset):
|
|
|
65
65
|
Returns:
|
|
66
66
|
List of annotation file paths.
|
|
67
67
|
"""
|
|
68
|
-
annotation_files =
|
|
68
|
+
annotation_files: set[Path] = set()
|
|
69
69
|
|
|
70
70
|
# Check annotations/ directory first
|
|
71
71
|
annotations_dir = path / "annotations"
|
|
72
72
|
if annotations_dir.is_dir():
|
|
73
|
-
annotation_files.
|
|
73
|
+
annotation_files.update(annotations_dir.glob("*.json"))
|
|
74
74
|
|
|
75
75
|
# Also check root directory for single annotation file
|
|
76
|
-
annotation_files.
|
|
76
|
+
annotation_files.update(path.glob("*.json"))
|
|
77
77
|
|
|
78
78
|
# Check split directories for Roboflow COCO format
|
|
79
79
|
for split_name in ["train", "valid", "val", "test"]:
|
|
80
80
|
split_dir = path / split_name
|
|
81
81
|
if split_dir.is_dir():
|
|
82
|
-
annotation_files.
|
|
83
|
-
annotation_files.
|
|
82
|
+
annotation_files.update(split_dir.glob("*annotations*.json"))
|
|
83
|
+
annotation_files.update(split_dir.glob("*coco*.json"))
|
|
84
84
|
|
|
85
85
|
# Filter to only include files that might be COCO annotations
|
|
86
86
|
# (exclude package.json, tsconfig.json, etc.)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|