Skip to content

Commit

Permalink
Merge pull request #680 from IAHispano/formatter/main
Browse files Browse the repository at this point in the history
chore(format): run black on main
  • Loading branch information
blaisewf authored Sep 7, 2024
2 parents 5287d4b + 7696ac2 commit ad4da19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rvc/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def run(
)

net_g = net_g.to(device)

if version == "v1":
net_d = MultiPeriodDiscriminator(config.model.use_spectral_norm)
else:
Expand Down Expand Up @@ -481,11 +481,11 @@ def run(
else:
net_g = DDP(net_g)
net_d = DDP(net_d)

# Check sample rate
if rank == 0:
verify_checkpoint_shapes(pretrainG, net_g)

# Load checkpoint if available
try:
print("Starting training...")
Expand Down

0 comments on commit ad4da19

Please sign in to comment.