mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-15 06:41:00 -08:00
autofixes from ruff
This commit is contained in:
parent
a617d64882
commit
762265eab5
22 changed files with 40 additions and 41 deletions
|
|
@ -165,7 +165,7 @@ class VQModel(pl.LightningModule):
|
|||
def validation_step(self, batch, batch_idx):
|
||||
log_dict = self._validation_step(batch, batch_idx)
|
||||
with self.ema_scope():
|
||||
log_dict_ema = self._validation_step(batch, batch_idx, suffix="_ema")
|
||||
self._validation_step(batch, batch_idx, suffix="_ema")
|
||||
return log_dict
|
||||
|
||||
def _validation_step(self, batch, batch_idx, suffix=""):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue