From: François Fleuret Date: Sat, 22 Jun 2024 08:41:08 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=8df319485a8a491a66f907d9c2cba7dd7fbe408e;p=culture.git Update. --- 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())