Voice-Cloning-App icon indicating copy to clipboard operation
Voice-Cloning-App copied to clipboard

Error before training

Open Autachi opened this issue 1 year ago • 1 comments

When I try to train with my dataset the following error occurs:

INFO:root:Loading model... INFO:root:Loaded model INFO:root:Loading data... 112 train files, 28 test files

TypeError Traceback (most recent call last) in <cell line: 9>() 7 symbols = load_symbols(os.path.join(alphabet_directory, alphabet.value)) if alphabet.value else DEFAULT_ALPHABET 8 checkpoint_path = os.path.join(checkpoint_directory, dataset.value, checkpoint.value) if checkpoint.value else None ----> 9 train( 10 metadata_path=metadata, 11 dataset_directory=wavs,

3 frames /content/Voice-Cloning-App/training/tacotron2_model/stft.py in init(self, filter_length, hop_length, win_length, window) 67 # get window and zero center pad it to filter_length 68 fft_window = get_window(window, win_length, fftbins=True) ---> 69 fft_window = pad_center(fft_window, filter_length) 70 fft_window = torch.from_numpy(fft_window).float() 71

TypeError: pad_center() takes 1 positional argument but 2 were given

I have tried different things but they don´t work. Can someone help me? I am new to coding in general (I only got into it specifically for this program) so I don´t really know how to properly troubleshoot

Thx in advance

Autachi avatar Jun 02 '23 21:06 Autachi