I just installed JetPack 4.2.2. and DeepStream 4.0 for Jetson.
And run a deepstream-test1-app but didn’t work.
Here is error message.
What I missed?
wideep3@jetbot-nano:/opt/nvidia/deepstream/deepstream-4.0/bin$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4
Failed to load config file: No such file or directory
** ERROR: <gst_nvinfer_parse_config_file:943>: failed
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4
Using winsys: x11
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:00.238892489 8635 0x250d9120 WARN nvinfer gstnvinfer.cpp:658:gst_nvinfer_start: error: Configuration file parsing failed
0:00:00.238945433 8635 0x250d9120 WARN nvinfer gstnvinfer.cpp:658:gst_nvinfer_start: error: Config file path: dstest1_pgie_config.txt
Running…
ERROR from element primary-nvinference-engine: Configuration file parsing failed
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(658): gst_nvinfer_start (): /GstPipeline:dstest1-pipeline/GstNvInfer:primary-nvinference-engine:
Config file path: dstest1_pgie_config.txt
Returned, stopping playback
Deleting pipeline
Hi YodaPaPa,
Below is “deepstream-test1-app” usage:
Usage: deepstream-test1-app <H264 filename>
Please try to run below commands:
$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
I tried but failed.
wideep3@jetbot-nano:~$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
Failed to load config file: No such file or directory
** ERROR: <gst_nvinfer_parse_config_file:943>: failed
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
Using winsys: x11
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:00.250623203 17687 0x1499d120 WARN nvinfer gstnvinfer.cpp:658:gst_nvinfer_start: error: Configuration file parsing failed
0:00:00.250675600 17687 0x1499d120 WARN nvinfer gstnvinfer.cpp:658:gst_nvinfer_start: error: Config file path: dstest1_pgie_config.txt
Running…
ERROR from element primary-nvinference-engine: Configuration file parsing failed
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(658): gst_nvinfer_start (): /GstPipeline:dstest1-pipeline/GstNvInfer:primary-nvinference-engine:
Config file path: dstest1_pgie_config.txt
Returned, stopping playback
Deleting pipeline
Hi YodaPaPa,
From log error is show failed to load config file.
Please check below folder:
/opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary_Detector/
The normal log should be:
$ deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
Now playing: /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
Using winsys: x11
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:01.081808184 8667 0x102dd520 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]:initialize(): Trying to create engine from model files
0:00:39.041533037 8667 0x102dd520 INFO nvinfer gstnvinfer.cpp:519:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]:generateTRTModel(): Storing the serialized cuda engine to file at /opt/nvidia/deepstream/deepstream-4.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_int8.engine
Running...
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Creating LL OSD context new
Frame Number = 0 Number of objects = 5 Vehicle Count = 3 Person Count = 2
Frame Number = 1 Number of objects = 5 Vehicle Count = 3 Person Count = 2
I’m using the Deepstream 4.x
I had the same problem…
you must go to : “/opt/nvidia/deepstream-4.0/sources/apps/sample_apps/deepstream-test1”
over there u will see a bunch of files:
c file
dstest1_pgie_config.txt
a Make file
a readme file
you compile by just typing : make
normally you should see a new file.
then you run:
./deepstream-test1-app /opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.h264
" et voilà!"
hope it helps - for me it did
2 Likes
Ooo… thanks so much. That saved my day, too.
I wonder if that’s ever documented 🤔