From 68b1212dacd4c84521e0f56829a1fb498365a6b5 Mon Sep 17 00:00:00 2001 From: Maxim Zhiltsov Date: Fri, 26 Feb 2021 21:22:47 +0300 Subject: [PATCH] Release 0.1.6 (dev) (#118) * update changelog * fix stats command for label-less datasets * update version --- CHANGELOG.md | 19 +++++++++++++++++++ datumaro/components/operations.py | 2 +- datumaro/version.py | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ba3bba4603d..12e106267175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- + +### Changed +- + +### Deprecated +- + +### Removed +- + +### Fixed +- + +### Security +- + +## 02/26/2021 - Release v0.1.6 +### Added - `Icdar13/15` dataset format () - Laziness, source caching, tracking of changes and partial updating for `Dataset` () - `Market-1501` dataset format () diff --git a/datumaro/components/operations.py b/datumaro/components/operations.py index 13847838004c..5482b5ed1778 100644 --- a/datumaro/components/operations.py +++ b/datumaro/components/operations.py @@ -1056,7 +1056,7 @@ def _extractor_stats(extractor): return stats def compute_ann_statistics(dataset): - labels = dataset.categories().get(AnnotationType.label) + labels = dataset.categories().get(AnnotationType.label, LabelCategories()) def get_label(ann): return labels.items[ann.label].name if ann.label is not None else None diff --git a/datumaro/version.py b/datumaro/version.py index 0fd5744b0fed..cf3865051f5e 100644 --- a/datumaro/version.py +++ b/datumaro/version.py @@ -1 +1 @@ -VERSION = '0.1.5.1' \ No newline at end of file +VERSION = '0.1.6' \ No newline at end of file