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

How to use this model in my own videos? #15

Open
cppntn opened this issue Jan 9, 2019 · 3 comments
Open

How to use this model in my own videos? #15

cppntn opened this issue Jan 9, 2019 · 3 comments

Comments

@cppntn
Copy link

cppntn commented Jan 9, 2019

Hello, thanks for this fantastic work.
How can I use this model to recognize people in my own video? I have a detection network that detects bounding box of people, what would you recommend in order to use fd-gan to assign unique ID's to people in the video?

Thanks

@yxgeee
Copy link
Owner

yxgeee commented Jan 10, 2019

Maybe you can use the pretrained model to extract the visual features for each person image, and then cluster them into several groups by calculating the distances between each other.

@cppntn
Copy link
Author

cppntn commented Jan 10, 2019

Thanks @yxgeee. How can I use a pretrained model just for the inference? What is the model and the weights that I should use?

MOreover, what kind of clustering algorithms would you recommend for calculating the distances between features?

@cppntn
Copy link
Author

cppntn commented Jan 14, 2019

Hello @yxgeee, sorry to bother you.. How can I extract the feature from an image of a person?
I mean, once I have loaded the weights on the SiameseNet class (should the weights be "best_net_E.pth"?) how can I do inference? have I to forward only the base model (resnet50) or the embed model too? Can you tell me a little more about this?
A great thanks to you

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