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

Get object features from inner layers for Object Tracking #102

Open
GuanghaoJin opened this issue Jun 27, 2024 · 1 comment
Open

Get object features from inner layers for Object Tracking #102

GuanghaoJin opened this issue Jun 27, 2024 · 1 comment

Comments

@GuanghaoJin
Copy link

Hi,
I'm pretty new to pytorch, i have been using TF and keras until now, but this model's results are very promising!

My question is: how can I get this 256 or 512 size feature vector for each detected object from the model without rewiting the whole model class.

Maybe something in class MaskDecoder?

Thanks in advance

@hkchengrex
Copy link
Owner

The feature p16 here might be a good choice

p16 = self.fuser(f16, p16)

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