Error while running sample deepstream tao pose classification app

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.4
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 535.154.05
• Issue Type( questions, new requirements, bugs) questions, bug
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

  1. clone deepstream_tao_apps repo - git clone GitHub - NVIDIA-AI-IOT/deepstream_tao_apps: Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
  2. run deepstream triton docker and exec inside it - docker docker run --gpus ‘“device=0”’ -it --rm --net=host -v <path_to_cloned_repo>:/scratch_space nvcr.io/nvidia/deepstream:6.4-triton-multiarch
  3. download required models by running
echo "==================================================================="

echo "begin downloading PeopleNet model "

echo "==================================================================="

mkdir -p ./models/peoplenet

cd ./models/peoplenet

wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/peoplenet/pruned_quantized_decrypted_v2.3.3/files?redirect=true&path=resnet34_peoplenet_int8.onnx' -O resnet34_peoplenet_int8.onnx

wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/peoplenet/pruned_quantized_decrypted_v2.3.3/files?redirect=true&path=resnet34_peoplenet_int8.txt' -O resnet34_peoplenet_int8.txt

wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/peoplenet/pruned_quantized_decrypted_v2.3.3/files?redirect=true&path=labels.txt' -O labels.txt

echo "==================================================================="

echo "begin downloading BodyPose3DNet model "

echo "==================================================================="

cd -

mkdir -p ./models/bodypose3dnet

cd ./models/bodypose3dnet

wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/bodypose3dnet/versions/deployable_accuracy_v1.0/files/bodypose3dnet_accuracy.etlt

echo "==================================================================="

echo "begin downloading poseclassificationnet model "

echo "==================================================================="

cd -

mkdir -p ./models/poseclassificationnet

cd ./models/poseclassificationnet

wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/poseclassificationnet/versions/deployable_v1.0/files/st-gcn_3dbp_nvidia.etlt

echo "==================================================================="

echo "begin downloading tracker model "

echo "==================================================================="

cd -

mkdir -p /opt/nvidia/deepstream/deepstream/samples/models/Tracker

cd /opt/nvidia/deepstream/deepstream/samples/models/Tracker

wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/reidentificationnet/versions/deployable_v1.0/files/resnet50_market1501.etlt

echo "==================================================================="
echo "begin downloading Re-Identification model "
echo "==================================================================="
cd -
mkdir -p ./models/reidentificationnet
cd ./models/reidentificationnet
wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/reidentificationnet/deployable_v1.2/files?redirect=true&path=resnet50_market1501_aicity156.onnx' -O resnet50_market1501_aicity156.onnx

  1. convert said models with
#!/bin/bash

IS_JETSON_PLATFORM=`uname -i | grep aarch64`

export PATH=$PATH:/usr/src/tensorrt/bin


if [ ! ${IS_JETSON_PLATFORM} ]; then
    wget --content-disposition 'https://api.ngc.nvidia.com/v2/resources/org/nvidia/team/tao/tao-converter/v5.1.0_8.6.3.1_x86/files?redirect=true&path=tao-converter' -O tao-converter
else
    wget --content-disposition 'https://api.ngc.nvidia.com/v2/resources/org/nvidia/team/tao/tao-converter/v5.1.0_jp6.0_aarch64/files?redirect=true&path=tao-converter' -O tao-converter
fi
chmod 755 tao-converter

#reidentificationnet

echo "Building Model reidentificationnet"

mkdir -p models/reidentificationnet/1

trtexec --minShapes=input:1x3x256x128 --optShapes=input:8x3x256x128 --maxShapes=input:16x3x256x128 \

--fp16 --saveEngine=models/reidentificationnet/1/resnet50_market1501_aicity156.onnx_b16_gpu0_fp16.engine \

--onnx=models/reidentificationnet/resnet50_market1501_aicity156.onnx --workspace=100000&

