diff --git a/CHANGELOG.md b/CHANGELOG.md index 270f341b638d..8f03a79b476d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed an issue with large number of instances in instance mask (https://github.com/opencv/cvat/issues/1539) - Fixed full COCO dataset import error with conflicting labels in keypoints and detection (https://github.com/opencv/cvat/pull/1548) - Fixed COCO keypoints skeleton parsing and saving (https://github.com/opencv/cvat/issues/1539) +- Fixed an error when exporting a task with cuboids to any format except CVAT (https://github.com/opencv/cvat/pull/1577) - `tf.placeholder() is not compatible with eager execution` exception for auto_segmentation (https://github.com/opencv/cvat/pull/1562) - Fixed a problem with mask to polygons conversion when polygons are too small (https://github.com/opencv/cvat/pull/1581) diff --git a/cvat/apps/dataset_manager/bindings.py b/cvat/apps/dataset_manager/bindings.py index 04a4be041158..d8152086b496 100644 --- a/cvat/apps/dataset_manager/bindings.py +++ b/cvat/apps/dataset_manager/bindings.py @@ -518,6 +518,8 @@ def convert_attrs(label, cvat_attrs): x0, y0, x1, y1 = anno_points anno = datumaro.Bbox(x0, y0, x1 - x0, y1 - y0, label=anno_label, attributes=anno_attr, group=anno_group) + elif shape_obj.type == ShapeType.CUBOID: + continue # Datumaro does not support cuboids else: raise Exception("Unknown shape type '%s'" % shape_obj.type)