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

Question about the deep sort model #22

Open
luvwinnie opened this issue Aug 19, 2020 · 6 comments
Open

Question about the deep sort model #22

luvwinnie opened this issue Aug 19, 2020 · 6 comments

Comments

@luvwinnie
Copy link

The README of your code, it shows thatby changing the detection for person and car, I want to ask that is it need to retrain the deepsort model for tracking both person and car? or it just work on both classes?

@PhanVinhLong
Copy link

Same question

@Papageno2
Copy link

it works for both classes, but the deep-model was trained only for person tracking.
as the author said:

Please note that the tracking model used here is only trained on tracking people, so you'd need to train a model yourself for tracking other objects.

See https://github.com/nwojke/cosine_metric_learning.
@luvwinnie
Copy link
Author

luvwinnie commented Aug 22, 2020

@Papageno2 thank you for answering my question, but what I really want to ask is that, should I retrain the deep-model everytime if I have a new class have been added to my detector? Does anyone tried to trained with others classes? Or even it necessary to do so?

@LeonLok
Copy link
Owner

LeonLok commented Aug 22, 2020

@luvwinnie The tracking model used here has been trained to track people. It'll still work if you use this model to track other classes but the tracking performance could suffer depending on what you're trying to track.

For example, it's possible to use this tracking model to track both people and cars but the tracking performance for cars would likely suffer.

For optimal performance, I would suggest retraining the tracking model for your classes with cosine metric learning. I have an example of that in my vehicle tracking app here.

@luvwinnie
Copy link
Author

@LeonLok Thank you for replying, just one more thing from your experience, how many data is enough for every new classes?

@LeonLok
Copy link
Owner

LeonLok commented Aug 22, 2020

@luvwinnie That depends on a lot of different factors. You can read more here: https://github.com/nwojke/cosine_metric_learning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants