Skip to content

Commit

Permalink
forgot loading checkpoint (issue #11)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvovk committed Nov 12, 2020
1 parent f59d4bd commit d230621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inference.py
Expand Up @@ -44,6 +44,7 @@

# Initialize the model
model = WaveGrad(config)
model.load_state_dict(torch.load(args.checkpoint_path)['model'], strict=False)

# Set noise schedule
noise_schedule = torch.load(args.noise_schedule_path)
Expand Down

0 comments on commit d230621

Please sign in to comment.