1e15171f195d8094055eb8f460953fd6a840d9aa,cube/models/vocoder.py,BeeCoder,learn,#BeeCoder#,118
Before Change
pred_output = self._predict_one(mgc[mgc_index], runtime=False)
if mgc_index != len(mgc) - 1:
losses.append(dy.l1_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)
After Change
gs_output=wave[
mgc_index * self.UPSAMPLE_COUNT:mgc_index * self.UPSAMPLE_COUNT +
self.UPSAMPLE_COUNT])
target_vec_1 = wave[
mgc_index * self.UPSAMPLE_COUNT:mgc_index * self.UPSAMPLE_COUNT + self.UPSAMPLE_COUNT]
losses.append(dy.l1_distance(pred_output, dy.inputVector(target_vec_1)))
history = wave[
(mgc_index + 1) * self.UPSAMPLE_COUNT - self.HISTORY:(mgc_index + 1) * self.UPSAMPLE_COUNT]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
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
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: 18857c333e04b6815ec1f2ab9fcec1c0a0ae7bfd
Time: 2018-11-01
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: learn