Ikuti Panduan Memulai untuk Intel® NCS 2 untuk menginstal kit peralatan OpenVINO™ dan mengonfigurasi Intel® NCS 2 Anda.
Catatan | Panduan Memulai dan artikel ini juga berlaku untuk pengguna dengan Intel® Movidius™ Neural Compute Stick asli. |
Skrip mo_tf.py terletak di direktori ~/intel/openvino/deployment_tools/model_optimizer . Parameter berikut perlu ditentukan saat mengonversi model Anda ke Representasi Menengah (IR) untuk inferensi dengan Intel® NCS 2.
--input_model <path_to_frozen.pb>
--tensorflow_use_custom_operations_config <path_to_subgraph_replacement_configuration_file.json>
--tensorflow_object_detection_api_pipeline_config <path_to_pipeline.config>
--reverse_input_channels
--data_type FP16
Contoh perintah Pengoptimal Model:
python3 ~/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_model.pb --tensorflow_use_custom_operations_config ~/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/ssd_v2_support.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --data_type FP16
Informasi tambahan tentang Pengoptimal Model dapat ditemukan dalam dokumentasi kit alat OpenVINO™.