9cf2bcdb24f23a17ec11e69b8885851771dfd3d8,cube/models/vocoder.py,BeeCoder,learn,#BeeCoder#,121

Before Change


            // print (fft_pow)
            // print (fft_angle)
            // print("")
            losses.append(dy.binary_log_loss(output_power, dy.inputVector(fft_pow)))

            if len(losses) >= batch_size:
                loss = dy.esum(losses)

After Change



            if mgc_index != len(mgc) - 1:
                losses.append(dy.squared_distance(pred_output, dy.inputVector(
                    wave[mgc_index * self.UPSAMPLE_COUNT:mgc_index * self.UPSAMPLE_COUNT + self.UPSAMPLE_COUNT])))

            if len(losses) >= batch_size:
                loss = dy.esum(losses)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: tiberiu44/TTS-Cube
Commit Name: 9cf2bcdb24f23a17ec11e69b8885851771dfd3d8
Time: 2018-10-25
Author: boros@adobe.com
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: learn


Project Name: tiberiu44/TTS-Cube
Commit Name: 6eb57a4f0a564359e23f0427cf72b0736210112e
Time: 2018-11-04
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: learn


Project Name: tiberiu44/TTS-Cube
Commit Name: 1e15171f195d8094055eb8f460953fd6a840d9aa
Time: 2018-10-28
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: learn