beichenzbc / Long-CLIP

[ECCV 2024] official code for "Long-CLIP: Unlocking the Long-Text Capability of CLIP"
Apache License 2.0
690 stars 33 forks source link

PCA issue #89

Open snowpine-max opened 2 days ago

snowpine-max commented 2 days ago

Hello, thank you very much for your work, it has some inspiration for me. I just want to ask, the operation of PCA (I do not know PCA very well) is equivalent to extracting the main features of a single Image in the paper, but from your code, it is calculated from the Batch dimension to extract the average and extract the main features, will this have an impact? Intuitively, there is a difference. 微信截图_20241126155207

5RJ commented 1 day ago

+1, I have the same question.