-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to get the mask for mots task? #6
Comments
Hi @JessicaChanzc, You can use the cocoapi (link above) to encode masks to RLE strings. And also to decode RLE strings to numpy arrays. |
Thanks for your reply, It seems that in your test_mots.py , you don't load any weights? but just visualize the tracking results? I'm really appreciate your work and could you pls tell me how to test on my own dataset? Best regards |
|
Thanks for your reply, it helps me lot! |
Hi!
Thanks for your great work!
When I prepare the segmentation mask for mots task, I followed the recommended instruction https://github.com/Zhongdao/UniTrack/blob/main/docs/DATA.md, and used the gen_mots_costa.py. Then i get the txt fils like follows:
1 2001 2 1080 1920 UkU\1`0RQ1>PoN\OVP1X1F=I3oSOTNlg0U2lWOVNng0m1nWOWNlg0n1PXOWNlg0l1SXOUNjg0P2.......
But it seems that the txt fils are not segmentation mask. Are these txt files right? or could you pls describe the mask generation process in more details?
Thank you!
The text was updated successfully, but these errors were encountered: