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 GAP and GMP simultaneously? #21

Open
HymEric opened this issue Aug 5, 2020 · 2 comments
Open

How to use GAP and GMP simultaneously? #21

HymEric opened this issue Aug 5, 2020 · 2 comments

Comments

@HymEric
Copy link

HymEric commented Aug 5, 2020

How to use GAP and GMP simultaneously or use other more than one aggregators for extracting?

Furthermore, if I want to use [N, C, W, H] (by GAP to become [N, L1]) feature and [N, L2] feature to concatenate as [N, L1+L1] what can I do? Now, this operation has errors:
image

@hby96
Copy link
Contributor

hby96 commented Jan 21, 2021

What is the 'output' in your feature names?
Pyretri will automatically concatenate multiple features in the L dimension.

@nthhiep
Copy link

nthhiep commented Jul 1, 2021

You must convert the feature of shape [N, C, W, H] into [N,C] by an aggregator before saving it to json file. When reloading from json file, different features of 2 dimensions will be concatenated together.

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

3 participants