amazon-science / siam-mot

SiamMOT: Siamese Multi-Object Tracking
Apache License 2.0
473 stars 64 forks source link

How to replace the default spatial matching with a new method? #55

Open YaoMufeng opened 1 year ago

YaoMufeng commented 1 year ago

I've running the code successfully,thank you for your great work! Now I want to do some research,for example, replacing the default spatial matching method with my newly proposed method. The question is: where can we modify the code in order to change the spatial matching method? I've read the related code (./siammot/modeling/track_head),but found nothing related to the matching part. Could you please tell me more about the spatial matching part? maybe I missed some information.

bingshuai2019 commented 1 year ago

Not sure wether I understood your question correctly.

If you are talking about doing spatial matching within the motion model, you should be able to replace the one in the existing EMM model. It can be found here: https://github.com/amazon-science/siam-mot/blob/main/siammot/modelling/track_head/EMM/track_core.py#L53