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)
total_loss += loss.value()
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: 3
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: 2c6ce0ebfa9537246878e8fb9144e0c879fca17d
Time: 2018-10-22
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: _predict_one
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