* deprecate mean_file option * add deprecation warning even if error happens * removed Suppress for now deprecated options * review fixes * added dot
1.3 KiB
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: