-
Notifications
You must be signed in to change notification settings - Fork 53
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
RT-DETR from DeepStream-Yolo bugs #559
Comments
There are two possible bugs:
|
@bwsw Are you able to run DETR normally? |
@Borntowarn Hello. I've implemented a quick and easy Savant module that uses RT-DETR model. You can take a look at it here: #562. I haven't been able to reproduce the bug so far. It's not really clear from the issue description when the bug manifests. Judging by the quoted module.yml and the screenshot, your RT-DETR module works fine when there's only the detector unit + default drawfunc in the pipeline. Is that correct? |
OK, I think I've got it. The |
@abramov-oleg |
Can you please also share full module config that manifests the bug? I.e. how you configured the RT-DETR detector unit. And the nvinfer config file (something like Thank you. |
@abramov-oleg
but there is no changes config_infer_primary_rtdetr.txt:
|
This is expected, as these properties are managed by Savant. Thank you for sharing the nvinfer config file. Nothing unexpected there, but it helps to clear up the case. It will also be helpful to see your RT-DETR unit config from the |
@abramov-oleg
I noticed model crash when it detect any object not from nvinfer detection labels |
I investigated some info about this problem. If add Hope it helps. |
Thank you for sharing the detector unit config and your findings. They confirm the source of the problem for me. The fix is ready and currently in review. Should be merged soon. |
Thanks a lot! I have already cloned your PR and tested it. It work fine! Should I wait for PR or can close issue now? |
We close automatically when it merges. |
I successfully ran example from samples/intersection_traffic_meter with standart yolov8 and add some other yolo model from DeepStream-Yolo repo by its guide. But there is a problem with a RT-DETR model. I exported it by instructions and it works well separatelly, but when I start savant module I get this error
ValueError: The key 'people' is expected to be fully qualified name of the form 'model_name.object_label'. INFO insight::savant::intersection_traffic_meter'
. It always happens with any detected objects on the frame.If I disable every Units except the model and add standart DrawFunc, DETR works correctly and BBoxes are drown on output frames. module.yml and result:
I tried to run clear module in devcontainers with template but face to the similar problem - any yolo runs successfully, RT-DETR craches on example img with logs:
Also in template module in Jaeger I get different logf for YOLO and DETR:
![image](https://private-user-images.githubusercontent.com/33799845/284062323-650d2865-07bf-4ba8-993a-2b9e13b6de95.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDY3MTMsIm5iZiI6MTczOTQwNjQxMywicGF0aCI6Ii8zMzc5OTg0NS8yODQwNjIzMjMtNjUwZDI4NjUtMDdiZi00YmE4LTk5M2EtMmI5ZTEzYjZkZTk1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAwMjY1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1MDcwMTFlNWNkY2RjZGJhNzRhNzMzZWIxYjNhYWYzMWU0NzA2YzVhZmU5YWU4ZjU5ZTM4OTM2OWE4ZGZlZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ml21H-RHY0ZRXvjD52oVJBsMREQUSbun83ysZgN01SA)
YOLO
DETR
![image](https://private-user-images.githubusercontent.com/33799845/284062389-9c0c9c1b-02c8-4f45-8397-39fac4c97169.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDY3MTMsIm5iZiI6MTczOTQwNjQxMywicGF0aCI6Ii8zMzc5OTg0NS8yODQwNjIzODktOWMwYzljMWItMDJjOC00ZjQ1LTgzOTctMzlmYWM0Yzk3MTY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAwMjY1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmOTY5NTQ1NzdiZjI5YjJmNTE0NjQ1MmViN2Q2MjM0MzBmMDI0Yjg2YWFmZmU1MGU0MmY1YmQ3YzEzOTU4NmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wIfsPu8eW8FURzNsqc6PcB_eA8ya6nG1Symwg2S_ktY)
Logs from template module from devcontainers:
logs_detr.txt
logs_yolo.txt
The text was updated successfully, but these errors were encountered: