p0p4k / vits2_pytorch

unofficial vits2-TTS implementation in pytorch
https://arxiv.org/abs/2307.16430
MIT License
465 stars 81 forks source link

New feature: Deleting the old .pth files when training #56

Closed KevinWang676 closed 9 months ago

KevinWang676 commented 10 months ago

Hi, I found that there was no funtion to delete the existing .pth files, which made the training process require a lot of space. So it would be very helpful if you can add a function to deleting the previous .pth files when training. Thanks!

p0p4k commented 10 months ago

Hi, I found that there was no funtion to delete the existing .pth files, which made the training process require a lot of space. So it would be very helpful if you can add a function to deleting the previous .pth files when training. Thanks!

Yes, I am planning on making a function that keeps the top k best checkpoints based on Mel loss metric.

KevinWang676 commented 10 months ago

Great, thank you!

p0p4k commented 9 months ago

Solved in #62