Open Likkkez opened 5 years ago
hi.. i have tried the pre training model using your dataset but it gave me this error..please see it. how can we overcome this problem....
I tensorflow/core/common_runtime/gpu/gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: Quadro K6000, pci bus id: 0000:0f:00.0, compute capability: 3.5) /home/ai-team/Desktop/Voice_Converter_CycleGAN-master/preprocess.py:170: RuntimeWarning: divide by zero encountered in log f0_converted = np.exp((np.log(f0) - mean_log_src) / std_log_src * std_log_target + mean_log_target)
@Likkkez have you solved this problem?
@Likkkez have you solved this problem?
Its not a great solution but I just removed one element from the array and it seems to have fixed it
decoded_sp_converted1 = world_decode_spectral_envelop(coded_sp = coded_sp_converted, fs = sampling_rate)
if sampling_rate==44100:
decoded_sp_converted = decoded_sp_converted1[:-(len(decoded_sp_converted1)-len(f0_converted))]
else:
decoded_sp_converted = decoded_sp_converted1
@Likkkez thanks
Hi! I've tried training the model using my own samples but it gave me assertion error in preprocess.py, so Ive tried changing the n_frames value from 128 to 32 and it seemed to have worked. Also I've changed sampling_rate from 16000 to 44100 since my audio is recorded in 44100 Hz. However, now I get this error while trying to use convert.py
Have I messed something up by changing the values described above? Thank you for your time.