Article ID: 000059804 Content Type: Error Messages Last Reviewed: 06/16/2023

Error “AttributeError: ‘DatasetConversionInfo’ Object Has No Attribute ‘Identifier’” When Executing Pot -C SR-fsrcnn.json

Environment

OpenVINO 2021.3

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Workaround to edit the code in the OpenVINO™ file.

Description
  • Ran POT command: pot -c SR-fsrcnn.json
  • Output: AttributeError: 'DatasetConversionInfo' object has no attribute 'identifier'
Resolution
  • Change the line of code in this location:

    openvino_2021.3.394\deployment_tools\tools\post_training_optimization_toolkit\libs\open_model_zoo\tools\accuracy_checker\accuracy_checker\annotation_converters\_init_.py

  • Adjust this line of code:

    from .convert import make_subset, save_annotation, analyze_dataset, DatasetConversionInfo
    to this line:
    from accuracy_checker.annotation_converters.convert import make_subset, save_annotation, analyze_dataset, DatasetConversionInfo

Related Products

This article applies to 1 products