Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error found when run the code #3

Open
lmw0320 opened this issue Dec 21, 2022 · 6 comments
Open

Error found when run the code #3

lmw0320 opened this issue Dec 21, 2022 · 6 comments

Comments

@lmw0320
Copy link

lmw0320 commented Dec 21, 2022

I just followed the steps of commands show in Readme:

  1. apt install git-lfs
    git lfs install --skip-repo
    git clone https://github.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app.git
  2. apt-get install -y libjson-glib-dev libgstrtspserver-1.0-dev
  3. cd tritonserver/
    ./build_engine.sh
    4.cd tritonclient/sample/
    source build.sh
    ./apps/deepstream-parallel-infer/deepstream-parallel-infer -c configs/apps/bodypose_yolo_lpr/source4_1080p_dec_parallel_infer.yml

I can run all the commands sucessfully except the last line, the errors are shown below:
微信图片_20221221105949

@BaekMoses
Copy link

BaekMoses commented Dec 26, 2022

I found that this error was related to "nvinferserver(Triton)".
When I replaced it with "nvinfer(TRT)" stuffs in config file, sucessfully worked.

  1. I simply use "bodypose_yolo/source4_1080p_dec_parallel_infer.yml" instead of "bodypose_yolo_lpr/source4_1080p_dec_parallel_infer.yml". because I couldn't find trt engine of lpr.
  2. set "plugin-type=0" in primay-gie0 and primay-gie1 of source4_1080p_dec_parallel_infer.yml.
  3. change config path to "config_yolov4_infer.txt" and "config_body2_infer.txt".

After that I suddenly met typo erros like "lable.txt doesnt exists". I fixed it. And it works.
(yolov4/lables.txt didn't exisit in proper folder, I copied and renamed as "labels.txt" from coco.names in same directory".

If you want to use "nvinferserver(Triton)", other guys probably help us.

@lmw0320
Copy link
Author

lmw0320 commented Jan 3, 2023

Thanks for your reply. I had tried your advice but still got error as follows:
1
B5A3533E-6EFE-43a7-841F-F384812433FD

@BaekMoses
Copy link

@lmw0320
"Failed to create infer_bin_muxer" is related to "nvdsmetamux".
"gst-nvdsmetamux" plugin newly introduced in DeepStream 6.1.1 or above.

Check this:

  • Your deepstream version is 6.1.1 or above.

@lmw0320
Copy link
Author

lmw0320 commented Jan 31, 2023

@lmw0320 "Failed to create infer_bin_muxer" is related to "nvdsmetamux". "gst-nvdsmetamux" plugin newly introduced in DeepStream 6.1.1 or above.

Check this:

  • Your deepstream version is 6.1.1 or above.

Thanks for your reply. I run the code under DP6.1.1, and found new error ;ERROR: infer_trtis_server.cpp:1052 Triton: failed to load model yolov4, triton_err_str:Invalid argument, err_msg:load failed for model 'yolov4': version 1: Unavailable: unable to find '/opt/nvidia/deepstream/deepstream-6.1/sources/apps/sample_apps/deepstream_parallel_inference_app/tritonserver/models/yolov4/1/yolov4_-1_3_416_416_dynamic.onnx_b32_gpu0.engine' for model instance 'yolov4_0';

when running the command : ./apps/deepstream-parallel-infer/deepstream-parallel-infer -c configs/apps/bodypose_yolo_lpr/source4_1080p_dec_parallel_infer.yml

@yangaaa123
Copy link

I just followed the steps of commands show in Readme:

  1. apt install git-lfs
    git lfs install --skip-repo
    git clone https://github.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app.git
  2. apt-get install -y libjson-glib-dev libgstrtspserver-1.0-dev
  3. cd tritonserver/
    ./build_engine.sh
    4.cd tritonclient/sample/
    source build.sh
    ./apps/deepstream-parallel-infer/deepstream-parallel-infer -c configs/apps/bodypose_yolo_lpr/source4_1080p_dec_parallel_infer.yml

I can run all the commands sucessfully except the last line, the errors are shown below: 微信图片_20221221105949

Have you solved this problem? I have the same problem

@DXL64
Copy link

DXL64 commented Mar 12, 2024

Did you install plugin nvinferserver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants