[DOCS] old fix for yolo article 22.3 (#23934)
This commit is contained in:
parent
4b4570d710
commit
315cc80be7
|
|
@ -39,13 +39,20 @@ This section explains how to convert the YOLOv4 Keras model from the [repository
|
|||
python keras-YOLOv3-model-set/tools/model_converter/convert.py <path_to_cfg_file>/yolov4-tiny.cfg <path_to_weights>/yolov4-tiny.weights <saved_model_dir>
|
||||
```
|
||||
|
||||
4. Run Model Optimizer to converter the model from the TensorFlow 2 format to an IR:
|
||||
4. Run Model Optimizer to convert the model from the TensorFlow 2 format to an IR:
|
||||
|
||||
> **NOTE**: Before you run the conversion, make sure you have installed all the Model Optimizer dependencies for TensorFlow 2.
|
||||
> ```sh
|
||||
> mo --saved_model_dir yolov4 --output_dir models/IRs --input_shape [1,608,608,3] --model_name yolov4
|
||||
> ```
|
||||
|
||||
If you get errors, you may need to add the additional step to divide the input by 255:
|
||||
```sh
|
||||
--scale_values=image_input[255]
|
||||
```
|
||||
|
||||
|
||||
|
||||
## <a name="yolov3-to-ir"></a>Converting YOLOv3 Model to the OpenVINO format
|
||||
|
||||
There are several public versions of TensorFlow YOLOv3 model implementation available on GitHub. This section explains how to convert YOLOv3 model from
|
||||
|
|
|
|||
Loading…
Reference in New Issue