2019-09-11 19:19:25.782298: I tensorflow/core/common_runtime/gpu/gpu_device.cc:993] Creating TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 278 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:65:00.0, compute capability: 6.1)
2019-09-11 19:19:26,825 - 109 - ERROR - Encountered Error: catching classes that do not inherit from BaseException is not allowed
Traceback (most recent call last):
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/layers/convolution.py", line 113, in get_conv_bias
bias_op = GraphHelper.filter_single_op_by_type(conv_output_ops, 'Add')
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/util.py", line 335, in filter_single_op_by_type
code_to_message.get_error_message('ERROR_TF_OPERATION_NOT_FOUND')(operation_type, operations_message))
snpe.converters.tensorflow.util.OperationNotFoundError: ERROR_TF_OPERATION_NOT_FOUND: Operation with type Add not found within [('mobilenet/inverted_bottleneck8_6_0/Conv_1/batch_normalization/FusedBatchNorm', 'FusedBatchNorm')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./snpe-tensorflow-to-dlc", line 103, in main
converter.convert(args.dlc, args.copyright_file, args.model_version, converter_command)
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/converter.py", line 309, in convert
self._convert_layers()
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/converter.py", line 343, in _convert_layers
descriptors = self._resolve_descriptors_from_nodes(graph_ops)
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/converter.py", line 481, in _resolve_descriptors_from_nodes
resolved_descriptors = resolver.resolve_layer(graph_matcher, self._graph_helper)
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/layers/convolution.py", line 80, in resolve_layer
bias_op, biases = self.get_conv_bias(graph_helper, conv_op, conv_output_ops)
File "/home/xxx/snpe-1.29.0.456/lib/python/snpe/converters/tensorflow/layers/convolution.py", line 115, in get_conv_bias
except OperationNotFoundError(ConverterError):
TypeError: catching classes that do not inherit from BaseException is not allowed
Can someone help me? I use the op of tf.layers.batch_normalization, but I don't find add op. What is the reason?