[GH-ISSUE #206] No index file generated after training the model #92

Closed
opened 2026-10-20 09:55:07 +00:00 by bsakaguchi · 9 comments
Owner

Originally created by @SpawnerF on GitHub (Apr 29, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/206

So basically after completing 350 epochs, it did generate the .pth file along with config json, but .index is no where to be seen, here is the logs :

2023-04-29 14:39:38,916	mymodel	INFO	{'train': {'log_interval': 200, 'seed': 1234, 'epochs': 20000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 14, 'fp16_run': True, 'lr_decay': 0.999875, 'segment_size': 12800, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 40000, 'filter_length': 2048, 'hop_length': 400, 'win_length': 2048, 'n_mel_channels': 125, 'mel_fmin': 0.0, 'mel_fmax': None, 'training_files': './logs/mymodel/filelist.txt'}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 10, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4], 'use_spectral_norm': False, 'gin_channels': 256, 'spk_embed_dim': 109}, 'model_dir': './logs/mymodel', 'experiment_dir': './logs/mymodel', 'save_every_epoch': 50, 'name': 'mymodel', 'total_epoch': 350, 'pretrainG': 'pretrained/f0G40k.pth', 'pretrainD': 'pretrained/f0D40k.pth', 'gpus': '0', 'sample_rate': '40k', 'if_f0': 1, 'if_latest': 1, 'if_cache_data_in_gpu': 0}

2023-04-29 16:02:55,997	mymodel	INFO	Saving model and optimizer state at epoch 350 to ./logs/mymodel/G_2333333.pth
2023-04-29 16:02:57,467	mymodel	INFO	Saving model and optimizer state at epoch 350 to ./logs/mymodel/D_2333333.pth
2023-04-29 16:03:00,090	mymodel	INFO	====> Epoch: 350
2023-04-29 16:03:00,090	mymodel	INFO	Training is done. The program is closed.
2023-04-29 16:03:00,352	mymodel	INFO	saving final ckpt:Success.

Originally created by @SpawnerF on GitHub (Apr 29, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/206 So basically after completing 350 epochs, it did generate the .pth file along with config json, but **.index** is no where to be seen, here is the logs : ``` 2023-04-29 14:39:38,916 mymodel INFO {'train': {'log_interval': 200, 'seed': 1234, 'epochs': 20000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 14, 'fp16_run': True, 'lr_decay': 0.999875, 'segment_size': 12800, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 40000, 'filter_length': 2048, 'hop_length': 400, 'win_length': 2048, 'n_mel_channels': 125, 'mel_fmin': 0.0, 'mel_fmax': None, 'training_files': './logs/mymodel/filelist.txt'}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 10, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4], 'use_spectral_norm': False, 'gin_channels': 256, 'spk_embed_dim': 109}, 'model_dir': './logs/mymodel', 'experiment_dir': './logs/mymodel', 'save_every_epoch': 50, 'name': 'mymodel', 'total_epoch': 350, 'pretrainG': 'pretrained/f0G40k.pth', 'pretrainD': 'pretrained/f0D40k.pth', 'gpus': '0', 'sample_rate': '40k', 'if_f0': 1, 'if_latest': 1, 'if_cache_data_in_gpu': 0} 2023-04-29 16:02:55,997 mymodel INFO Saving model and optimizer state at epoch 350 to ./logs/mymodel/G_2333333.pth 2023-04-29 16:02:57,467 mymodel INFO Saving model and optimizer state at epoch 350 to ./logs/mymodel/D_2333333.pth 2023-04-29 16:03:00,090 mymodel INFO ====> Epoch: 350 2023-04-29 16:03:00,090 mymodel INFO Training is done. The program is closed. 2023-04-29 16:03:00,352 mymodel INFO saving final ckpt:Success. ```
bsakaguchi 2026-10-20 09:55:07 +00:00
Author
Owner

@mr-segfault commented on GitHub (Apr 29, 2023):

Duplicate of: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/167

<!-- gh-comment-id:1528824834 --> @mr-segfault commented on GitHub (Apr 29, 2023): Duplicate of: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/167
Author
Owner

@RVC-Boss commented on GitHub (Apr 30, 2023):

So basically after completing 350 epochs, it did generate the .pth file along with config json, but .index is no where to be seen, here is the logs :

2023-04-29 14:39:38,916	mymodel	INFO	{'train': {'log_interval': 200, 'seed': 1234, 'epochs': 20000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 14, 'fp16_run': True, 'lr_decay': 0.999875, 'segment_size': 12800, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 40000, 'filter_length': 2048, 'hop_length': 400, 'win_length': 2048, 'n_mel_channels': 125, 'mel_fmin': 0.0, 'mel_fmax': None, 'training_files': './logs/mymodel/filelist.txt'}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 10, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4], 'use_spectral_norm': False, 'gin_channels': 256, 'spk_embed_dim': 109}, 'model_dir': './logs/mymodel', 'experiment_dir': './logs/mymodel', 'save_every_epoch': 50, 'name': 'mymodel', 'total_epoch': 350, 'pretrainG': 'pretrained/f0G40k.pth', 'pretrainD': 'pretrained/f0D40k.pth', 'gpus': '0', 'sample_rate': '40k', 'if_f0': 1, 'if_latest': 1, 'if_cache_data_in_gpu': 0}

