Hi!
I've been trying to convert Inception V2 image classification model from Tensorflow's slim library (https://github.com/tensorflow/models/tree/master/research/slim) but get an error on first two convolutional layers saying that weights have wrong number of input channels.
snpe-tensorflow-to-dlc --graph inception_v2_frozen.pb -i input 224,224,3 --dlc inception2.dlc --out_node InceptionV2/Predictions/Reshape_1 --allow_unconsumed_nodes
<SNPE_ROOT>/lib/python/converters/tensorflow/layers/convolution.py:229: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer InceptionV2/InceptionV2/Conv2d_1a_7x7/separable_conv2d/depthwise: weights have wrong number of input channels; error_component=Model Validation; line_no=587; thread_id=140066145076992 groups=descriptor.groups) <SNPE_ROOT>/lib/python/converters/tensorflow/layers/convolution.py:229: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer InceptionV2/InceptionV2/Conv2d_1a_7x7/separable_conv2d: weights have wrong number of input channels; error_component=Model Validation; line_no=587; thread_id=140066145076992 groups=descriptor.groups)
Please verify if any unconsumed operations are logged during conversion. IT would be helpful if you can provide a minimal graph which reproduces the issue so we can further analyse.
I'm seeing a similar issue with snpe 1.13.0
Setup:
Download and follow setup instructions here: https://developer.qualcomm.com/software/snapdragon-neural-processing-eng...
Download stock ssd inception v2: http://download.tensorflow.org/models/object_detection/ssd_inception_v2_...
Run: snpe-tensorflow-to-dlc --graph ssd_inception_v2_coco_2017_11_17/frozen_inference_graph.pb -i Preprocessor/sub 300,300,3 --out_node detection_classes --out_node detection_boxes --out_node detection_scores --dlc ssd_inception_v2_coco_2017_11_17/ssd_inception_v2_coco.dlc --allow_unconsumed_node
/projects/snpe-sdk/snpe-1.13.0/lib/python/converters/tensorflow/layers/convolution.py:336: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer FeatureExtractor/InceptionV2/InceptionV2/Conv2d_1a_7x7/separable_conv2d/depthwise: weights have wrong number of input channels; error_component=Model Validation; line_no=587; thread_id=140033133233984
Hi there,
I'm getting the same errors reported above. Are there updates about a working example about converting ssd-inception_v2 tensorflow graph into a dlc model?
Thank you.
Hi there,
I'm getting the same errors reported above. Are there updates about a working example about converting ssd-inception_v2 tensorflow graph into a dlc model?
Thank you.