Commit a8e13f1c authored by wufan3's avatar wufan3
Browse files

Fix directory name

parent ce5b4294
...@@ -26,10 +26,14 @@ bash /opt/deepstream/install.sh ...@@ -26,10 +26,14 @@ bash /opt/deepstream/install.sh
``` ```
cd /home/deepstream cd /home/deepstream
gst-launch-1.0 filesrc location=./streams/cr7_1920x1080.h264 ! h264parse ! hyh264dec ! queue name=q1 ! mux.sink_0 nvstreammux name=mux batch-size=1 ! nvinferserver config-file-path=./sugon_apps/sample_apps/deepstream_test1_NV/dstest1_pgie_nvinferserver_config.txt ! nvdsosd ! hycudah264enc bitrate=4000 ! h264parse ! matroskamux ! filesink location=./streams/newresult.mkv gst-launch-1.0 filesrc location=./streams/cr7_1920x1080.h264 ! h264parse ! hyh264dec ! queue name=q1 ! mux.sink_0 nvstreammux name=mux batch-size=1 ! queue name=q2 ! nvinferserver config-file-path=./sugon_apps/sample_apps/deepstream-detection-test/dstest1_pgie_nvinferserver_config.txt ! queue name=q3 ! nvdsosd ! queue name=q4 ! hycudah264enc bitrate=4000 ! queue name=q5 ! h264parse ! matroskamux ! filesink location=./streams/deepstream-detection-output.mkv
gst-launch-1.0 filesrc location=./streams/cr7_1920x1080.h264 ! h264parse ! hyh264dec ! queue name=q1 ! mux.sink_0 nvstreammux name=mux batch-size=1 ! queue name=q2 ! nvinferserver config-file-path=./sugon_apps/sample_apps/deepstream-classification-test/dstest2_sgie1_nvinferserver_config.txt ! queue name=q3 ! nvdsosd ! queue name=q4 ! hycudah264enc bitrate=4000 ! queue name=q5 ! h264parse ! matroskamux ! filesink location=./streams/deepstream-classification-output.mkv
gst-launch-1.0 filesrc location=./streams/cr7_1920x1080.h264 ! h264parse ! hyh264dec ! queue name=q1 ! mux.sink_0 nvstreammux name=mux batch-size=1 ! queue name=q2 ! nvinferserver config-file-path=./sugon_apps/sample_apps/deepstream-segmentation-test/dstest_segmentation_config_semantic.txt ! queue name=q3 ! nvdsosd ! queue name=q4 ! hycudah264enc bitrate=4000 ! queue name=q5 ! h264parse ! matroskamux ! filesink location=./streams/deepstream-segmentation-output.mkv
``` ```
## 运行结果 ## 运行结果
推理结果保存在`/home/deepstream/streams/newresult.mkv` 推理结果保存在`/home/deepstream/streams/`目录下
## 备注 ## 备注
1. deepstream仅限于BW环境中运行 1. deepstream仅限于BW环境中运行
...@@ -26,7 +26,7 @@ infer_config { ...@@ -26,7 +26,7 @@ infer_config {
model_name: "Primary_Detector" model_name: "Primary_Detector"
version: 1 version: 1
model_repo { model_repo {
root: "../../../sugon_samples/triton_model_repo_NV" root: "../../../sugon_samples/triton_model_repo"
strict_model_config: true strict_model_config: true
backend_dir: "./sugon_samples/backends" # relative to the command running directory backend_dir: "./sugon_samples/backends" # relative to the command running directory
#log_level: 3 #log_level: 3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment