Hi,
I am trying to convert my tensorflow model to DLC using following command.
$snpe-tensorflow-to-dlc --graph=onet_landmark.pb --input_dim "onet/input" 48,48,3 --out_node onet/prob1 --out_node onet/conv6-2/conv6-2 --out_node onet/conv6-3/conv6-3 --dlc=onet_landmark.dlc --allow_unconsumed_nodes --verbose
and getting following warning.
: RuntimeWarning: error_code=1004; error_message=Layer parameters combination is invalid. Layer onet/prelu5/add: dimensions mismatch between onet/prelu5/Mul:0 {1, 1, 256} and onet/prelu5/add {256}; error_component=Model Validation; line_no=117; thread_id=140454368323392
Anyhow DLC is generated, But I am not able to run my model.
with $snpe-net-run --container onet_landmark.dlc --input_list data/onet_input.txt
it is showing following error.
error_code=1004; error_message=Layer parameters combination is invalid. Layer onet/conv5/conv5/MatMul: mismatch between size of input onet/conv4/BiasAdd:0 (6272) and width of weight matrix (1152); error_component=Model Validation; line_no=645; thread_id=-279841624
I am not able to find what's going wrong. please help me.
Regards,
Kshama Vete