From ec8ac0cee63ef08e94235b4ae7cf69321c14a57d Mon Sep 17 00:00:00 2001 From: Wok Date: Sat, 19 Sep 2020 22:02:52 +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 80a3b3a2..f81726c7 100755 --- a/apply_factor.py +++ b/apply_factor.py @@ -69,7 +69,7 @@ img_dict = dict() - for u in torch.linspace(- args.degree, args.degree, args.d_num): + for u in torch.linspace(- args.degree, args.degree, args.degree_num): img_batch, _ = g( [latent + u * direction], @@ -97,5 +97,5 @@ f"{args.out_prefix}_index-{args.index}_degree-{args.degree}.png", normalize=True, range=(-1, 1), - nrow=args.d_num, + nrow=args.degree_num, )