IDEA-Research / detrex

detrex is a research platform for DETR-based object detection, segmentation, pose estimation and other visual recognition tasks.
https://detrex.readthedocs.io/en/latest/
Apache License 2.0
1.95k stars 204 forks source link

About visualization on dino #221

Closed WesleyZCheng closed 1 year ago

WesleyZCheng commented 1 year ago

Hi, I noticed that we have a file that visualizes the data from the json file. Through the code, we can see that this is the json inference data generated during training, and it is not the data I want to get during inference. What should I do if I want to visualize images or videos in real-time by running model inference?

rentainhe commented 1 year ago

Hi, I noticed that we have a file that visualizes the data from the json file. Through the code, we can see that this is the json inference data generated during training, and it is not the data I want to get during inference. What should I do if I want to visualize images or videos in real-time by running model inference?

detrex has already provided several visualization ways to visualize data:

Maybe you can follow the third way to solve your problem I guess, using the demo in detrex to visualize your demo image or video.

WesleyZCheng commented 1 year ago

Hi, I noticed that we have a file that visualizes the data from the json file. Through the code, we can see that this is the json inference data generated during training, and it is not the data I want to get during inference. What should I do if I want to visualize images or videos in real-time by running model inference?

detrex has already provided several visualization ways to visualize data:

Maybe you can follow the third way to solve your problem I guess, using the demo in detrex to visualize your demo image or video.

Thanks! I found it in the latest code you release, my code was downloaded 3 months ago, and i do not update my code in time.

rentainhe commented 1 year ago

Hi, I noticed that we have a file that visualizes the data from the json file. Through the code, we can see that this is the json inference data generated during training, and it is not the data I want to get during inference. What should I do if I want to visualize images or videos in real-time by running model inference?

detrex has already provided several visualization ways to visualize data:

Maybe you can follow the third way to solve your problem I guess, using the demo in detrex to visualize your demo image or video.

Thanks! I found it in the latest code you release, my code was downloaded 3 months ago, and i do not update my code in time.

You're welcome~