Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Sep 22, 2020
1 parent 0ea71ec commit c96b675
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 c96b675

Please sign in to comment.