Skip to content

Commit

Permalink
address #36
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 12, 2024
1 parent 6caa246 commit 2b9263e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'soundstorm-pytorch',
packages = find_packages(exclude=[]),
version = '0.4.6',
version = '0.4.7',
license='MIT',
description = 'SoundStorm - Efficient Parallel Audio Generation from Google Deepmind, in Pytorch',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion soundstorm_pytorch/soundstorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ def forward(
rand_times = torch.empty(b, device = device).uniform_(0, 1)
rand_probs = self.schedule_fn(rand_times)

mask = get_mask_subset_prob(mask, rand_probs)
mask = get_mask_subset_prob(mask, rand_probs, min_mask = 1)

# random quantizer position, in groups

Expand Down

0 comments on commit 2b9263e

Please sign in to comment.