We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError Traceback (most recent call last) in <cell line: 76>() 86 c = AutoVC_mel_Convertor('examples') 87 ---> 88 au_data_i = c.convert_single_wav_to_autovc_input(audio_filename=os.path.join('examples', ain), autovc_model_path=opt_parser.load_AUTOVC_name) 89 au_data += au_data_i 90 if(os.path.isfile('examples/tmp.wav')):
1 frames /content/MakeItTalk/src/autovc/retrain_version/vocoder_spec/extract_f0_func.py in extract_f0_func_audiofile(audio_file, gender) 95 def extract_f0_func_audiofile(audio_file, gender='M'): 96 floor_sp, ceil_sp = -80, 30 ---> 97 mel_basis = mel(16000, 1024, fmin=90, fmax=7600, n_mels=80).T 98 min_level = np.exp(-100 / 20 * np.log(10)) 99 b, a = butter_highpass(30, 16000, order=5)
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
The text was updated successfully, but these errors were encountered:
@UUPrEEth Change line 97 in /content/MakeItTalk/src/autovc/retrain_version/vocoder_spec/extract_f0_func.py to:
/content/MakeItTalk/src/autovc/retrain_version/vocoder_spec/extract_f0_func.py
mel_basis = mel(sr=16000, n_fft=1024, fmin=90, fmax=7600, n_mels=80).T
That should fix the issue of mel() recieving 2 positional arguments.
mel()
Sorry, something went wrong.
No branches or pull requests
TypeError Traceback (most recent call last)
in <cell line: 76>()
86 c = AutoVC_mel_Convertor('examples')
87
---> 88 au_data_i = c.convert_single_wav_to_autovc_input(audio_filename=os.path.join('examples', ain), autovc_model_path=opt_parser.load_AUTOVC_name)
89 au_data += au_data_i
90 if(os.path.isfile('examples/tmp.wav')):
1 frames
/content/MakeItTalk/src/autovc/retrain_version/vocoder_spec/extract_f0_func.py in extract_f0_func_audiofile(audio_file, gender)
95 def extract_f0_func_audiofile(audio_file, gender='M'):
96 floor_sp, ceil_sp = -80, 30
---> 97 mel_basis = mel(16000, 1024, fmin=90, fmax=7600, n_mels=80).T
98 min_level = np.exp(-100 / 20 * np.log(10))
99 b, a = butter_highpass(30, 16000, order=5)
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
The text was updated successfully, but these errors were encountered: