Skip to content

Commit 394025d

Browse files
committed
Fix typo
1 parent a8e446b commit 394025d

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
@@ -61,8 +61,8 @@
6161

6262
trunc = g.mean_latent(4096)
6363

64-
if torch_seed > 0:
65-
torch.manual_seed(torch_seed)
64+
if args.torch_seed > 0:
65+
torch.manual_seed(args.torch_seed)
6666
latent = torch.randn(args.n_sample, 512, device=args.device)
6767
latent = g.get_latent(latent)
6868

0 commit comments

Comments
 (0)