Vivien Chappelier commited on
Commit
cc7bb74
1 Parent(s): 8f13360
Files changed (1) hide show
  1. README.md +9 -10
README.md CHANGED
@@ -5,13 +5,14 @@ tags:
5
  - stable-diffusion-diffusers
6
  inference: false
7
  ---
8
- # Watermarked Autoencoder (weak watermark)
9
 
10
- ## Utilizing
11
- These weights are intended to be used with the [🧨 diffusers library](https://github.com/huggingface/diffusers).
 
 
 
 
12
 
13
- #### How to use with 🧨 diffusers
14
- You can integrate this watermarked VAE decoder to your existing `diffusers` workflows, by including a `vae` argument to the `StableDiffusionPipeline`
15
  ```py
16
  from diffusers.models import AutoencoderKL
17
  from diffusers import StableDiffusionXLPipeline
@@ -21,12 +22,10 @@ model = "stabilityai/sdxl-turbo"
21
  vae = AutoencoderKL.from_pretrained("imatag/stable-signature-bzh-sdxl-vae-weak")
22
 
23
  pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae)
24
- image = pipe("a photo of an astronaut riding a horse on mars",
25
- num_inference_steps=4,
26
- guidance_scale=0.0,
27
- output_type="pil").images[0]
28
  ```
29
 
 
 
30
  ## Decoder Finetuning
31
 
32
  This model was finetuned from the original StableDiffusion-XL autoencoder with the additional objective of including a weak invisible watermark, following the procedure of [StableSignature](https://ai.meta.com/blog/stable-signature-watermarking-generative-ai/). This watermark is detectable by [IMATAG](https://www.imatag.com/)'s demo BZH decoder, available via API.
@@ -87,4 +86,4 @@ The Receiver Operating Characteristic curve shows its performance under no modif
87
  </p>
88
 
89
  More details available in our [announcement](https://www.imatag.com/blog/unlocking-the-future-of-content-authentication-imatags-breakthrough-in-ai-generated-image-watermarking) and our lab's [blog post](https://imatag-lab.medium.com/stable-signature-meets-bzh-53ad0ba13691).
90
- For watermarked models with a different key, other perceptual compromises, robustness to other attacks, or faster detection, please [contact IMATAG](https://pages.imatag.com/contact-us-imatag).
 
5
  - stable-diffusion-diffusers
6
  inference: false
7
  ---
 
8
 
9
+ # Watermarked (weak) VAE for SDXL
10
+
11
+ You can use this watermarked VAE for your existing SDXL image generation pipelines
12
+ to make sure generated images are watermarked.
13
+
14
+ ## Usage
15
 
 
 
16
  ```py
17
  from diffusers.models import AutoencoderKL
18
  from diffusers import StableDiffusionXLPipeline
 
22
  vae = AutoencoderKL.from_pretrained("imatag/stable-signature-bzh-sdxl-vae-weak")
23
 
24
  pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae)
 
 
 
 
25
  ```
26
 
27
+ For more information, please have a look at [the official demo](https://huggingface.co/spaces/imatag/stable-signature-bzh)
28
+
29
  ## Decoder Finetuning
30
 
31
  This model was finetuned from the original StableDiffusion-XL autoencoder with the additional objective of including a weak invisible watermark, following the procedure of [StableSignature](https://ai.meta.com/blog/stable-signature-watermarking-generative-ai/). This watermark is detectable by [IMATAG](https://www.imatag.com/)'s demo BZH decoder, available via API.
 
86
  </p>
87
 
88
  More details available in our [announcement](https://www.imatag.com/blog/unlocking-the-future-of-content-authentication-imatags-breakthrough-in-ai-generated-image-watermarking) and our lab's [blog post](https://imatag-lab.medium.com/stable-signature-meets-bzh-53ad0ba13691).
89
+ For watermarked models with a different key, support for payload, other perceptual compromises, robustness to other attacks, or faster detection, please [contact IMATAG](https://pages.imatag.com/contact-us-imatag).