valor-lite 0.33.3__tar.gz → 0.33.5__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 valor-lite might be problematic. Click here for more details.

Files changed (40) hide show
  1. {valor_lite-0.33.3 → valor_lite-0.33.5}/PKG-INFO +2 -1
  2. {valor_lite-0.33.3 → valor_lite-0.33.5}/benchmarks/benchmark_objdet.py +4 -4
  3. valor_lite-0.33.5/examples/coco-yolo.ipynb +1103 -0
  4. {valor_lite-0.33.3 → valor_lite-0.33.5}/pyproject.toml +1 -0
  5. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/conftest.py +214 -13
  6. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_average_precision.py +302 -280
  7. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_average_recall.py +212 -190
  8. valor_lite-0.33.5/tests/detection/test_confusion_matrix.py +1702 -0
  9. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_counts.py +220 -200
  10. valor_lite-0.33.5/tests/detection/test_dataloader.py +171 -0
  11. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_evaluator.py +5 -5
  12. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_filtering.py +179 -33
  13. valor_lite-0.33.5/tests/detection/test_iou.py +523 -0
  14. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_pr_curve.py +1 -1
  15. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_precision.py +102 -96
  16. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_recall.py +102 -96
  17. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_schemas.py +57 -2
  18. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/test_stability.py +2 -2
  19. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/detection/__init__.py +12 -7
  20. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/detection/annotation.py +34 -2
  21. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/detection/computation.py +285 -164
  22. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/detection/manager.py +693 -202
  23. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/detection/metric.py +60 -34
  24. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite.egg-info/PKG-INFO +2 -1
  25. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite.egg-info/SOURCES.txt +1 -1
  26. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite.egg-info/requires.txt +1 -0
  27. valor_lite-0.33.3/examples/coco-yolo.ipynb +0 -442
  28. valor_lite-0.33.3/tests/detection/test_dataloader.py +0 -34
  29. valor_lite-0.33.3/tests/detection/test_detailed_counts.py +0 -1791
  30. valor_lite-0.33.3/tests/detection/test_iou.py +0 -30
  31. {valor_lite-0.33.3 → valor_lite-0.33.5}/LICENSE +0 -0
  32. {valor_lite-0.33.3 → valor_lite-0.33.5}/README.md +0 -0
  33. {valor_lite-0.33.3 → valor_lite-0.33.5}/benchmarks/.gitignore +0 -0
  34. {valor_lite-0.33.3 → valor_lite-0.33.5}/examples/.gitignore +0 -0
  35. {valor_lite-0.33.3 → valor_lite-0.33.5}/setup.cfg +0 -0
  36. {valor_lite-0.33.3 → valor_lite-0.33.5}/tests/detection/__init__.py +0 -0
  37. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/__init__.py +0 -0
  38. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite/schemas.py +0 -0
  39. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite.egg-info/dependency_links.txt +0 -0
  40. {valor_lite-0.33.3 → valor_lite-0.33.5}/valor_lite.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: valor-lite
3
- Version: 0.33.3
3
+ Version: 0.33.5
4
4
  Summary: Compute valor metrics directly in your client.
5
5
  License: MIT License
6
6
 
@@ -33,6 +33,7 @@ Requires-Dist: importlib_metadata; python_version < "3.8"
33
33
  Requires-Dist: tqdm
34
34
  Requires-Dist: requests
35
35
  Requires-Dist: numpy
36
+ Requires-Dist: shapely
36
37
  Provides-Extra: test
37
38
  Requires-Dist: pytest; extra == "test"
38
39
  Requires-Dist: coverage; extra == "test"
@@ -113,7 +113,7 @@ def ingest(
113
113
  elif len(groundtruths) < chunk_size or chunk_size == -1:
114
114
  continue
115
115
 
116
- timer, _ = time_it(manager.add_data_from_valor_dict)(
116
+ timer, _ = time_it(manager.add_bounding_boxes_from_valor_dict)(
117
117
  zip(groundtruths, predictions), True
118
118
  )
119
119
  accumulated_time += timer
@@ -121,7 +121,7 @@ def ingest(
121
121
  predictions = []
122
122
 
123
123
  if groundtruths:
124
- timer, _ = time_it(manager.add_data_from_valor_dict)(
124
+ timer, _ = time_it(manager.add_bounding_boxes_from_valor_dict)(
125
125
  zip(groundtruths, predictions), True
126
126
  )
127
127
  accumulated_time += timer
@@ -270,7 +270,7 @@ def run_benchmarking_analysis(
270
270
  evaluator.evaluate
271
271
  )(
272
272
  [
273
- MetricType.DetailedCounts,
273
+ MetricType.ConfusionMatrix,
274
274
  *MetricType.base_metrics(),
275
275
  ]
276
276
  )
@@ -287,7 +287,7 @@ def run_benchmarking_analysis(
287
287
  evaluator.evaluate
288
288
  )(
289
289
  [
290
- MetricType.DetailedCounts,
290
+ MetricType.ConfusionMatrix,
291
291
  *MetricType.base_metrics(),
292
292
  ],
293
293
  number_of_examples=3,