(self, batch, batch_idx)
| 163 | return discloss |
| 164 | |
| 165 | def validation_step(self, batch, batch_idx): |
| 166 | log_dict = self._validation_step(batch, batch_idx) |
| 167 | with self.ema_scope(): |
| 168 | log_dict_ema = self._validation_step(batch, batch_idx, suffix="_ema") |
| 169 | return log_dict |
| 170 | |
| 171 | def _validation_step(self, batch, batch_idx, suffix=""): |
| 172 | x = self.get_input(batch, self.image_key) |
nothing calls this directly
no test coverage detected