Correct configuration file to run with Tensorflow 2.4 model.
- Downloaded ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8 model.
- Converted the model into Intermediate Representation (IR) using ssd_support_api_v.2.4.json:
python3 mo_tf.py --saved_model_dir <OPENVINO_DIR>/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/saved_model \
--transformations_config <OPENVINO_DIR>/model_optimizer/extensions/front/tf/ssd_support_api_v2.4.json \
--tensorflow_object_detection_api_pipeline_config <OPENVINO_DIR>/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config \
--reverse_input_channels \
--input_shape [1,640,640,3] - Encountered error: [ ERROR ] Exception occurred during running replacer "ObjectDetectionAPIPreprocessor2Replacement (<class 'extensions.front.tf.ObjectDetectionAPI.ObjectDetectionAPIPreprocessor2Replacement'>):
TensorFlow 2 Detection Model Zoo is trained using Tensorflow 2.2.
ssd_support_api_v.2.4.json is for SSD topologies are trained using the TensorFlow* Object Detection API version 2.4 or higher
Use ssd_support_api_v.2.0.json for SSD topologies trained using the TensorFlow* Object Detection API version 2.0 up to 2.3.X inclusively.
For a particular TensorFlow version, refer to the respective configuration file.