2023-04-29 16:02:55,997	mymodel	INFO	Saving model and optimizer state at epoch 350 to ./logs/mymodel/G_2333333.pth
2023-04-29 16:02:57,467	mymodel	INFO	Saving model and optimizer state at epoch 350 to ./logs/mymodel/D_2333333.pth
2023-04-29 16:03:00,090	mymodel	INFO	====> Epoch: 350
2023-04-29 16:03:00,090	mymodel	INFO	Training is done. The program is closed.
2023-04-29 16:03:00,352	mymodel	INFO	saving final ckpt:Success.

Your GPU is, 10xx, 16xx, P40, or others?

<!-- gh-comment-id:1528940272 --> @RVC-Boss commented on GitHub (Apr 30, 2023): > So basically after completing 350 epochs, it did generate the .pth file along with config json, but **.index** is no where to be seen, here is the logs : > > ``` > 2023-04-29 14:39:38,916 mymodel INFO {'train': {'log_interval': 200, 'seed': 1234, 'epochs': 20000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 14, 'fp16_run': True, 'lr_decay': 0.999875, 'segment_size': 12800, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 40000, 'filter_length': 2048, 'hop_length': 400, 'win_length': 2048, 'n_mel_channels': 125, 'mel_fmin': 0.0, 'mel_fmax': None, 'training_files': './logs/mymodel/filelist.txt'}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 10, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4], 'use_spectral_norm': False, 'gin_channels': 256, 'spk_embed_dim': 109}, 'model_dir': './logs/mymodel', 'experiment_dir': './logs/mymodel', 'save_every_epoch': 50, 'name': 'mymodel', 'total_epoch': 350, 'pretrainG': 'pretrained/f0G40k.pth', 'pretrainD': 'pretrained/f0D40k.pth', 'gpus': '0', 'sample_rate': '40k', 'if_f0': 1, 'if_latest': 1, 'if_cache_data_in_gpu': 0} > > 2023-04-29 16:02:55,997 mymodel INFO Saving model and optimizer state at epoch 350 to ./logs/mymodel/G_2333333.pth > 2023-04-29 16:02:57,467 mymodel INFO Saving model and optimizer state at epoch 350 to ./logs/mymodel/D_2333333.pth > 2023-04-29 16:03:00,090 mymodel INFO ====> Epoch: 350 > 2023-04-29 16:03:00,090 mymodel INFO Training is done. The program is closed. > 2023-04-29 16:03:00,352 mymodel INFO saving final ckpt:Success. > ``` Your GPU is, 10xx, 16xx, P40, or others?
Author
Owner

@SpawnerF commented on GitHub (Apr 30, 2023):

I'm using Google colab free version as I still can't run rvc locally on M1.

GPU Name : GPU 0: Tesla T4

<!-- gh-comment-id:1528948028 --> @SpawnerF commented on GitHub (Apr 30, 2023): I'm using Google colab free version as I still can't run rvc locally on M1. GPU Name : GPU 0: Tesla T4
Author
Owner

@eliasnassar commented on GitHub (Jul 14, 2023):

I am facing the same problem +1

<!-- gh-comment-id:1635670467 --> @eliasnassar commented on GitHub (Jul 14, 2023): I am facing the same problem +1
Author
Owner

@shivanishimpi commented on GitHub (Aug 2, 2023):

I am stuck with the same problem, can someone direct me to a solution to the same?

<!-- gh-comment-id:1661675847 --> @shivanishimpi commented on GitHub (Aug 2, 2023): I am stuck with the same problem, can someone direct me to a solution to the same?
Author
Owner

@Acrivec commented on GitHub (Aug 30, 2023):

I have the same problem - 100 epochs training completed, no GPU, no index file.
obraz

<!-- gh-comment-id:1698468150 --> @Acrivec commented on GitHub (Aug 30, 2023): I have the same problem - 100 epochs training completed, no GPU, no index file. ![obraz](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/26365504/708b21de-9a57-420f-8ab4-df7896899182)
Author
Owner

@himalooo commented on GitHub (Oct 15, 2023):

any updates how to fix it

<!-- gh-comment-id:1763468233 --> @himalooo commented on GitHub (Oct 15, 2023): any updates how to fix it
Author
Owner

@skillslasher commented on GitHub (Mar 5, 2024):

Same problem with index file. After training the model, it's gone. Has anyone found a solution?

<!-- gh-comment-id:1978392766 --> @skillslasher commented on GitHub (Mar 5, 2024): Same problem with index file. After training the model, it's gone. Has anyone found a solution?
Author
Owner

@github-actions[bot] commented on GitHub (Apr 29, 2024):

This issue was closed because it has been inactive for 15 days since being marked as stale.

<!-- gh-comment-id:2081857685 --> @github-actions[bot] commented on GitHub (Apr 29, 2024): This issue was closed because it has been inactive for 15 days since being marked as stale.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#92
No description provided.