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

Use YOLO Keypoints for Secondary GIE (LSTM Classifier) #19

Open
al0nkr opened this issue May 25, 2024 · 3 comments
Open

Use YOLO Keypoints for Secondary GIE (LSTM Classifier) #19

al0nkr opened this issue May 25, 2024 · 3 comments

Comments

@al0nkr
Copy link

al0nkr commented May 25, 2024

Hi, I wanted to use a custom LSTM Pose Classifier model on top of the yolo generated keypoints, I want yoloV8 keypoints and apply post processing on them to fit into my classifier model. I tried implementing a custom parser by modifying the nvdsparsepose_Yolo.cpp file, however I could not understand how can i access the Primary GIE's output (yolo keypoints) and pass them to another Secondary GIE.

The expected output format for the yolo keypoints should be of the shape (1 x 17 x 2) which, after some post processing should be converted to a tensor of shape (1 x42). I need the converted tensor as input to my LSTM Classifier model, please let me know if you need some other reference files to go about this issue.

@marcoslucianops
Copy link
Owner

The DeepStream doesn't support non image input. You must to create a custom logic for it.

@al0nkr
Copy link
Author

al0nkr commented May 26, 2024

So is there no way to pass keypoints / model outputs of primary GIE to the secondary GIE Natively? If you were to implement this custom logic, can you provide me some rough ideas to go about creating it? As in, how can i store the key point values and parse it with custom logic to take it as a non image input? Thanks!

@zhendong-yu
Copy link

The problem is resolved after the version is specified as 8.0.100;
$ pip install ultralytics==8.0.100

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

3 participants