Thanks! That’s very helpful!
...
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:103: Parsing node: StatefulPartitionedCall/model_1/mixed10/concat [Concat]
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_86/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_88/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_89/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_92/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_93/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/activation_94/Relu:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/mixed10/concat [Concat] inputs: [StatefulPartitionedCall/model_1/activation_86/Relu:0 -> (1, 320, 8, 8)], [StatefulPartitionedCall/model_1/activation_88/Relu:0 -> (1, 384, 8, 8)], [StatefulPartitionedCall/model_1/activation_89/Relu:0 -> (1, 384, 8, 8)], [StatefulPartitionedCall/model_1/activation_92/Relu:0 -> (1, 384, 8, 8)], [StatefulPartitionedCall/model_1/activation_93/Relu:0 -> (1, 384, 8, 8)], [StatefulPartitionedCall/model_1/activation_94/Relu:0 -> (1, 192, 8, 8)],
[09/10/2021-12:45:23] [V] [TRT] ImporterContext.hpp:141: Registering layer: StatefulPartitionedCall/model_1/mixed10/concat for ONNX node: StatefulPartitionedCall/model_1/mixed10/concat
[09/10/2021-12:45:23] [V] [TRT] ImporterContext.hpp:116: Registering tensor: StatefulPartitionedCall/model_1/mixed10/concat:0 for ONNX tensor: StatefulPartitionedCall/model_1/mixed10/concat:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:179: StatefulPartitionedCall/model_1/mixed10/concat [Concat] outputs: [StatefulPartitionedCall/model_1/mixed10/concat:0 -> (1, 2048, 8, 8)],
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:103: Parsing node: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean [GlobalAveragePool]
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/mixed10/concat:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean [GlobalAveragePool] inputs: [StatefulPartitionedCall/model_1/mixed10/concat:0 -> (1, 2048, 8, 8)],
[09/10/2021-12:45:23] [V] [TRT] ImporterContext.hpp:141: Registering layer: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean for ONNX node: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean
[09/10/2021-12:45:23] [V] [TRT] ImporterContext.hpp:116: Registering tensor: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 for ONNX tensor: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:179: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean [GlobalAveragePool] outputs: [StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 -> (1, 2048, 1, 1)],
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:103: Parsing node: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean_Squeeze__496 [Squeeze]
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:119: Searching for input: const_axes__495
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean_Squeeze__496 [Squeeze] inputs: [StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 -> (1, 2048, 1, 1)], [const_axes__495 -> (2)],
terminate called after throwing an instance of 'std::out_of_range'
what(): Attribute not found: axes
Searching for input: const_axes__495
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean_Squeeze__496 [Squeeze] inputs: [StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 -> (1, 2048, 1, 1)], [const_axes__495 -> (2)],
terminate called after throwing an instance of 'std::out_of_range'
what(): Attribute not found: axes
Searching for input: const_axes__495
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean_Squeeze__496 [Squeeze] inputs: [StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 -> (1, 2048, 1, 1)], [const_axes__495 -> (2)],
terminate called after throwing an instance of 'std::out_of_range'
what(): Attribute not found: axes
Searching for input: const_axes__495
[09/10/2021-12:45:23] [V] [TRT] ModelImporter.cpp:125: StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean_Squeeze__496 [Squeeze] inputs: [StatefulPartitionedCall/model_1/sequential_4/global_average_pooling2d_1/Mean:0 -> (1, 2048, 1, 1)], [const_axes__495 -> (2)],
terminate called after throwing an instance of 'std::out_of_range'
what(): Attribute not found: axes
Aborted (core dumped)
So, seems it’s GlobalAveragePool
? Any advice I can relay back to the data scientist who created the model, or is this fixable with some conversion flags?