Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidalnt committed Jul 11, 2024
1 parent eae13fc commit 1ba64ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rvc/lib/algorithm/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(
p_dropout,
)
self.proj = torch.nn.Conv1d(hidden_channels, out_channels * 2, 1)
if f0 is True:
if f0:
self.emb_pitch = torch.nn.Embedding(256, hidden_channels)

def forward(self, phone: torch.Tensor, pitch: torch.Tensor, lengths: torch.Tensor):
Expand Down

0 comments on commit 1ba64ee

Please sign in to comment.