#peoplenet
echo "Building Model peoplenet..."
mkdir  -p  models/peoplenet/1
trtexec --onnx=./models/peoplenet/resnet34_peoplenet_int8.onnx --int8 \
--calib=./models/peoplenet/resnet34_peoplenet_int8.txt --saveEngine=./models/peoplenet/1/resnet34_peoplenet_int8.onnx_b1_gpu0_int8.engine \
--minShapes="input_1:0":1x3x544x960 --optShapes="input_1:0":1x3x544x960 --maxShapes="input_1:0":1x3x544x960&

#poseclassificationnet
echo "Building Model poseclassificationnet..."
mkdir  -p  models/poseclassificationnet/1
./tao-converter -k nvidia_tao -t fp16 -p  input,1x3x300x34x1,1x3x300x34x1,1x3x300x34x1 \
 -e models/poseclassificationnet/1/st-gcn_3dbp_nvidia.etlt_b1_gpu0_fp16.engine models/poseclassificationnet/st-gcn_3dbp_nvidia.etlt&

#bodypose3dnet
echo "Building Model bodypose3dnet..."
mkdir -p models/bodypose3dnet/1
./tao-converter -k tlt_encode -t fp16 -d 3,256,192 -b 8 \
-p input0,1x3x256x192,8x3x256x192,8x3x256x192 \
-p k_inv,1x3x3,8x3x3,8x3x3 \
-p t_form_inv,1x3x3,8x3x3,8x3x3 \
-p scale_normalized_mean_limb_lengths,1x36,8x36,8x36 \
-p mean_limb_lengths,1x36,8x36,8x36 \
-e models/bodypose3dnet/1/bodypose3dnet_accuracy.etlt_b8_gpu0_fp16.engine \
models/bodypose3dnet/bodypose3dnet_accuracy.etlt

  1. cd /apps/tao_others/deepstream-pose-classification
  2. apt install libeigen3-dev && cd /usr/include && ln -sf eigen3/Eigen Eigen && cd -
  3. export CUDA_VER=12.2
  4. make
  5. on running GST_DEBUG=3 ./deepstream-pose-classification-app …/…/…/configs/a
    pp/deepstream_pose_classification_config.yaml

I get the following logs

