Open PeterTucker opened 3 months ago
Looks like RVC won't properly read an index_file.
/root/.cache/pypoetry/virtualenvs/rvc-9TtSrW0h-py3.10/lib/python3.10/site-packages/torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm. warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.") 2024-05-28 19:13:17 | INFO | rvc.modules.vc.modules | Select index: index_file: /rvc_models/added_IVF632_Flat_nprobe_1_IvanaAlawi_v2.index 2024-05-28 19:13:18 | INFO | fairseq.tasks.hubert_pretraining | current directory is /app 2024-05-28 19:13:18 | INFO | fairseq.tasks.hubert_pretraining | HubertPretrainingTask Config {'_name': 'hubert_pretraining', 'data': 'metadata', 'fine_tuning': False, 'labels': ['km'], 'label_dir': 'label', 'label_rate': 50.0, 'sample_rate': 16000, 'normalize': False, 'enable_padding': False, 'max_keep_size': None, 'max_sample_size': 250000, 'min_sample_size': 32000, 'single_target': False, 'random_crop': True, 'pad_audio': False} 2024-05-28 19:13:18 | INFO | fairseq.models.hubert.hubert | HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12, 'encoder_embed_dim': 768, 'encoder_ffn_embed_dim': 3072, 'encoder_attention_heads': 12, 'activation_fn': gelu, 'layer_type': transformer, 'dropout': 0.1, 'attention_dropout': 0.1, 'activation_dropout': 0.0, 'encoder_layerdrop': 0.05, 'dropout_input': 0.1, 'dropout_features': 0.1, 'final_dim': 256, 'untie_final_proj': True, 'layer_norm_first': False, 'conv_feature_layers': '[(512,10,5)] + [(512,3,2)] * 4 + [(512,2,2)] * 2', 'conv_bias': False, 'logit_temp': 0.1, 'target_glu': False, 'feature_grad_mult': 0.1, 'mask_length': 10, 'mask_prob': 0.8, 'mask_selection': static, 'mask_other': 0.0, 'no_mask_overlap': False, 'mask_min_space': 1, 'mask_channel_length': 10, 'mask_channel_prob': 0.0, 'mask_channel_selection': static, 'mask_channel_other': 0.0, 'no_mask_channel_overlap': False, 'mask_channel_min_space': 1, 'conv_pos': 128, 'conv_pos_groups': 16, 'latent_temp': [2.0, 0.5, 0.999995], 'skip_masked': False, 'skip_nomask': False, 'checkpoint_activations': False, 'required_seq_len_multiple': 2, 'depthwise_conv_kernel_size': 31, 'attn_type': '', 'pos_enc_type': 'abs', 'fp16': False} Traceback (most recent call last): File "/app/rvc/modules/vc/pipeline.py", line 307, in pipeline index = faiss.read_index(file_index) File "/root/.cache/pypoetry/virtualenvs/rvc-9TtSrW0h-py3.10/lib/python3.10/site-packages/faiss/swigfaiss_avx2.py", line 10538, in read_index return _swigfaiss_avx2.read_index(*args) TypeError: Wrong number or type of arguments for overloaded function 'read_index'. Possible C/C++ prototypes are: faiss::read_index(char const *,int) faiss::read_index(char const *) faiss::read_index(FILE *,int) faiss::read_index(FILE *) faiss::read_index(faiss::IOReader *,int) faiss::read_index(faiss::IOReader *)
I can confirm the .index file is also in the correct location.
25 & #14
Looks like RVC won't properly read an index_file.
I can confirm the .index file is also in the correct location.