Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-shuyan authored Mar 4, 2024
1 parent 2a88886 commit caa41bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ attacks, including fine-tuning, pruning, and model extraction. Our experimental
results demonstrate that the proposed watermarking approach is not only time and sample-efficient without training data, but also robust against the watermark
removal attacks above.

## Preparation
1. Pre-train models on CIFAR10, CIFAR100, and GTSRB by yourself or download our pre-trained models from [google drive](https://drive.google.com/drive/folders/1MndxzWLub-wn0gN3HfsVtsj2PZWbemje?usp=sharing).
2. Specific the root to pre-trained models at [utils/config.py](utils/config.py).
3. Sign up [wandb](https://wandb.ai/) and set up by running `wandb login` with your API from the website. Detailed [instruction](https://docs.wandb.ai/quickstart).


## Watermark injection
### Generate a surrogate OoD dataset (trigger set) from single OoD image
Step 1: Surrogate OoD data generation
Expand Down

0 comments on commit caa41bd

Please sign in to comment.