MCC-WH / CSA

Official implementation of NeurIPS 2021 paper "Contextual Similarity Aggregation with Self-attention for Visual Re-ranking"
MIT License
25 stars 3 forks source link

Hi, I have selected gl18-tl-resnet50-gem-w, how can I convert the vector dimension to 512? #10

Open ponponon opened 1 year ago

ponponon commented 1 year ago

Hi, I have selected gl18-tl-resnet50-gem-w, how can I convert the vector dimension to 512?

By default, gl18-tl-resnet50-gem-w outputs a vector dimension of 2048, but what if I want to convert it to 512 dimensions? What should I do?

MCC-WH commented 8 months ago

I apologize for the late reply, I think PCA might be a better option.