@AastaLLL
Thanks for replay.
Ok so now we use convert-to-uff
python3 convert-to-uff frozen_ssd_mobilenet.pb -O NMS -p config.py
(/usr/src/tensorrt/samples/sampleUffSSD/config.py)
Loading frozen_ssd_mobilenet.pb
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/uff/converters/tensorflow/conversion_helpers.py:274: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
NOTE: UFF has been tested with TensorFlow 1.15.0.
WARNING: The version of TensorFlow installed on this system is not guaranteed to work with UFF.
UFF Version 0.6.9
=== Automatically deduced input nodes ===
[name: "Input"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "shape"
value {
shape {
dim {
size: 1
}
dim {
size: 3
}
dim {
size: 300
}
dim {
size: 300
}
}
}
}
]
=========================================
Using output node NMS
Using output node NMS
Converting to UFF graph
Warning: No conversion function registered for layer: NMS_TRT yet.
Converting NMS as custom op: NMS_TRT
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/uff/converters/tensorflow/converter.py:226: The name tf.AttrValue is deprecated. Please use tf.compat.v1.AttrValue instead.
Warning: No conversion function registered for layer: FlattenConcat_TRT yet.
Converting concat_box_conf as custom op: FlattenConcat_TRT
Warning: No conversion function registered for layer: GridAnchor_TRT yet.
Converting GridAnchor as custom op: GridAnchor_TRT
Warning: No conversion function registered for layer: FlattenConcat_TRT yet.
Converting concat_box_loc as custom op: FlattenConcat_TRT
DEBUG [/usr/local/lib/python3.6/dist-packages/uff/converters/tensorflow/converter.py:143] Marking ['NMS', 'NMS'] as outputs
No. nodes: 662
UFF Output written to frozen_ssd_mobilenet.uff
In next step we are trying to load model using jetson-inference but we get some errors:
[TRT] TensorRT version 7.1.3
[TRT] loading NVIDIA plugins...
[TRT] Registered plugin creator - ::GridAnchor_TRT version 1
[TRT] Registered plugin creator - ::NMS_TRT version 1
[TRT] Registered plugin creator - ::Reorg_TRT version 1
[TRT] Registered plugin creator - ::Region_TRT version 1
[TRT] Registered plugin creator - ::Clip_TRT version 1
[TRT] Registered plugin creator - ::LReLU_TRT version 1
[TRT] Registered plugin creator - ::PriorBox_TRT version 1
[TRT] Registered plugin creator - ::Normalize_TRT version 1
[TRT] Registered plugin creator - ::RPROI_TRT version 1
[TRT] Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT] Could not register plugin creator - ::FlattenConcat_TRT version 1
[TRT] Registered plugin creator - ::CropAndResize version 1
[TRT] Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT] Registered plugin creator - ::Proposal version 1
[TRT] Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT] Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT] Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT] Registered plugin creator - ::Split version 1
[TRT] Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT] Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT] detected model format - UFF (extension '.uff')
[TRT] desired precision specified for GPU: FP16
[TRT] native precisions detected for GPU: FP32, FP16
[TRT] attempting to open engine cache file /usr/local/bin/networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff.1.1.7103.GPU.FP16.engine
[TRT] cache file not found, profiling network model on device GPU
[TRT] device GPU, loading /home/administrator/Desktop/LinuxAPP/ /usr/local/bin/networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff
[TRT] UFFParser: Parsing Input[Op: Input].
[TRT] UFFParser: Input -> [3,300,300]
[TRT] UFFParser: Applying order forwarding to: Input
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/weights -> [3,3,3,32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/weights
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/Conv2D[Op: Conv]. Inputs: Input, FeatureExtractor/MobilenetV2/Conv/weights
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/Conv2D -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/Conv2D
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/BatchNorm/gamma[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/BatchNorm/gamma -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/BatchNorm/gamma
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/BatchNorm/beta[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/BatchNorm/beta -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/BatchNorm/beta
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_mean[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_mean -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_mean
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_variance[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_variance -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_variance
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/Conv/Conv2D, FeatureExtractor/MobilenetV2/Conv/BatchNorm/gamma, FeatureExtractor/MobilenetV2/Conv/BatchNorm/beta, FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/Conv/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/BatchNorm/FusedBatchNormV3 -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/Conv/Relu6[Op: Activation]. Inputs: FeatureExtractor/MobilenetV2/Conv/BatchNorm/FusedBatchNormV3
[TRT] Setting dynamic range for (Unnamed Layer* 7) [Activation]_output to [0,6]
[TRT] UFFParser: FeatureExtractor/MobilenetV2/Conv/Relu6 -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/Conv/Relu6
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise_weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise_weights -> [3,3,32,1]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise_weights
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/Conv/Relu6, FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise_weights
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/gamma[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/gamma -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/gamma
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/beta[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/beta -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/beta
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_mean[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_mean -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_mean
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_variance[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_variance -> [32]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_variance
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/depthwise, FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/gamma, FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/beta, FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/FusedBatchNormV3 -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/depthwise/Relu6[Op: Activation]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/BatchNorm/FusedBatchNormV3
[TRT] Setting dynamic range for (Unnamed Layer* 15) [Activation]_output to [0,6]
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/Relu6 -> [32,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/Relu6
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/weights -> [1,1,32,16]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/weights
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/Conv2D[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/depthwise/Relu6, FeatureExtractor/MobilenetV2/expanded_conv/project/weights
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/Conv2D -> [16,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/Conv2D
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/gamma[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/gamma -> [16]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/gamma
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/beta[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/beta -> [16]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/beta
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_mean[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_mean -> [16]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_mean
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_variance[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_variance -> [16]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_variance
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/project/Conv2D, FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/gamma, FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/beta, FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/FusedBatchNormV3 -> [16,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv/output[Op: Identity]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/project/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv/output -> [16,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv/output
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/weights -> [1,1,16,96]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/weights
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Conv2D[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv/output, FeatureExtractor/MobilenetV2/expanded_conv_1/expand/weights
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Conv2D -> [96,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Conv2D
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/gamma[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/gamma -> [96]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/gamma
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/beta[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/beta -> [96]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/beta
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_mean[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_mean -> [96]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_mean
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_variance[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_variance -> [96]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_variance
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Conv2D, FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/gamma, FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/beta, FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/FusedBatchNormV3 -> [96,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Relu6[Op: Activation]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/BatchNorm/FusedBatchNormV3
[TRT] Setting dynamic range for (Unnamed Layer* 31) [Activation]_output to [0,6]
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Relu6 -> [96,150,150]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/expanded_conv_1/expand/Relu6
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/expanded_conv_1/depthwise/depthwise_weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/expanded_conv_1/depthwise/depthwise_weights -> [3,3,96,1]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/Conv2D, FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/gamma, FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/beta, FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/FusedBatchNormV3 -> [64,2,2]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/Relu6[Op: Activation]. Inputs: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/BatchNorm/FusedBatchNormV3
[TRT] Setting dynamic range for (Unnamed Layer* 541) [Activation]_output to [0,6]
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/Relu6 -> [64,2,2]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/Relu6
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/weights[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/weights -> [3,3,64,128]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/weights
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Conv2D[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/layer_19_1_Conv2d_5_1x1_64/Relu6, FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/weights
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Conv2D -> [128,1,1]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Conv2D
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma -> [128]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/beta[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/beta -> [128]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/beta
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean -> [128]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance[Op: Const].
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance -> [128]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/FusedBatchNormV3[Op: BatchNorm]. Inputs: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Conv2D, FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma, FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/beta, FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean, FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/FusedBatchNormV3 -> [128,1,1]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/FusedBatchNormV3
[TRT] UFFParser: Parsing FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Relu6[Op: Activation]. Inputs: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/FusedBatchNormV3
[TRT] Setting dynamic range for (Unnamed Layer* 549) [Activation]_output to [0,6]
[TRT] UFFParser: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Relu6 -> [128,1,1]
[TRT] UFFParser: Applying order forwarding to: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Relu6
[TRT] UFFParser: Parsing BoxPredictor_5/BoxEncodingPredictor/weights[Op: Const].
[TRT] UFFParser: BoxPredictor_5/BoxEncodingPredictor/weights -> [1,1,128,24]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/BoxEncodingPredictor/weights
[TRT] UFFParser: Parsing BoxPredictor_5/BoxEncodingPredictor/Conv2D[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Relu6, BoxPredictor_5/BoxEncodingPredictor/weights
[TRT] UFFParser: BoxPredictor_5/BoxEncodingPredictor/Conv2D -> [24,1,1]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/BoxEncodingPredictor/Conv2D
[TRT] UFFParser: Parsing BoxPredictor_5/BoxEncodingPredictor/biases[Op: Const].
[TRT] UFFParser: BoxPredictor_5/BoxEncodingPredictor/biases -> [24]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/BoxEncodingPredictor/biases
[TRT] UFFParser: Parsing BoxPredictor_5/BoxEncodingPredictor/BiasAdd[Op: Binary]. Inputs: BoxPredictor_5/BoxEncodingPredictor/Conv2D, BoxPredictor_5/BoxEncodingPredictor/biases
[TRT] UFFParser: BoxPredictor_5/BoxEncodingPredictor/BiasAdd -> [24,1,1]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/BoxEncodingPredictor/BiasAdd
[TRT] UFFParser: Parsing BoxPredictor_5/Shape[Op: Shape]. Inputs: FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/Relu6
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Shape
[TRT] UFFParser: Parsing BoxPredictor_5/strided_slice/stack[Op: Const].
[TRT] UFFParser: BoxPredictor_5/strided_slice/stack -> [1]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/strided_slice/stack
[TRT] UFFParser: Parsing BoxPredictor_5/strided_slice/stack_1[Op: Const].
[TRT] UFFParser: BoxPredictor_5/strided_slice/stack_1 -> [1]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/strided_slice/stack_1
[TRT] UFFParser: Parsing BoxPredictor_5/strided_slice/stack_2[Op: Const].
[TRT] UFFParser: BoxPredictor_5/strided_slice/stack_2 -> [1]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/strided_slice/stack_2
[TRT] UFFParser: Parsing BoxPredictor_5/strided_slice[Op: StridedSlice]. Inputs: BoxPredictor_5/Shape, BoxPredictor_5/strided_slice/stack, BoxPredictor_5/strided_slice/stack_1, BoxPredictor_5/strided_slice/stack_2
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/strided_slice
[TRT] UFFParser: Parsing BoxPredictor_5/Reshape/shape/1[Op: Const].
[TRT] UFFParser: BoxPredictor_5/Reshape/shape/1 -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Reshape/shape/1
[TRT] UFFParser: Parsing BoxPredictor_5/Reshape/shape/2[Op: Const].
[TRT] UFFParser: BoxPredictor_5/Reshape/shape/2 -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Reshape/shape/2
[TRT] UFFParser: Parsing BoxPredictor_5/Reshape/shape/3[Op: Const].
[TRT] UFFParser: BoxPredictor_5/Reshape/shape/3 -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Reshape/shape/3
[TRT] UFFParser: Parsing BoxPredictor_5/Reshape/shape[Op: Stack]. Inputs: BoxPredictor_5/strided_slice, BoxPredictor_5/Reshape/shape/1, BoxPredictor_5/Reshape/shape/2, BoxPredictor_5/Reshape/shape/3
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Reshape/shape
[TRT] UFFParser: Parsing BoxPredictor_5/Reshape[Op: Reshape]. Inputs: BoxPredictor_5/BoxEncodingPredictor/BiasAdd, BoxPredictor_5/Reshape/shape
[TRT] UFFParser: BoxPredictor_5/Reshape -> [6,1,4]
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_5/Reshape
[TRT] UFFParser: Parsing concat_box_loc[Op: _FlattenConcat_TRT]. Inputs: BoxPredictor_0/Reshape, BoxPredictor_1/Reshape, BoxPredictor_2/Reshape, BoxPredictor_3/Reshape, BoxPredictor_4/Reshape, BoxPredictor_5/Reshape
[TRT] UFFParser: Did not find plugin field entry ignoreBatch in the Registered Creator for layer concat_box_loc
[TRT] UFFParser: Did not find plugin field entry axis in the Registered Creator for layer concat_box_loc
[TRT] UFFParser: Parsing Squeeze[Op: Squeeze]. Inputs: concat_box_loc
[TRT] UFFParser: Squeeze -> [7668,1,1]
[TRT] UFFParser: Applying order forwarding to: Squeeze
[TRT] UFFParser: Parsing GridAnchor[Op: _GridAnchor_TRT].
[TRT] UFFParser: Parsing concat_priorbox[Op: Concat]. Inputs: GridAnchor
[TRT] UFFParser: concat_priorbox -> [2,7668,1]
[TRT] UFFParser: Applying order forwarding to: concat_priorbox
[TRT] UFFParser: Parsing Concatenate/concat[Op: Concat]. Inputs: concat_priorbox, GridAnchor
[TRT] Parameter check failed at: ../builder/Layers.h::setAxis::381, condition: axis >= 0 && axis < Dims::MAX_DIMS
[TRT] Concatenate/concat: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [2,7668,1], Input 1 shape: [2,4332,1]
[TRT] UFFParser: Concatenate/concat -> []
[TRT] UFFParser: Applying order forwarding to: Concatenate/concat
[TRT] UFFParser: Parsing BoxPredictor_0/ClassPredictor/weights[Op: Const].
[TRT] Concatenate/concat: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [2,7668,1], Input 1 shape: [2,4332,1]
[TRT] UFFParser: BoxPredictor_0/ClassPredictor/weights -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_0/ClassPredictor/weights
[TRT] UFFParser: Parsing BoxPredictor_0/ClassPredictor/Conv2D[Op: Conv]. Inputs: FeatureExtractor/MobilenetV2/expanded_conv_13/expand/Relu6, BoxPredictor_0/ClassPredictor/weights
[TRT] Concatenate/concat: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [2,7668,1], Input 1 shape: [2,4332,1]
[TRT] UFFParser: BoxPredictor_0/ClassPredictor/Conv2D -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_0/ClassPredictor/Conv2D
[TRT] UFFParser: Parsing BoxPredictor_0/ClassPredictor/biases[Op: Const].
[TRT] Concatenate/concat: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [2,7668,1], Input 1 shape: [2,4332,1]
[TRT] UFFParser: BoxPredictor_0/ClassPredictor/biases -> []
[TRT] UFFParser: Applying order forwarding to: BoxPredictor_0/ClassPredictor/biases
[TRT] UFFParser: Parsing BoxPredictor_0/ClassPredictor/BiasAdd[Op: Binary]. Inputs: BoxPredictor_0/ClassPredictor/Conv2D, BoxPredictor_0/ClassPredictor/biases
[TRT] Concatenate/concat: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [2,7668,1], Input 1 shape: [2,4332,1]
[TRT] UffParser: Parser error: BoxPredictor_0/ClassPredictor/BiasAdd: The input to the Scale Layer is required to have a minimum of 3 dimensions.
[TRT] failed to parse UFF model '/usr/local/bin/networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff'
[TRT] device GPU, failed to load networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff
[TRT] detectNet -- failed to initialize.
Segmentation fault (core dumped)[log_jetson.txt|attachment](upload://iTKVN2IZ69RjNIOJE34fizZYTZs.txt) (224.1 KB)
UPDATE
So we just try to run config.py from this post. It’s working for mobilenet_v2
https://forums.developer.nvidia.com/t/how-adapt-tensorflow-object-detection-for-custom-dataset-to-deepstream-5-0/145706/15?u=harryxdllll
Can you guide as what we should change in the config file to export ssd_resnet_50_fpn_coco?