### Environment Setup
```bash
conda create -yn BDetCLIP python=3.11
conda activate BDetCLIP
cd BDetCLIP
pip install -r requirements.txt
```

### How to use BDetCLIP

You need to fill in the model weight path, threshold, bd_ratio, bd_type in /src/parser.py. In /src/data.py we mark the change target of "***You should change the target label here***" for you. Label, fill in the path of class-related prompt and class-perturbed prompt in /src/evaluate.py, and then run /src/detect.py to detect!