Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NaruseMioShirakana authored Jan 15, 2023
1 parent 60eb336 commit 6857d54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hubert/hubert_model_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def units(self, wav: torch.Tensor) -> torch.Tensor:
return self.proj(x)

def forward(self, x):
x_tst = self.units(x)
x_tst = torch.repeat_interleave(x_tst, repeats=2, dim=1)
return x_tst
return self.units(x)

class FeatureExtractor(nn.Module):
def __init__(self):
Expand Down

0 comments on commit 6857d54

Please sign in to comment.