From 8df319485a8a491a66f907d9c2cba7dd7fbe408e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sat, 22 Jun 2024 10:41:08 +0200 Subject: [PATCH] Update. --- world.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/world.py b/world.py index 2e13ec3..1d86bc6 100755 --- a/world.py +++ b/world.py @@ -187,8 +187,8 @@ if __name__ == "__main__": print(seq2str(seq[:4])) - m = (torch.rand(seq.size()) < 0.05).long() - seq = (1 - m) * seq + m * 23 + # m = (torch.rand(seq.size()) < 0.05).long() + # seq = (1 - m) * seq + m * 23 img = sample2img(seq, height, width) print(img.size()) -- 2.39.5