width 1280 hight 720
video file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov
WARNING: Overriding infer-config batch-size (0) with number of sources (1)
WARNING: Overriding infer-config batch-size (0) with number of sources (1)
config_file_path:/scratch_space/configs/nvinfer/bodypose_classification_tao/config_preprocess_bodypose_classification.txt
Now playing!
0:00:00.077189926 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077214081 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat YM12
0:00:00.077220142 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077225432 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat YM12
0:00:00.077234459 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077239188 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat Y444
0:00:00.077251711 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077256881 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat Y444
0:00:00.077266429 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077272951 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat P410
0:00:00.077282709 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077287598 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat P410
0:00:00.077298679 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077308458 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat PM10
0:00:00.077313046 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077325359 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat PM10
0:00:00.077333013 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077342070 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat NM12
0:00:00.077346769 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077355796 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat NM12
0:00:00.077386033 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077392315 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe minimum capture size for pixelformat H264
0:00:00.077396603 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077401291 2342 0x58a14ed0ef20 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe maximum capture size for pixelformat H264
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:4 initialized model: poseclassificationnet
WARNING: infer_utils.cpp:176 unsupported tensor order for dims to image-info, retry as kLinear
frameSeqLen:300
0:00:00.906698661 2342 0x58a14ed0ef20 WARN nvinferserver gstnvinferserver_impl.cpp:360:validatePluginConfig: warning: Configuration file batch-size reset to: 1
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: bodypose3dnet
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
[NvMultiObjectTracker] Loading TRT Engine for tracker ReID…
[NvMultiObjectTracker] Loading Complete!
E0427 08:04:40.466660 2342 logging.cc:40] 3: [runtime.cpp::~Runtime::346] Error Code 3: API Usage Error (Parameter check failed at: runtime/rt/runtime.cpp::~Runtime::346, condition: mEngineCounter.use_count() == 1. Destroying a runtime before destroying deserialized engines created by the runtime leads to undefined behavior.
)
[NvMultiObjectTracker] Initialized
WARNING: infer_proto_utils.cpp:144 auto-update preprocess.network_format to IMAGE_FORMAT_RGB
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: peoplenet
0:00:01.079794477 2342 0x58a14ed0ef20 WARN basesrc gstbasesrc.c:3688:gst_base_src_start_complete: pad not activated yet
Decodebin child added: source
Decodebin child added: decodebin0
0:00:01.080059403 2342 0x58a14ed0ef20 WARN basesrc gstbasesrc.c:3688:gst_base_src_start_complete: pad not activated yet
Running…
Decodebin child added: qtdemux0
0:00:01.082653564 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type tmcd
0:00:01.082692927 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type sgpd
0:00:01.082698798 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type sbgp
0:00:01.082705511 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type text
0:00:01.082715439 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type tmcd
0:00:01.082724176 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type tmcd
0:00:01.082735737 2342 0x58a153eed460 WARN qtdemux qtdemux.c:7942:qtdemux_parse_container: length too long (2184644 > 37)
0:00:01.082740867 2342 0x58a153eed460 WARN qtdemux qtdemux_types.c:249:qtdemux_type_get: unknown QuickTime node type keys
0:00:01.082799517 2342 0x58a153eed460 WARN qtdemux qtdemux.c:3121:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:01.082856273 2342 0x58a153eed460 WARN qtdemux qtdemux.c:3121:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:01.082896989 2342 0x58a153eed460 WARN qtdemux qtdemux.c:10165:qtdemux_parse_segments: Segment 0 extends to 0:00:09.609633333 past the end of the declared movie duration 0:00:09.609600000 movie segment will be extended
0:00:01.082914452 2342 0x58a153eed460 WARN qtdemux qtdemux.c:3121:qtdemux_parse_trex: failed to find fragment defaults for stream 3
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
0:00:01.084018809 2342 0x58a153eed460 WARN uridecodebin gsturidecodebin.c:960:unknown_type_cb: warning: No decoder available for type ‘audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2’.
Decodebin child added: nvv4l2decoder0
0:00:01.085650986 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085670944 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MJPG
0:00:01.085689789 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085700078 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MJPG
0:00:01.085712081 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085721308 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat AV10
0:00:01.085726087 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085738640 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat AV10
0:00:01.085751725 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085757726 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat DVX5
0:00:01.085762415 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085772464 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat DVX5
0:00:01.085785508 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085794575 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat DVX4
0:00:01.085799103 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085807529 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat DVX4
0:00:01.085815264 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085824842 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MPG4
0:00:01.085836283 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085842445 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MPG4
0:00:01.085854808 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085864616 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat MPG2
0:00:01.085874354 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085881217 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat MPG2
0:00:01.085893330 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085908408 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H265
0:00:01.085920441 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085927354 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H265
0:00:01.085939035 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085945077 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat VP90
0:00:01.085949375 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085960836 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat VP90
0:00:01.085967088 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085977307 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat VP80
0:00:01.085981765 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.085990993 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat VP80
0:00:01.085997755 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.086007153 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe minimum capture size for pixelformat H264
0:00:01.086011992 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:sink Unable to try format: Unknown error -1
0:00:01.086022502 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:sink Could not probe maximum capture size for pixelformat H264
0:00:01.086048931 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086056385 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat Y444
0:00:01.086066724 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086072085 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat Y444
0:00:01.086086121 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086092352 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat P410
0:00:01.086104124 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086110326 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat P410
0:00:01.086123070 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086132698 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat PM10
0:00:01.086141384 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086146093 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat PM10
0:00:01.086157725 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086167263 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe minimum capture size for pixelformat NM12
0:00:01.086172062 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nvv4l2decoder0:src Unable to try format: Unknown error -1
0:00:01.086176600 2342 0x772a6005ab60 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nvv4l2decoder0:src Could not probe maximum capture size for pixelformat NM12

