Skip to content

Commit 5fa9f30

Browse files
committed
Fix typo
1 parent 25b87a0 commit 5fa9f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apply_factor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
img_dict = dict()
7777

78-
for u in torch.linspace(- args.degree, args.degree, args.d_num):
78+
for u in torch.linspace(- args.degree, args.degree, args.degree_num):
7979

8080
img_batch, _ = g(
8181
[latent + u * direction],
@@ -103,5 +103,5 @@
103103
f"{args.out_prefix}_index-{args.index}_degree-{args.degree}.png",
104104
normalize=True,
105105
range=(-1, 1),
106-
nrow=args.d_num,
106+
nrow=args.degree_num,
107107
)

0 commit comments

Comments
 (0)