Skip to content

Commit ec8ac0c

Browse files
committed
Fix typo
1 parent eb53d25 commit ec8ac0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apply_factor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
img_dict = dict()
7171

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

7474
img_batch, _ = g(
7575
[latent + u * direction],
@@ -97,5 +97,5 @@
9797
f"{args.out_prefix}_index-{args.index}_degree-{args.degree}.png",
9898
normalize=True,
9999
range=(-1, 1),
100-
nrow=args.d_num,
100+
nrow=args.degree_num,
101101
)

0 commit comments

Comments
 (0)