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 788d9b4 commit 37d7a6b
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 @@ -67,8 +67,8 @@

trunc = g.mean_latent(4096)

if torch_seed > 0:
torch.manual_seed(torch_seed)
if args.torch_seed > 0:
torch.manual_seed(args.torch_seed)
latent = torch.randn(args.n_sample, 512, device=args.device)
latent = g.get_latent(latent)

Expand Down

0 comments on commit 37d7a6b

Please sign in to comment.