Skip To Main Content
Support Knowledge Base

Encountered: “[Errno 2] No Such File or Directory” When Converting Model Using Model Optimizer for OpenVINO Toolkit

Content Type: Error Messages   |   Article ID: 000094536   |   Last Reviewed: 06/14/2023

Description

  • Downloaded the yolo-v4-tf model using following command:

    omz_downloader --name yolo-v4-tf  -o ~/Downloads/models

  • Ran the following command to convert the model:

    omz_converter --name yolo-v4-tf -o ~/Downloads/models

  • Encountered the following error:

    /data/venv/openvino_2022.3.0/bin/python3.8: can't open file '/home/user/public/yolo-v4-tf/keras-YOLOv3-model-set/tools/model_converter/convert.py': [Errno 2] No such file or directory

    FAILED:

    yolo-v4-tf

Resolution

Ensure the downloaded model files are located in the current working directory.

Use the -d flag for omz_converter to provide the downloaded model directory if it's not located in the current working directory.

Related Products

This article applies to 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries