Skip to content

Commit

Permalink
restore ckpt for disc too.
Browse files Browse the repository at this point in the history
( Had it off for some testing.
  • Loading branch information
codename0og authored Dec 28, 2024
1 parent 233b8c6 commit 02e6ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rvc/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def run(
checkpointing=use_checkpointing
).to(device)

net_d = MultiPeriodDiscriminator(version, config.model.use_spectral_norm, False).to(device)
net_d = MultiPeriodDiscriminator(version, config.model.use_spectral_norm, use_checkpointing).to(device)

optim_g = torch.optim.RAdam(
net_g.parameters(),
Expand Down

0 comments on commit 02e6ffe

Please sign in to comment.