ruizhecao96 / CMGAN

Conformer-based Metric GAN for speech enhancement
MIT License
309 stars 60 forks source link

Not match the pretrained ckpt #12

Closed hyysam closed 1 year ago

hyysam commented 2 years ago

I use VCTK-DEMAND to train the model (120 epoch),but when I use the 120 epoch ckpt to inference the VCTK-DEMAND noisy data,the denoising effect is not as good as the pretrained ckpt. Did you use extract dataset to train the model?

hyysam commented 2 years ago

Can you show me your training loss tensorboard?

ruizhecao96 commented 2 years ago

Can you show me your training loss tensorboard?

Sorry I didn't record the loss on tensorboard, but we have use the early stop method since it gets overfitting when epoch number is too large, usually 80 epochs would be enough.

hyysam commented 2 years ago

I find that the --loss_weights", default=[0.1, 0.9, 0.2, 0.05] is not same as the paper default, and let loss_gan be smaller than the other loss, finally the GAN is not work

hyysam commented 2 years ago

Do you use extract dataset to train the pretrained ckpt?

ruizhecao96 commented 1 year ago

Since the GAN loss is much large than other losses, we add the weights to scale them to the same level. We didn't use any other dataset to train the model.

hyysam commented 1 year ago

Thanks your answer