SSL-WM
November 21, 2023 ยท View on GitHub
The implementation of _SSL-WM: A Black-Box Watermarking Approach for Encoders Pre-trained by Self-Supervised Learning.
Getting started
Train a clean model
python train_simclr_clean.py
Inject the watermark
python train_simclr.py
Finetune the watermarked model to another task:
python train_downstream.py
Test the accuracy
python test_simclr.py
Test the MAD
python test_mad.py