9cf2bcdb24f23a17ec11e69b8885851771dfd3d8,cube/models/vocoder.py,BeeCoder,learn,#BeeCoder#Any#Any#Any#,121
Before Change
sys.stdout.flush()
output_power = self._predict_one(mgc[mgc_index], runtime=False)
// print(np.abs(signal_fft[mgc_index]))
fft_pow = 20 * np.log10(np.maximum(1e-5, np.abs(signal_fft[mgc_index]))) // np.abs(signal_fft[mgc_index])
min_level_db = -100.0
fft_pow = np.clip((fft_pow - min_level_db) / -min_level_db, 0, 1)
// print (fft_pow)
After Change
pred_output = self._predict_one(mgc[mgc_index], runtime=False)
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])))
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: tensorflow/models
Commit Name: fcd690b14b04c11e7f25b9d473db056c4b7947b3
Time: 2020-09-30
Author: tanzheny@google.com
File Name: official/vision/keras_cv/ops/iou_similarity.py
Class Name:
Method Name: intersection
Project Name: etal/cnvkit
Commit Name: 7e718f05dc0f21647f0fcb6599b20c200bc3189f
Time: 2016-01-13
Author: eric.talevich@gmail.com
File Name: cnvlib/fix.py
Class Name:
Method Name: get_edge_bias