MTG / WGANSing

Multi-voice singing voice synthesis
235 stars 44 forks source link

Potential typo in code #27

Closed ghost closed 3 years ago

ghost commented 3 years ago

in modules_tf.py:

method signature:

in model.py:

methods calls:

I think the self.phone_onehot_labels (Pho_in) and self.f0_placeholder (F0_in) need to be swapped in the method calls to be coherent with the signature (or change the signature order). No problem in the model functionnality, the layers have a similar construction signature and are interchangeable in the concatenated input tensor.

pc2752 commented 3 years ago

Hi MaxC2, thanks for your interest in our work. Yes, you're right the order in the call is incorrect, but in functionality, it will work the same. I guess the right way would be to swap it before training the model, but for using the pre-trained model, you need to keep the order as it is.

In any case, I am working on a PyTorch version of the same code (since the version of TensorFlow used here is all but defunct now) and will be releasing it soon.

ghost commented 3 years ago

Yes you're right, it's just because i've seen that by reading the code today. Great news for the PyTorch version !