In cb_newpad
###Decodebin pick nvidia decoder plugin.
0:00:01.221371598 2342 0x58a14e594520 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:nv-filesink-encoder:pool:src Uncertain or not enough buffers, enabling copy threshold
0:00:01.222559953 2342 0x772a6005ab60 WARN v4l2videodec gstv4l2videodec.c:2258:gst_v4l2_video_dec_decide_allocation: Duration invalid, not setting latency
0:00:01.222587835 2342 0x772a6005ab60 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:nvv4l2decoder0:pool:src Uncertain or not enough buffers, enabling copy threshold
0:00:01.223420061 2342 0x772a6400ab00 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:nvv4l2decoder0:pool:src Driver should never set v4l2_buffer.field to ANY

0:00:02.284421037 2342 0x772a6400aa40 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:nv-filesink-encoder:pool:src Driver should never set v4l2_buffer.field to ANY
0:00:02.285146973 2342 0x58a14e594060 FIXME basesink gstbasesink.c:3395:gst_base_sink_default_event: stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:02.285240909 2342 0x58a14e594060 FIXME aggregator gstaggregator.c:1410:gst_aggregator_aggregate_func: Subclass should call gst_aggregator_selected_samples() from its aggregate implementation.
deepstream-pose-classification-app: gstnvinferserver_impl.cpp:908: NvDsInferStatus gstnvinferserver::GstNvInferServerImpl::processInputTensor(NvDsBatchMeta*, NvBufSurface*, uint64_t, void*): Assertion `roiIter->size() == tensorInputBatch.batchSize’ failed.
Aborted (core dumped)

would appreciate some help to better understand if I am missing something?

it is because the source number is not equal to the first parameter(nvdspreprocess batch-size) of network-input-shape in configs/nvinfer/bodypose_classification_tao/config_preprocess_bodypose_classification.txt.
solution:
you can set two sources in indeepstream_pose_classification_config.yaml. for example:
list: file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov;file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov

1 Like

on mkaing that change logs are as follows

width 1280 hight 720
video file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov
video file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov
WARNING: Overriding infer-config batch-size (0) with number of sources (2)
WARNING: Overriding infer-config batch-size (0) with number of sources (2)
config_file_path:/scratch_space/configs/nvinfer/bodypose_classification_tao/config_preprocess_bodypose_classification.txt
Now playing!
0:00:00.076915872 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.076939998 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat YM12
0:00:00.076946510 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.076951760 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat YM12
0:00:00.076961558 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.076976476 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat Y444
0:00:00.076993047 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077001202 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat Y444
0:00:00.077020709 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077031890 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat P410
0:00:00.077036558 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077046467 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat P410
0:00:00.077062657 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077075842 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat PM10
0:00:00.077089427 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077094928 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat PM10
0:00:00.077111799 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077126607 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat NM12
0:00:00.077139291 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077150592 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat NM12
0:00:00.077184505 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077195115 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe minimum capture size for pixelformat H264
0:00:00.077200064 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077211215 176 0x613f146f9860 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe maximum capture size for pixelformat H264
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:4 initialized model: poseclassificationnet
WARNING: infer_utils.cpp:176 unsupported tensor order for dims to image-info, retry as kLinear
frameSeqLen:300
0:00:00.936988591 176 0x613f146f9860 WARN nvinferserver gstnvinferserver_impl.cpp:360:validatePluginConfig: warning: Configuration file batch-size reset to: 2
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: bodypose3dnet
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[src/modules/ReID/ReID.cpp, loadTRTEngine() @line 598]: Engine file does not exist
[NvMultiObjectTracker] Load engine failed. Create engine again.

!![ERROR] TAO model file does not exist
[NvMultiObjectTracker] De-initialized
An exception occurred. TAO model file does not exist
gstnvtracker: Failed to initialize tracker context!
gstnvtracker:: Failed to create batch context. Shutting down processing.
0:00:05.883823636 176 0x613f146f9860 ERROR nvtracker gstnvtracker.cpp:259:gst_nv_tracker_start: gstnvtracker: Failed to initialize trackerIface

0:00:05.883882867 176 0x613f146f9860 WARN GST_PADS gstpad.c:1141:gst_pad_set_active:tracker:sink Failed to activate pad
size:20
Running…

^C** ERROR: <_intr_handler:1205>: User Interrupted…

(deepstream-pose-classification-app:176): GLib-CRITICAL **: 07:31:56.627: g_main_loop_quit: assertion ‘loop != NULL’ failed

also @fanzh given that i converted models to engine files as per build_engine.sh in the repo, shouldn’t batch size of 2 create problems?

tracker model can’t be found. please execute this command-line to download model.

1 Like

yeah my bad, i had moved the tracker model elsewhere. now logs are -

width 1280 hight 720
video file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov
video file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_walk.mov
WARNING: Overriding infer-config batch-size (0) with number of sources (2)
WARNING: Overriding infer-config batch-size (0) with number of sources (2)
config_file_path:/scratch_space/configs/nvinfer/bodypose_classification_tao/config_preprocess_bodypose_classification.txt
Now playing!
0:00:00.077368089 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077394608 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat YM12
0:00:00.077401091 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077406390 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat YM12
0:00:00.077415788 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077427700 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat Y444
0:00:00.077434293 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077438881 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat Y444
0:00:00.077452026 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077456805 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat P410
0:00:00.077466343 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077471192 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat P410
0:00:00.077481241 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077490568 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat PM10
0:00:00.077496559 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077502661 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat PM10
0:00:00.077510265 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077518230 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe minimum capture size for pixelformat NM12
0:00:00.077522498 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:sink Unable to try format: Unknown error -1
0:00:00.077531645 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:sink Could not probe maximum capture size for pixelformat NM12
0:00:00.077565859 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077574766 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe minimum capture size for pixelformat H264
0:00:00.077583622 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:nv-filesink-encoder:src Unable to try format: Unknown error -1
0:00:00.077590665 214 0x5fa95c2ac260 WARN v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:nv-filesink-encoder:src Could not probe maximum capture size for pixelformat H264
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:4 initialized model: poseclassificationnet
WARNING: infer_utils.cpp:176 unsupported tensor order for dims to image-info, retry as kLinear
frameSeqLen:300
0:00:00.917871480 214 0x5fa95c2ac260 WARN nvinferserver gstnvinferserver_impl.cpp:360:validatePluginConfig: warning: Configuration file batch-size reset to: 2
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: bodypose3dnet
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[src/modules/ReID/ReID.cpp, loadTRTEngine() @line 598]: Engine file does not exist
[NvMultiObjectTracker] Load engine failed. Create engine again.
WARNING: [TRT]: onnx2trt_utils.cpp:374: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
WARNING: …/nvdsinfer/nvdsinfer_model_builder.cpp:1208 INT8 calibration file not specified. Trying FP16 mode.
[NvMultiObjectTracker] Serialized plan file cached at location: /opt/nvidia/deepstream/deepstream-6.4/samples/models/Tracker/resnet50_market1501.etlt_b100_gpu0_fp16.engine
[NvMultiObjectTracker] Initialized
0:00:57.748448267 214 0x5fa95c2ac260 WARN nvinferserver gstnvinferserver_impl.cpp:360:validatePluginConfig: warning: Configuration file batch-size reset to: 2
WARNING: infer_proto_utils.cpp:144 auto-update preprocess.network_format to IMAGE_FORMAT_RGB
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: peoplenet
ERROR: infer_trtis_server.cpp:1146 Triton: Triton inferAsync API call failed, triton_err_str:Invalid argument, err_msg:[request id: 2] inference request batch-size must be <= 1 for ‘peoplenet’
ERROR: infer_trtis_backend.cpp:594 TRT-IS async inference failed., nvinfer error:NVDSINFER_TRITON_ERROR
ERROR: infer_trtis_backend.cpp:363 failed to specify dims when running inference on model:peoplenet, nvinfer error:NVDSINFER_TRITON_ERROR
0:00:57.766493878 214 0x5fa95c2ac260 ERROR nvinferserver gstnvinferserver.cpp:408:gst_nvinfer_server_logger: nvinferserver[UID 1]: Error in specifyBackendDims() <infer_trtis_context.cpp:204> [UID = 1]: failed to specify input dims triton backend for model:peoplenet, nvinfer error:NVDSINFER_TRITON_ERROR
0:00:57.766504327 214 0x5fa95c2ac260 ERROR nvinferserver gstnvinferserver.cpp:408:gst_nvinfer_server_logger: nvinferserver[UID 1]: Error in createNNBackend() <infer_trtis_context.cpp:292> [UID = 1]: failed to specify triton backend input dims for model:peoplenet, nvinfer error:NVDSINFER_TRITON_ERROR
0:00:57.766907021 214 0x5fa95c2ac260 ERROR nvinferserver gstnvinferserver.cpp:408:gst_nvinfer_server_logger: nvinferserver[UID 1]: Error in initialize() <infer_base_context.cpp:79> [UID = 1]: create nn-backend failed, check config file settings, nvinfer error:NVDSINFER_TRITON_ERROR
0:00:57.766929062 214 0x5fa95c2ac260 WARN nvinferserver gstnvinferserver_impl.cpp:592:start: error: Failed to initialize InferTrtIsContext
0:00:57.766934693 214 0x5fa95c2ac260 WARN nvinferserver gstnvinferserver_impl.cpp:592:start: error: Config file path: /scratch_space/configs/triton/peoplenet_tao/config_infer_primary_peoplenet.yml
0:00:57.766960391 214 0x5fa95c2ac260 WARN nvinferserver gstnvinferserver.cpp:518:gst_nvinfer_server_start: error: gstnvinferserver_impl start failed
0:00:57.766989335 214 0x5fa95c2ac260 WARN GST_PADS gstpad.c:1141:gst_pad_set_active:primary-nvinference-engine:sink Failed to activate pad
size:20
ERROR: infer_trtis_server.cpp:885 Triton: failed to stop repo server, triton_err_str:Internal, err_msg:Exit timeout expired. Exiting immediately.
[NvMultiObjectTracker] De-initialized
Running…

ERROR from element primary-nvinference-engine: Failed to initialize InferTrtIsContext
Error details: gstnvinferserver_impl.cpp(592): start (): /GstPipeline:deepstream_pose_classfication_app/GstNvInferServer:primary-nvinference-engine:
Config file path: /scratch_space/configs/triton/peoplenet_tao/config_infer_primary_peoplenet.yml
Returned, stopping playback
Deleting pipeline

so i just converted peoplenet such that it can work on > 1 batch size ie. here deepstream_tao_apps/build_triton_engine.sh at 4a8c6abce7b4e389d6802b634944e00b29d21e1e · NVIDIA-AI-IOT/deepstream_tao_apps · GitHub

it should have something like

trtexec --onnx=./models/peoplenet/resnet34_peoplenet_int8.onnx --int8
–calib=./models/peoplenet/resnet34_peoplenet_int8.txt --saveEngine=./models/peoplenet/1/resnet34_peoplenet_int8.onnx_b1_gpu0_int8.engine
–minShapes=“input_1:0”:1x3x544x960 --optShapes=“input_1:0”:4x3x544x960 --maxShapes=“input_1:0”:8x3x544x960

instead. thanks it works now

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.