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

About different size feature (extract_features) with ["all"] #19

Open
HymEric opened this issue Aug 4, 2020 · 1 comment
Open

About different size feature (extract_features) with ["all"] #19

HymEric opened this issue Aug 4, 2020 · 1 comment

Comments

@HymEric
Copy link

HymEric commented Aug 4, 2020

In config file, I want to use all features as the image descriptors:

extractor:
    name: "MoCoResSeries"  # name of the extractor.
    MoCoResSeries:
      extract_features: ["all"]  # name of the output feature map. If it is ["all"], then all available features will be output.

But if the middle feature is [N1,C1,H1,W1], [N2,C2,H2,W2] and the last feature is [N, L]. How to deal with this problem? And in the indexing phase, what about feature_names? is ["all_GEM"] if aggregators=GeM

@hby96
Copy link
Contributor

hby96 commented Jan 21, 2021

  1. "all" is used to control the output features in extracting, so feature dimension is not in this situation;
  2. In indexing phase, you should assign the specific feature names, e.g., ["pool4_GeM", "pool5_GeM"], instead of ["all_GEM"].

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