From 26bee45b13250f3ee85e6fe8f41e59e66d1096c1 Mon Sep 17 00:00:00 2001 From: julie wang Date: Fri, 13 Sep 2024 16:03:24 +0200 Subject: [PATCH] feat(ml): delect repeat --- models/palette_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/models/palette_model.py b/models/palette_model.py index b7bb5b584..e0d416624 100644 --- a/models/palette_model.py +++ b/models/palette_model.py @@ -337,7 +337,6 @@ def set_input(self, data): if self.use_ref: self.ref_A = data["ref_A"].to(self.device) - sequence_length = 0 if self.opt.alg_diffusion_cond_image_creation == "y_t": self.cond_image = self.y_t elif self.opt.alg_diffusion_cond_image_creation == "previous_frame":