Skip to content

Commit

Permalink
fixed wrong indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AznamirWoW committed Dec 28, 2024
1 parent 39f6469 commit 34ec8de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rvc/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,12 +631,12 @@ def train_and_evaluate(
model_output
)
# slice of the original waveform to match a generate slice
wave = commons.slice_segments(
wave,
ids_slice * config.data.hop_length,
config.train.segment_size,
dim=3,
)
wave = commons.slice_segments(
wave,
ids_slice * config.data.hop_length,
config.train.segment_size,
dim=3,
)
y_d_hat_r, y_d_hat_g, _, _ = net_d(wave, y_hat.detach())
with autocast(enabled=False):
# if vocoder == "HiFi-GAN":
Expand Down

0 comments on commit 34ec8de

Please sign in to comment.