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

Combine iou and appearance features #300

Open
Mr-Akbari opened this issue Oct 22, 2022 · 2 comments
Open

Combine iou and appearance features #300

Mr-Akbari opened this issue Oct 22, 2022 · 2 comments

Comments

@Mr-Akbari
Copy link

Hello
Thanks for sharing your work.
I want to concatenate iou distance and appearance distance in a weighted sum way, in first step association.

I done it by editing "tracker.py" :
# Associate confirmed tracks using appearance features. matches_a, unmatched_tracks_a, unmatched_detections = linear_assignment.matching_cascade( lambda * gated_metric + (1-lambda)* iou_matching.iou_cost, self.metric.matching_threshold, self.max_age, self.tracks, detections, confirmed_tracks)

But it is not working.
I really appreciate it if you answer these questions. Thanks very much.

@vemshari27
Copy link

Any update on this? I was looking for the line where weighted sum of the Mahalanobis and Appearance based distance metric is taken. My video gets jammed periodically and the Mahalanobis distance metric thinks new object has entered. I want to give it less weight. Where did you find this line? Or did you write it yourself?

Hello Thanks for sharing your work. I want to concatenate iou distance and appearance distance in a weighted sum way, in first step association.

I done it by editing "tracker.py" : # Associate confirmed tracks using appearance features. matches_a, unmatched_tracks_a, unmatched_detections = linear_assignment.matching_cascade( lambda * gated_metric + (1-lambda)* iou_matching.iou_cost, self.metric.matching_threshold, self.max_age, self.tracks, detections, confirmed_tracks)

But it is not working. I really appreciate it if you answer these questions. Thanks very much.

@Mr-Akbari
Copy link
Author

Any update on this? I was looking for the line where weighted sum of the Mahalanobis and Appearance based distance metric is taken. My video gets jammed periodically and the Mahalanobis distance metric thinks new object has entered. I want to give it less weight. Where did you find this line? Or did you write it yourself?

Hello Thanks for sharing your work. I want to concatenate iou distance and appearance distance in a weighted sum way, in first step association.
I done it by editing "tracker.py" : # Associate confirmed tracks using appearance features. matches_a, unmatched_tracks_a, unmatched_detections = linear_assignment.matching_cascade( lambda * gated_metric + (1-lambda)* iou_matching.iou_cost, self.metric.matching_threshold, self.max_age, self.tracks, detections, confirmed_tracks)
But it is not working. I really appreciate it if you answer these questions. Thanks very much.

I write it myself. Any update on this?

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