### Run AnomalyCLIP Source: https://github.com/zqhang/anomalyclip/blob/main/README.md Commands to execute testing with pre-trained weights or to initiate training. ```bash bash test.sh ``` ```bash bash train.sh ``` -------------------------------- ### Generate SDD Dataset JSON Source: https://github.com/zqhang/anomalyclip/blob/main/README.md Run the SDD dataset generation script after navigating to the appropriate directory. ```bash cd generate_dataset_json python SDD.py ``` -------------------------------- ### Generate MVTec Dataset JSON Source: https://github.com/zqhang/anomalyclip/blob/main/README.md Run the MVTec dataset generation script after navigating to the appropriate directory. ```bash cd generate_dataset_json python mvtec.py ``` -------------------------------- ### BibTex Citation for AnomalyCLIP Source: https://github.com/zqhang/anomalyclip/blob/main/README.md Use this BibTex entry to cite the AnomalyCLIP paper in academic publications. ```bibtex @inproceedings{zhou2023anomalyclip, title={AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection}, author={Zhou, Qihang and Pang, Guansong and Tian, Yu and He, Shibo and Chen, Jiming}, booktitle={The Twelfth International Conference on Learning Representations}, year={2023} } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.