From b6530d9539ea0b42a5cc37e52887fd967955b436 Mon Sep 17 00:00:00 2001 From: "flak (home)" Date: Thu, 14 Sep 2023 09:30:49 +0300 Subject: [PATCH] up --- SeamlessTile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeamlessTile.py b/SeamlessTile.py index bfc53dd..2220237 100644 --- a/SeamlessTile.py +++ b/SeamlessTile.py @@ -17,7 +17,7 @@ class SeamlessTile: FUNCTION = "run" def run(self, model, tiling): - for m in model.model.modules: + for m in model.model.modules(): if isinstance(m, torch.nn.Conv2d): if tiling == "enable": m.padding_mode = "circular"