Skip to content

Commit 37d7a6b

Browse files
committed
Fix typo
1 parent 788d9b4 commit 37d7a6b

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
@@ -67,8 +67,8 @@
6767

6868
trunc = g.mean_latent(4096)
6969

70-
if torch_seed > 0:
71-
torch.manual_seed(torch_seed)
70+
if args.torch_seed > 0:
71+
torch.manual_seed(args.torch_seed)
7272
latent = torch.randn(args.n_sample, 512, device=args.device)
7373
latent = g.get_latent(latent)
7474

0 commit comments

Comments
 (0)