-
Notifications
You must be signed in to change notification settings - Fork 92
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
F0 Converter for P - loss function values #36
Comments
The output of the f0 predictor is 257 dim logit instead of one-hot. So, you need to use cross-entropy loss as indicated in the paper. |
Thank you for your quick response.I understand what you are saying. I found that in the appendix of paper. What I meant to ask are the 2 values you are using to calculate the loss. How are you getting the value of f0_orig in 257 dim to feed into the loss function. Loss function requires 2 values. One is f0_pred which is the output of F0_converter model. What is the other value? What I am asking is the input for the cross entropy loss? |
The target is the quantized the ground truth f0, based on https://arxiv.org/abs/2004.07370 |
Thanks for your help. Paper covered most of my doubts. Great read. |
In the 'Train the generator' section of solver.py:
This appears to be working for me (ie seems to run at least!) |
Hello, I want to now where the x_real_trg come from... |
I've changed some of the code around since, but hopefully this helps a bit. Both 'org' and 'trg' are just different instances. I had just tried applying some of the code from elsewhere in the repo to training so used these naming conventions.
|
I am trying to replicate your work. I am currently making F0 converter model for P checkpoint generation. I am stuck at loss calculation.
I see when I use F0_Converter model to generate P, I get a 257 dimension one-hot encoded feature P.
Demo.ipynb
I wanted to ask you when training the F0 converter model, what is the value that you are using to calculate the loss?
I tried using the following value but I am not sure if that is the right way.
This is what I am doing to generate f0_pred and to calculate the loss:
I just want to know if I am on the right track.
Can you help me out here @auspicious3000
The text was updated successfully, but these errors were encountered: