From 6d7a04086f5f47a3fe7676000a572bd807e5441b Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov <41117609+azhavoro@users.noreply.github.com> Date: Fri, 19 Jul 2019 20:44:40 +0300 Subject: [PATCH] fixed attribute processing in auto_annotation (#577) --- cvat/apps/auto_annotation/model_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvat/apps/auto_annotation/model_manager.py b/cvat/apps/auto_annotation/model_manager.py index 5d0b9f8b..b585da73 100644 --- a/cvat/apps/auto_annotation/model_manager.py +++ b/cvat/apps/auto_annotation/model_manager.py @@ -319,7 +319,7 @@ def run_inference_engine_annotation(data, model_file, weights_file, for attr_text, attr_value in shape_attributes.items(): if attr_text in label_attr_spec: attributes.append({ - "id": label_attr_spec[attr_text], + "spec_id": label_attr_spec[attr_text], "value": attr_value, })