Skip to content

Commit 2766f81

Browse files
committed
fix path in guide
1 parent 8e6cbd6 commit 2766f81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/en/using-diffusers/pipeline_techniques.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ image
6464

6565
[FreeU](https://hf.co/papers/2309.11497) improves image details by rebalancing the UNet's backbone and skip connection weights. The skip connections can cause the model to overlook some of the backbone semantics which may lead to unnatural image details in the generated image. This technique does not require any additional training and can be applied on the fly during inference for tasks like image-to-image and text-to-video.
6666

67-
Use the [`~pipelines.pipeline_utils.enable_freeu`] method on your pipeline and configure the scaling factors for the backbone (`b1` and `b2`) and skip connections (`s1` and `s2`). The number after each scaling factor corresponds to the stage in the UNet where the factor is applied. Take a look at the [FreeU](https://github.com/ChenyangSi/FreeU#parameters) repository for reference hyperparameters for different models.
67+
Use the [`~pipelines.StableDiffusionMixin.enable_freeu`] method on your pipeline and configure the scaling factors for the backbone (`b1` and `b2`) and skip connections (`s1` and `s2`). The number after each scaling factor corresponds to the stage in the UNet where the factor is applied. Take a look at the [FreeU](https://github.com/ChenyangSi/FreeU#parameters) repository for reference hyperparameters for different models.
6868

6969
<hfoptions id="freeu">
7070
<hfoption id="Stable Diffusion v1-5">
@@ -179,7 +179,7 @@ pipeline.enable_freeu(b1=1.2, b2=1.4, s1=0.9, s2=0.2)
179179
</hfoption>
180180
</hfoptions>
181181

182-
Call the [`pipelines.pipeline_utils.disable_freeu`] method to disable FreeU.
182+
Call the [`pipelines.StableDiffusionMixin.disable_freeu`] method to disable FreeU.
183183

184184
```py
185185
pipeline.disable_freeu()

0 commit comments

Comments
 (0)