@@ -195,6 +195,8 @@ accelerate launch -m metr.run_metr \
195195 --project_name metr_detection \
196196 --model_id stabilityai/stable-diffusion-2-1-base \
197197 --run_name no_attack --w_channel 3 --w_pattern ring \
198+ --stable_sig_full_model_config v2-inference.yaml \
199+ --stable_sig_full_model_ckpt v2-1_512-ema-pruned.ckpt \
198200 --start 0 --end 1000 \
199201 --reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k \
200202 --with_tracking \
@@ -213,8 +215,8 @@ Evaluation is performed on a folder of generated images, you need to pass folder
213215EVAL_FOLDER=metr_pp_generated_images/imgs_w
214216
215217accelerate launch -m metr.metr_pp_eval_stable_sig \
216- --with_tracking \
217218 --project_name eval_st_sig \
219+ --with_tracking \
218220 --run_name test \
219221 --eval_imgs False --eval_bits True \
220222 --img_dir $EVAL_FOLDER \
@@ -230,6 +232,7 @@ To evaluate FID for images with METR++ watermark pass `--use_stable_sig` argumen
230232accelerate launch -m metr.run_metr_fid \
231233 --project_name fid_gen \
232234 --model_id stabilityai/stable-diffusion-2-1-base \
235+
233236 --run_name no_attack --w_channel 3 --w_pattern ring \
234237 --start 0 --end 5000 \
235238 --with_tracking \
@@ -246,14 +249,13 @@ accelerate launch -m metr.run_metr_fid \
246249
247250## Reproducing experiments from paper:
248251
249- Go to scripts directory:
250-
251- Diffusion and VAE attack on METR:
252+ ### Diffusion and VAE attack on METR:
252253
254+ #### Diffusion attack:
253255``` bash
254- bash .sh
256+ bash ./scripts/. sh
255257```
256-
258+ #### VAE attack:
257259``` bash
258260
259261```
@@ -263,24 +265,18 @@ bash .sh
263265
264266## Tree-Ring watermark:
265267
266- ### [ Repository link] ( )
268+ ### [ Repository link] ( https://github.com/YuxinWenRick/tree-ring-watermark )
267269
268- ### [ Paper link] ( )
269-
270- #### Citation:
270+ ### [ Paper link] ( https://arxiv.org/abs/2305.20030 )
271271
272272## Stable Signature:
273273
274- ### [ Repository link] ( )
275-
276- ### [ Paper link] ( )
274+ ### [ Repository link] ( https://github.com/facebookresearch/stable_signature )
277275
278- #### Citation:
276+ ### [ Paper link ] ( https://arxiv.org/abs/2303.15435 )
279277
280278## Generative Model watermark attacker:
281279
282- ### [ Repository link] ( )
283-
284- ### [ Paper link] ( )
280+ ### [ Repository link] ( https://github.com/XuandongZhao/WatermarkAttacker )
285281
286- #### Citation:
282+ ### [ Paper link ] ( https://arxiv.org/abs/2306.01953 )
0 commit comments