Files
openvino/docs/MO_DG/prepare_model/convert_model/Converting_Model.md
Svetlana Dolinina 672565a8ed deprecate mean_file option in Caffe (#8707)
* deprecate mean_file option

* add deprecation warning even if error happens

* removed Suppress for now deprecated options

* review fixes

* added dot
2021-12-08 17:38:46 +03:00

1.3 KiB

Converting a Model to Intermediate Representation (IR)

Use the mo script to run the Model Optimizer and convert the model to the Intermediate Representation (IR):

mo --input_model INPUT_MODEL --output_dir <OUTPUT_MODEL_DIR>

You need to have have write permissions for an output directory.

Note

: Some models require using additional arguments to specify conversion parameters, such as --input_shape, --scale, --scale_values, --mean_values. To learn about when you need to use these parameters, refer to Converting a Model Using General Conversion Parameters.

To adjust the conversion process, you may use general parameters defined in the Converting a Model Using General Conversion Parameters and Framework-specific parameters for:

See Also