Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confusion about model update #55

Open
jayzhu02 opened this issue Sep 16, 2020 · 8 comments
Open

confusion about model update #55

jayzhu02 opened this issue Sep 16, 2020 · 8 comments

Comments

@jayzhu02
Copy link

Hello! I'm quite exciting after reading your paper and running your pre-train model. Now I want to train my own datasets and I successfully generate train.pkl and spectrogram.
But while I read the code, it seems that it won't save the new model. And also in conversion.ipynb, it loads the autovc.ckpt which is not generated by pytorch. I'm new to pytorch so I hope you can give me some guidance about how to train and test my own dataset. Thx!

@ngulya
Copy link

ngulya commented Sep 17, 2020

@zj19980122 torch.save({'model': self.G.state_dict(), 'optimizer': self.g_optimizer.state_dict()}, '1autovc.ckpt')
insert this code in solver_encoder.py in last row

@jayzhu02
Copy link
Author

@zj19980122 torch.save({'model': self.G.state_dict(), 'optimizer': self.g_optimizer.state_dict()}, '1autovc.ckpt')
insert this code in solver_encoder.py in last row

Thanks a lot! I've already figure out how to build my model. But I still have a question: while training my own dataset(randomly chosen 40 speakers from VCTK), the loss_id and loss_id_psnt always wander between 0.01 and 0.02 after 15.5k step. The output quality doesn't sound good. I'm wondering whether it still need to train or the parameters need to change. My parameters are all default except dim_neck and freq are changed to 32.

@ngulya
Copy link

ngulya commented Sep 17, 2020

I don't know really but how I remember in step where prepared data was adding random noise - maybe this answer to your question?

@jayzhu02
Copy link
Author

I don't know really but how I remember in step where prepared data was adding random noise - maybe this answer to your question?

Thx! I'll have a try.

@Tinglok
Copy link

Tinglok commented Sep 21, 2020

I don't know really but how I remember in step where prepared data was adding random noise - maybe this answer to your question?

Thx! I'll have a try.

Hi @zj19980122, I have this problem too. Have you solved it?

@xelsa
Copy link

xelsa commented Sep 25, 2020

@zj19980122 I also have the exact same problem. I used the default parameters except dim_neck and freq changed to 32. The output is literally just noise.

@GreatDarrenSun
Copy link

@zj19980122 I have the same problem,how did you solve it?

@ghost
Copy link

ghost commented Jan 5, 2021

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants