CASIA-IVA-Lab / AnomalyGPT

[AAAI 2024 Oral] AnomalyGPT: Detecting Industrial Anomalies Using Large Vision-Language Models
https://anomalygpt.github.io
Other
672 stars 81 forks source link

setup更改成1-shot,2-shot和4-shot的话是要在代码哪些地方进行修改 #56

Closed IESSTTJP closed 6 months ago

IESSTTJP commented 6 months ago

setup更改成1-shot,2-shot和4-shot的话是要在代码哪些地方进行修改

FantasticGNU commented 6 months ago

在运行 test_*.py 的时候使用命令行参数设置,参考 test_mvtec.py#L13,运行时指定 --k_shot 2 或 --k_shot 4 即可