zqhang / AnomalyCLIP

Official implementation for AnomalyCLIP (ICLR 2024)
MIT License
284 stars 29 forks source link

Update text-prompts #46

Open sirius-co opened 2 months ago

sirius-co commented 2 months ago

Hi,

thank you for sharing your implementation! I was wondering if changing the prompts in prompt_ensemble.py will impact somehow the performance, but I am not sure if it does. Let's say I change prompt_templates in prompt_ensemble.py, how is it supposed to impact the AnomalyCLIP performance?

Thank you!

zqhang commented 2 months ago

Yes, it will impact the performance. An appropriate design may further improve its performance.

sirius-co commented 2 months ago

Thank you for your answer! Please correct me if I am wrong, you do not use at all these prompts from prompt_templates, right? If so, then how can the prompts_template update impact the performance of AnomalyCLIP?