Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
6023 Discussions

Removed and deprecated cli options still present on the -h information / docs.

Gouveia__César
New Contributor I
334 Views

Hi,

 

I was trying to convert the attached mxnet model using OpenVINO 2021.4.689 using the following cli options:
* --generate_deprecated_IR_V7

* --legacy_ir_generation

 

Command line used:


(openvino_2021_4_689_py36) C:\Users\cesar.gouveia\Projects\openvino_2021.4.689>python deployment_tools\model_optimizer\mo.py --input_model C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\mxnet_models\RetinaFace-0000.params --static_shape --input_shape (1,3,640,640) --output_dir openvino_models\ --generate_deprecated_IR_V7 --legacy_ir_generation
[ WARNING ] Use of removed cli option '--generate_deprecated_IR_V7' detected. The option is ignored.
[ WARNING ] Use of deprecated cli option --legacy_ir_generation detected. Option use in the following releases will be fatal.
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\mxnet_models\VisionBox.Foxtrot.FaceDetector-0000.params
- Path for generated IR: C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\openvino_models\
- IR output name: VisionBox.Foxtrot.FaceDetector-0000
- Log level: ERROR
- Batch: Not specified, inherited from the model
- Input layers: Not specified, inherited from the model
- Output layers: Not specified, inherited from the model
- Input shapes: (1,3,640,640)
- Mean values: Not specified
- Scale values: Not specified
- Scale factor: Not specified
- Precision of IR: FP32
- Enable fusing: True
- Enable grouped convolutions fusing: True
- Move mean values to preprocess section: None
- Reverse input channels: False
MXNet specific parameters:
- Deploy-ready symbol file: None
- Enable MXNet loader for models trained with MXNet version lower than 1.0.0: False
- Prefix name for args.nd and argx.nd files: None
- Pretrained model to be merged with the .nd files: None
- Enable saving built parameters file from .nd files: False
- Use the config file: None
- Inference Engine found in: C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\python\python3.6\openvino
Inference Engine version: 2021.4.1-3926-14e67d86634-releases/2021/4
Model Optimizer version: 2021.4.1-3926-14e67d86634-releases/2021/4
[ WARNING ] Using fallback to produce IR.
[ SUCCESS ] Generated IR version 10 model.
[ SUCCESS ] XML file: C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\openvino_models\VisionBox.Foxtrot.FaceDetector-0000.xml
[ SUCCESS ] BIN file: C:\Users\cesar.gouveia\Projects\openvino_2021.4.689\openvino_models\VisionBox.Foxtrot.FaceDetector-0000.bin
[ SUCCESS ] Total execution time: 13.64 seconds.
It's been a while, check for a new version of Intel(R) Distribution of OpenVINO(TM) toolkit here https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&... or on the GitHub*

 

If these options are not available in the later versions why they are still present in the -h option?



Thanks,

César.

0 Kudos
4 Replies
Zulkifli_Intel
Moderator
316 Views

Hello Cesar Gouveia,


Greetings to you.


Thank you for sharing the warnings you received when converting the model. These warning messages are committed to be removed during the 2022.1 release.


Sincerely,

Zulkifli


Gouveia__César
New Contributor I
304 Views

Greetings Zulkifli,

 

Thanks for your response! So are you saying that this options are going to be deprecated? Or the warning messages are wrong?

 

Thanks again,

César.

Zulkifli_Intel
Moderator
293 Views

Hello Cesar Gouveia,


In 2020.3 release notes state that:

·      IRv7 is deprecated and support for this version may be removed as early as v.2021.1 release this year.


The two parameters are no longer available or supported in the latest version, and the option will be removed in the upcoming release.


Sincerely,

Zulkifli


Zulkifli_Intel
Moderator
271 Views

Hello Cesar,


Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.


Sincerely,

Zulkifli


Reply