yl4579 / PitchExtractor

Deep Neural Pitch Extractor for Voice Conversion and TTS Training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Num_class must be 1?

chiaki-luo opened this issue · comments

commented

It seems that the num_class must be one, otherwise I need to change the code of L1_loss, so if I have two classes, should I use class=1 or change the loss code?
Thank you for your help!

Sorry for the late reply. Yes the num_class must be 1, because we are only predicting a time series (F0). The original JDC net was designed to predict the note classes for MIDI transcription, but here we used it for F0 curve prediction only.