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

No Detection for Centerface Model Inference with Deepstream #13

Open
Darshcg opened this issue Apr 6, 2021 · 3 comments
Open

No Detection for Centerface Model Inference with Deepstream #13

Darshcg opened this issue Apr 6, 2021 · 3 comments

Comments

@Darshcg
Copy link

Darshcg commented Apr 6, 2021

Hi Nvidia Team,

I am trying to run the Centerface model Inference on my Laptop using Deepstream Container nvcr.io/nvidia/deepstream:5.1-21.02-triton, App is running Successfully, but there is no Detection in the Output File(.mp4). I am not sure what's going wrong.

I am using .so which is given in the repo. I did not compiled on my Laptop.

I am attaching the config files below:

centerface.txt
source1_primary_detector.txt

Below is config.pbtxt content:

name: "centerface"
platform: "onnxruntime_onnx"
max_batch_size: 0
input [
  {
    name: "input.1"
    data_type: TYPE_FP32
    dims: [ 1, 3, 480, 640]
    #reshape { shape: [ 1, 3, 480, 640 ] }
  }
]

output [
  {
    name: "537"
    data_type: TYPE_FP32
    dims: [ 1, 1, 120, 160 ]
    label_filename: "centerface_labels.txt"
  },
  {
    name: "538"
    data_type: TYPE_FP32
    dims: [ 1, 2, 120, 160]
    label_filename: "centerface_labels.txt"
  },

  {
    name: "539"
    data_type: TYPE_FP32
    dims: [1,  2, 120, 160]
    label_filename: "centerface_labels.txt"
  },
  {
    name: "540"
    data_type: TYPE_FP32
    dims: [1, 10 , 120, 160]
    label_filename: "centerface_labels.txt"
  }
]

instance_group {
  count: 1
  gpus: 0
  kind: KIND_GPU
}

# Enable TensorRT acceleration running in gpu instance. It might take several
# minutes during intialization to generate tensorrt online caches.

#optimization { execution_accelerators {
 # gpu_execution_accelerator : [ { name : "tensorrt" } ]
#		}}

Kindly request you to assist me in resolving this issue.

Thanks,
Darshan

@Darshcg
Copy link
Author

Darshcg commented Apr 6, 2021

One Update: I am getting detection in the output when I tried to run using nvcr.io/nvidia/deepstream:5.0.1-20.09-triton(Deepstream v5.0), but when I am using nvcr.io/nvidia/deepstream:5.1-21.02-triton(Deepstream v5.1) there is no detection in the output. What is the reason for that? What do I need to change to make it work for Deepstream version 5.1?

@monjha
Copy link
Collaborator

monjha commented Apr 7, 2021

Updated the Makefile for 5.1. Please check now!

@monjha
Copy link
Collaborator

monjha commented May 14, 2021

Hi,

I have updated the repo for ds 5.1 with all the changes required for the config file, post-processing, etc.. Please check the app now and let me know if you see any issues.
Thanks!

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

2 participants