Colin97 / OpenShape_code

official code of “OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understanding”
https://colin97.github.io/OpenShape/
Apache License 2.0
224 stars 15 forks source link

i'm confusing about the text feature with prompt_avg #14

Closed alanzhangcs closed 10 months ago

alanzhangcs commented 10 months ago

Thanks for your great work! I'm wondering could you release the generation process of text prompt_avg feature ? For example prompt template ?

Colin97 commented 10 months ago

We follow https://github.com/salesforce/ULIP/blob/main/data/templates.json, to convert each category name to 64 sentences, and calculate the CLIP embedding for each sentence and then take their average as the embedding for the category name.

alanzhangcs commented 10 months ago

I got it. Thanks for your reply!