Open XPRAMT opened 1 year ago
(so-vits) C:\APP\AI Art\Sound\so-vits-svc_4.0>python train.py -c configs/config.json -m 44k INFO:44k:{'train': {'log_interval': 200, 'eval_interval': 800, 'seed': 1234, 'epochs': 10000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 4, 'fp16_run': False, 'lr_decay': 0.999875, 'segment_size': 10240, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0, 'use_sr': True, 'max_speclen': 512, 'port': '8001', 'keep_ckpts': 3}, 'data': {'training_files': 'filelists/train.txt', 'validation_files': 'filelists/val.txt', 'max_wav_value': 32768.0, 'sampling_rate': 44100, 'filter_length': 2048, 'hop_length': 512, 'win_length': 2048, 'n_mel_channels': 80, 'mel_fmin': 0.0, 'mel_fmax': 22050}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0.1, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [8, 8, 2, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4, 4], 'n_layers_q': 3, 'use_spectral_norm': False, 'gin_channels': 256, 'ssl_dim': 256, 'n_speakers': 200}, 'spk': {'hanser': 0}, 'model_dir': './logs\\44k'} WARNING:44k:C:\APP\AI Art\Sound\so-vits-svc_4.0 is not a git repository, therefore hash value comparison will be ignored. INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:1 to store for rank: 0 INFO:torch.distributed.distributed_c10d:Rank 0: Completed store-based barrier for key:store_based_barrier_key:1 with 1 nodes. ./logs\44k\G_0.pth error, emb_g.weight is not in the checkpoint INFO:44k:emb_g.weight is not in the checkpoint load INFO:44k:Loaded checkpoint './logs\44k\G_0.pth' (iteration 0) ./logs\44k\D_0.pth load INFO:44k:Loaded checkpoint './logs\44k\D_0.pth' (iteration 0) Traceback (most recent call last): File "C:\APP\AI Art\Sound\so-vits-svc_4.0\train.py", line 311, in <module> main() File "C:\APP\AI Art\Sound\so-vits-svc_4.0\train.py", line 52, in main mp.spawn(run, nprocs=n_gpus, args=(n_gpus, hps,)) File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\multiprocessing\spawn.py", line 240, in spawn return start_processes(fn, args, nprocs, join, daemon, start_method='spawn') File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\multiprocessing\spawn.py", line 198, in start_processes while not context.join(): File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\multiprocessing\spawn.py", line 160, in join raise ProcessRaisedException(msg, error_index, failed_process.pid) torch.multiprocessing.spawn.ProcessRaisedException: -- Process 0 terminated with the following error: Traceback (most recent call last): File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\multiprocessing\spawn.py", line 69, in _wrap fn(i, *args) File "C:\APP\AI Art\Sound\so-vits-svc_4.0\train.py", line 120, in run train_and_evaluate(rank, epoch, hps, [net_g, net_d], [optim_g, optim_d], [scheduler_g, scheduler_d], scaler, File "C:\APP\AI Art\Sound\so-vits-svc_4.0\train.py", line 142, in train_and_evaluate for batch_idx, items in enumerate(train_loader): File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\dataloader.py", line 628, in __next__ data = self._next_data() File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\dataloader.py", line 1333, in _next_data return self._process_data(data) File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\dataloader.py", line 1359, in _process_data data.reraise() File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\_utils.py", line 543, in reraise raise exception NotImplementedError: Caught NotImplementedError in DataLoader worker process 0. Original Traceback (most recent call last): File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\_utils\worker.py", line 302, in _worker_loop data = fetcher.fetch(index) File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\_utils\fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "C:\Users\XPRAMT\anaconda3\envs\so-vits\lib\site-packages\torch\utils\data\_utils\fetch.py", line 58, in <listcomp> data = [self.dataset[idx] for idx in possibly_batched_index] File "C:\APP\AI Art\Sound\so-vits-svc_4.0\data_utils.py", line 88, in __getitem__ return self.get_audio(self.audiopaths[index][0]) File "C:\APP\AI Art\Sound\so-vits-svc_4.0\data_utils.py", line 53, in get_audio spec = spectrogram_torch(audio_norm, self.filter_length, File "C:\APP\AI Art\Sound\so-vits-svc_4.0\modules\mel_processing.py", line 63, in spectrogram_torch y = torch.nn.functional.pad(y.unsqueeze(1), (int((n_fft-hop_size)/2), int((n_fft-hop_size)/2)), mode='reflect') NotImplementedError: Only 2D, 3D, 4D, 5D padding with non-constant padding are supported for now