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

Problem with the Unitrack + YOLOX Demo #18

Open
hj91k opened this issue Oct 12, 2021 · 3 comments
Open

Problem with the Unitrack + YOLOX Demo #18

hj91k opened this issue Oct 12, 2021 · 3 comments

Comments

@hj91k
Copy link

hj91k commented Oct 12, 2021

Hello,
i will hope to run Unitrack + YOLOX Demo for realtime.

so i ran Unitrack + Yolox Demo with the "webcam" option
but It seems to only work on a test-video basis.

how can i run the Demo with webcam?

@Zhongdao
Copy link
Owner

Hi,
It is not difficult to revise the code so that it can support webcam demo. You need to write a webcam dataloader and replace it with the original LoadVideo dataloader in this line.

@hj91k
Copy link
Author

hj91k commented Oct 14, 2021

Thanks for your advised(@Zhongdao), I succeeded the webcam version.
so I tried to MOTS demo with webcam by changing eval_seq() of MOTS instead eval_seq() of MOT

But it failed with an error message('numpy.ndarray' object has no attribute 'unsqueeze')
how should i solve this?

@Zhongdao
Copy link
Owner

Unfortunately, if you want to try MOTS with webcam, the YOLOX demo cannot be directly used, because YOLOX only outputs bounding boxes rather than pixel-wise masks.
I think you can try to find a fast instance segmentation model and replace it with YOLOX in the mot demo.

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