I met this problem when I convert pb to dlc.
My model is related SR and uses layers supported by SNPE.
any help plz
The below is a log of the error
snpe-tensorflow-to-dlc --graph frozen_model.pb -i input_img 48,48,3 --out_node EDSR/addMean/Add --allow_unconsumed_nodes
2017-11-24 16:45:58.928423: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-24 16:45:58.928451: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-24 16:45:58.928460: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-11-24 16:45:58.928480: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-24 16:45:58.928486: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (sub) not consumed by converter: Sub.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/0) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/1) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/2) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/3) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/4) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/5) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/6) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/7) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/8) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/9) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/10) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/11) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/12) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/13) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/14) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/15) not consumed by converter: Add.
2017-11-24 16:46:03,929 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/16) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/17) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/18) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/19) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/20) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/21) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/22) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/23) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/24) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/25) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/26) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/27) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/28) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/29) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/30) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/resBlocks/add/31) not consumed by converter: Add.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/upsamplex2/1/strided_slice) not consumed by converter: StridedSlice.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/upsamplex2/1/Reshape/shape) not consumed by converter: Pack.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/upsamplex2/2/strided_slice) not consumed by converter: StridedSlice.
2017-11-24 16:46:03,930 - 308 - WARNING - WARNING_TF_SCOPE_OP_NOT_CONSUMED: Operation (EDSR/upsamplex2/2/Reshape/shape) not consumed by converter: Pack.
/mnt/sdb1/sungminwoo/taewoo/snpe-1.8.1/lib/python/converters/tensorflow/layers/eltwise.py:84: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer EDSR/c1/add: at least two inputs required, have 1; error_component=Model Validation; line_no=733; thread_id=140685249111808
output_name)
/mnt/sdb1/sungminwoo/taewoo/snpe-1.8.1/lib/python/converters/tensorflow/layers/eltwise.py:84: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer EDSR/resBlocks/c1/0/add: at least two inputs required, have 1; error_component=Model Validation; line_no=733; thread_id=140685249111808
output_name)
/mnt/sdb1/sungminwoo/taewoo/snpe-1.8.1/lib/python/converters/tensorflow/layers/eltwise.py:84: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer EDSR/resBlocks/c2/0/add: at least two inputs required, have 1; error_component=Model Validation; line_no=733; thread_id=140685249111808
output_name)
/mnt/sdb1/sungminwoo/taewoo/snpe-1.8.1/lib/python/converters/tensorflow/layers/eltwise.py:108: RuntimeWarning: error_code=1002; error_message=Layer paramter value is invalid. Layer EDSR/resBlocks/scaling/0/Mul: at least two inputs required, have 1; error_component=Model Validation; line_no=733; thread_id=140685249111808
output_name)
2017-11-24 16:46:04,597 - 123 - ERROR - Conversion failed: ERROR_TF_EXPECTED_SINGLE_OUTPUT_FROM_PREVIOUS_LAYER: Expected single output operation from previous layer.