(self, batch, batch_idx)
| 283 | return discloss |
| 284 | |
| 285 | def validation_step(self, batch, batch_idx): |
| 286 | log_dict = self._validation_step(batch, batch_idx) |
| 287 | with self.ema_scope(): |
| 288 | log_dict_ema = self._validation_step(batch, batch_idx, suffix="_ema") |
| 289 | return log_dict |
| 290 | |
| 291 | def _validation_step(self, batch, batch_idx, suffix=""): |
| 292 | x = self.get_input(batch, self.image_key) |
nothing calls this directly
no test coverage detected