Cannot run deepstream-app with detectnet

I use the following command to run deepstream-app.
cd /opt/nvidia/deepstream/deepstream-5.0/samples
deepstream-app -c configs/tlt_pretrained_models/config_infer_primary_detectnet_v2.txt
** ERROR: main:655: Failed to set pipeline to PAUSED
ERROR from src_bin_muxer: Output width not set
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream/gstnvstreammux.c(2283): gst_nvstreammux_change_state (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer
App run failed

Does Nvidia provide sample program for running deepstream-app with detectnet?

Hardware Platform: Jetson NX
DeepStream Version: 5.0
JetPack Version: 4.4
TensorRT: 7.1.3


Have you downloaded detectnetv2_resnet18.etlt successfully into models/tlt_pretrained_models/detectnet_v2/?

There are guide lines that how you can download these pre-trained models in the README file.

Thanks for your reply!