Satisfy ruff

This commit is contained in:
Jedrzej Kosinski 2025-10-01 14:51:25 -07:00
parent 9a53594029
commit 594498ab84

View File

@ -1,11 +1,9 @@
import torch
class EpsilonScaling:
"""
Implements the Epsilon Scaling method from 'Elucidating the Exposure Bias in Diffusion Models'
Implements the Epsilon Scaling method from 'Elucidating the Exposure Bias in Diffusion Models'
(https://arxiv.org/abs/2308.15321v6).
This method mitigates exposure bias by scaling the predicted noise during sampling,
This method mitigates exposure bias by scaling the predicted noise during sampling,
which can significantly improve sample quality. This implementation uses the "uniform schedule"
recommended by the paper for its practicality and effectiveness.
"""
@ -59,4 +57,4 @@ class EpsilonScaling:
NODE_CLASS_MAPPINGS = {
"Epsilon Scaling": EpsilonScaling
}
}