Skip To Main Content
Support Knowledge Base

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

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

Environment

OpenVINO 2021.3

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 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries