yangyangyang127 / APE

[ICCV 2023] Code for "Not All Features Matter: Enhancing Few-shot CLIP with Adaptive Prior Refinement"
135 stars 12 forks source link

json write #6

Open iskyiminever opened 1 year ago

iskyiminever commented 1 year ago

Are there any standards for the json file in the gpt3_prompts? If I want to conduct experiments on other data sets, is there any format requirement for the corresponding json file?

yangyangyang127 commented 1 year ago

Hi,

CLIP basically utilizes template-based prompts like "a photo of a [CLASS].". After that, CuPL finds that using GPT-generated prompts can improve performance and they release their prompts. You can find prompts of more datasets here. But if you want to use your own customized dataset, maybe you need to generate prompts by yourself.

iskyiminever commented 1 year ago

Hi,

CLIP basically utilizes template-based prompts like "a photo of a [CLASS].". After that, CuPL finds that using GPT-generated prompts can improve performance and they release their prompts. You can find prompts of more datasets here. But if you want to use your own customized dataset, maybe you need to generate prompts by yourself.

Ok, thank you very much for your reply