Syrine Noamen
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -23,22 +23,22 @@ This pipeline uses the model SDXL and generates images of 1024x1024 resolution.
|
|
23 |
|
24 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
25 |
|
26 |
-
|
27 |
custom_pipeline = DiffusionPipeline.from_pretrained(
|
28 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
29 |
variant="fp16",
|
30 |
torch_dtype=torch.float16,
|
31 |
use_safetensors=True,
|
32 |
-
custom_pipeline="syr99/initial_noise_loader"
|
33 |
).to(device)
|
34 |
-
|
35 |
|
36 |
The class `NoiseLoaderMixin` can serve for other methods to initialize differently the noise at the first timestep.
|
37 |
|
38 |
## Citation
|
39 |
Code adapted from [Github](https://github.com/xie-lab-ml/Golden-Noise-for-Diffusion-Models)
|
40 |
|
41 |
-
```
|
42 |
@misc{zhou2024goldennoisediffusionmodels,
|
43 |
title={Golden Noise for Diffusion Models: A Learning Framework},
|
44 |
author={Zikai Zhou and Shitong Shao and Lichen Bai and Zhiqiang Xu and Bo Han and Zeke Xie},
|
@@ -48,4 +48,4 @@ Code adapted from [Github](https://github.com/xie-lab-ml/Golden-Noise-for-Diffus
|
|
48 |
primaryClass={cs.LG},
|
49 |
url={https://arxiv.org/abs/2411.09502},
|
50 |
}
|
51 |
-
```
|
|
|
23 |
|
24 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
25 |
|
26 |
+
```
|
27 |
custom_pipeline = DiffusionPipeline.from_pretrained(
|
28 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
29 |
variant="fp16",
|
30 |
torch_dtype=torch.float16,
|
31 |
use_safetensors=True,
|
32 |
+
custom_pipeline="syr99/initial_noise_loader"
|
33 |
).to(device)
|
34 |
+
```
|
35 |
|
36 |
The class `NoiseLoaderMixin` can serve for other methods to initialize differently the noise at the first timestep.
|
37 |
|
38 |
## Citation
|
39 |
Code adapted from [Github](https://github.com/xie-lab-ml/Golden-Noise-for-Diffusion-Models)
|
40 |
|
41 |
+
```
|
42 |
@misc{zhou2024goldennoisediffusionmodels,
|
43 |
title={Golden Noise for Diffusion Models: A Learning Framework},
|
44 |
author={Zikai Zhou and Shitong Shao and Lichen Bai and Zhiqiang Xu and Bo Han and Zeke Xie},
|
|
|
48 |
primaryClass={cs.LG},
|
49 |
url={https://arxiv.org/abs/2411.09502},
|
50 |
}
|
51 |
+
```
|