Skip to content
lvpeizhuoPublic

About

This is the source code for SSL-WM. Our paper is accepted by the Network and Distributed System Security Symposium (NDSS) 2024.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

SSL-WM

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

About

This is the source code for SSL-WM. Our paper is accepted by the Network and Distributed System Security Symposium (NDSS) 2024.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages