Troubleshooting steps to convert Intel's or Public pre-trained models using Model Optimizer.
- 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
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.