Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Nov 6, 2023
1 parent 25b87a0 commit 5fa9f30
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 @@ -75,7 +75,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 @@ -103,5 +103,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 5fa9f30

Please sign in to comment.