Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Sep 19, 2020
1 parent eb53d25 commit ec8ac0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apply_factor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down Expand Up @@ -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,
)

0 comments on commit ec8ac0c

Please sign in to comment.