f1ac81075ac88cf1fb9f701fc1ee78696edd078f,cube/models/vocoder.py,BeeCoder,synthesize,#BeeCoder#Any#Any#Any#Any#Any#,66
Before Change
output_power, softmaxes, last_state = self._predict_one(mgc[mgc_index], history=history,
last_state=last_state)
ov = output_power.value()
for item in ov:
synth.append(item)
history = synth[-1]
// synth = self.vocoder.griffinlim(predicted, sample_rate=self.params.target_sample_rate)
After Change
output_power, softmaxes, last_state = self._predict_one(mgc[mgc_index], history=history,
last_state=last_state)
for hval, lval in output_power:
synth.append(int(hval.value() * 255) * 256 + int(lval.value()) * 255)
history = synth[-1]
// synth = self.vocoder.griffinlim(predicted, sample_rate=self.params.target_sample_rate)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tiberiu44/TTS-Cube
Commit Name: f1ac81075ac88cf1fb9f701fc1ee78696edd078f
Time: 2018-10-31
Author: boros@adobe.com
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: synthesize
Project Name: neubig/nn4nlp-code
Commit Name: e2239ff7bb6234e409bf3676acb45b74d8c34e9d
Time: 2017-10-16
Author: hunterhector@gmail.com
File Name: 15-vae/vae-lm.py
Class Name:
Method Name:
Project Name: facebookresearch/ParlAI
Commit Name: 72c304fa7cac16ed19d8bc75a017f17c8073dd2f
Time: 2020-02-13
Author: roller@fb.com
File Name: parlai/utils/misc.py
Class Name: TimeLogger
Method Name: log