Hi everyone,
I have trained an object detection model (CenterNet with MobileNet) using the Tensorflow object detection api. While converting to dlc format using the savedmodel format I get the warning message as "not able to consume layers" and at the end the conversion fails with message "Model is empty".
snpe-tensorflow-to-dlc --input_network /path/to/saved_model/ --input_dim "input_tensor" "1,224,224,3" --out_node detection_boxes --out_node detection_scores --out_node detection_classes --output_path centerNet.dlc --show_unconsumed_nodes --debug
I have seen similar issues posted on this group and have tried multiple solution:
- checked the name of the input node : In my case it is "input tensor"
- Some suggested to check tensorflow dependencies, revet to a previous commit of graph generation function in object detection api. I have tried this approach as well, but still stuck.
My configuration:
- Tensorflow: 2.4
- Python: 3.8
- SNPE: 1.58.0_3160
Any help with this issue will be higly appreciated.
kind regards
Dear customer,
The version of TF we're recommended is TF1.15. Please try to remove the opiton of --show_unconsumed_nodes and convert it again.
BR.
Wei