Skip to content

Commit 214d362

Browse files
authored
Merge pull request #3631 from eaidova/ea/telemetry_metric_type
AC: send metric type to telemetry as unique object
2 parents 5a0b572 + 740af5e commit 214d362

File tree

1 file changed

+3
-0
lines changed
  • tools/accuracy_checker/openvino/tools/accuracy_checker

1 file changed

+3
-0
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,12 @@ def main():
7272
print_processing_info(*processing_info)
7373
evaluator = evaluator_class.from_configs(config_entry)
7474
details.update(evaluator.send_processing_info(tm))
75+
metric_types = details.get('metrics', [])
7576
if args.profile:
7677
setup_profiling(args.profiler_logs_dir, evaluator)
7778
send_telemetry_event(tm, 'model_run', json.dumps(details))
79+
for metric in metric_types:
80+
send_telemetry_event(tm, 'metric_type', metric)
7881
evaluator.process_dataset(
7982
stored_predictions=args.stored_predictions, progress_reporter=progress_reporter, **evaluator_kwargs
8083
)

0 commit comments

Comments
 (0)