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.

Files changed (43) hide show
  1. {argus_cv-1.5.1 → argus_cv-1.5.2}/CHANGELOG.md +8 -0
  2. {argus_cv-1.5.1 → argus_cv-1.5.2}/PKG-INFO +1 -1
  3. {argus_cv-1.5.1 → argus_cv-1.5.2}/pyproject.toml +1 -1
  4. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/__init__.py +1 -1
  5. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/coco.py +5 -5
  6. {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/ci.yml +0 -0
  7. {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/docs.yml +0 -0
  8. {argus_cv-1.5.1 → argus_cv-1.5.2}/.github/workflows/release.yml +0 -0
  9. {argus_cv-1.5.1 → argus_cv-1.5.2}/.gitignore +0 -0
  10. {argus_cv-1.5.1 → argus_cv-1.5.2}/.pre-commit-config.yaml +0 -0
  11. {argus_cv-1.5.1 → argus_cv-1.5.2}/README.md +0 -0
  12. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/assets/javascripts/extra.js +0 -0
  13. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/assets/stylesheets/extra.css +0 -0
  14. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/getting-started/installation.md +0 -0
  15. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/getting-started/quickstart.md +0 -0
  16. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/datasets.md +0 -0
  17. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/filtering.md +0 -0
  18. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/listing.md +0 -0
  19. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/splitting.md +0 -0
  20. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/stats.md +0 -0
  21. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/guides/viewer.md +0 -0
  22. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/index.md +0 -0
  23. {argus_cv-1.5.1 → argus_cv-1.5.2}/docs/reference/cli.md +0 -0
  24. {argus_cv-1.5.1 → argus_cv-1.5.2}/mkdocs.yml +0 -0
  25. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/__main__.py +0 -0
  26. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/cli.py +0 -0
  27. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/commands/__init__.py +0 -0
  28. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/__init__.py +0 -0
  29. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/base.py +0 -0
  30. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/convert.py +0 -0
  31. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/filter.py +0 -0
  32. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/mask.py +0 -0
  33. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/split.py +0 -0
  34. {argus_cv-1.5.1 → argus_cv-1.5.2}/src/argus/core/yolo.py +0 -0
  35. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/conftest.py +0 -0
  36. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_classification.py +0 -0
  37. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_convert.py +0 -0
  38. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_filter_command.py +0 -0
  39. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_list_command.py +0 -0
  40. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_mask.py +0 -0
  41. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_split_command.py +0 -0
  42. {argus_cv-1.5.1 → argus_cv-1.5.2}/tests/test_stats_command.py +0 -0
  43. {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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: argus-cv
3
- Version: 1.5.1
3
+ Version: 1.5.2
4
4
  Summary: CLI tool for working with vision AI datasets
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: numpy>=1.24.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "argus-cv"
3
- version = "1.5.1"
3
+ version = "1.5.2"
4
4
  description = "CLI tool for working with vision AI datasets"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,3 +1,3 @@
1
1
  """Argus - Vision AI dataset toolkit."""
2
2
 
3
- __version__ = "1.5.1"
3
+ __version__ = "1.5.2"
@@ -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.extend(annotations_dir.glob("*.json"))
73
+ annotation_files.update(annotations_dir.glob("*.json"))
74
74
 
75
75
  # Also check root directory for single annotation file
76
- annotation_files.extend(path.glob("*.json"))
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.extend(split_dir.glob("*annotations*.json"))
83
- annotation_files.extend(split_dir.glob("*coco*.json"))
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