[DOCS] old fix for yolo article master (#23939)
This commit is contained in:
parent
1f1fc92d1b
commit
b697c485ac
|
|
@ -58,12 +58,19 @@ 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 conversion for from the TensorFlow 2 format to an IR:
|
||||
4. Run model conversion from the TensorFlow 2 to an IR format:
|
||||
|
||||
.. note::
|
||||
|
||||
Before you run the conversion, make sure you have installed all the model conversion API dependencies for TensorFlow 2.
|
||||
|
||||
If you get errors, you may need to add the additional step to divide the input by 255:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
--scale_values=image_input[255]
|
||||
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
mo --saved_model_dir yolov4 --output_dir models/IRs --input_shape [1,608,608,3] --model_name yolov4
|
||||
|
|
|
|||
Loading…
Reference in New Issue