From 37d7a6bf2019718ee27f52369e2c8229a0d22c9c Mon Sep 17 00:00:00 2001 From: Wok Date: Sat, 19 Sep 2020 14:58:53 +0200 Subject: [PATCH] Fix typo --- apply_factor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apply_factor.py b/apply_factor.py index 9bf7f0ed..7dd22a2b 100755 --- a/apply_factor.py +++ b/apply_factor.py @@ -67,8 +67,8 @@ trunc = g.mean_latent(4096) - if torch_seed > 0: - torch.manual_seed(torch_seed) + if args.torch_seed > 0: + torch.manual_seed(args.torch_seed) latent = torch.randn(args.n_sample, 512, device=args.device) latent = g.get_latent(latent)