While using the test models notebook when preloading models with rvc = true I get the following error
`FileNotFoundError Traceback (most recent call last)
Cell In[3], line 17
1 preload_models(
2 text_use_gpu=True,
3 text_use_small=False,
(...)
13 path="models"
14 )
16 if use_rvc:
---> 17 from rvc_infer import get_vc, vc_single
18 get_vc(rvc_path, device, is_half)
File ~\Documents\GitHub\bark-with-voice-clone\rvc_infer.py:114
112 sys.path.append(os.path.join(now_dir,"Retrieval-based-Voice-Conversion-WebUI"))
113 from vc_infer_pipeline import VC
--> 114 from infer.lib.infer_pack.models import SynthesizerTrnMs256NSFsid, SynthesizerTrnMs256NSFsid_nono, SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono
115 from fairseq import checkpoint_utils
116 from scipy.io import wavfile
File ~\AppData\Local\anaconda3\envs\bark\lib\site-packages\torch\serialization.py:986, in load(f, map_location, pickle_module, weights_only, mmap, **pickle_load_args)
983 if 'encoding' not in pickle_load_args.keys():
984 pickle_load_args['encoding'] = 'utf-8'
--> 986 with _open_file_like(f, 'rb') as opened_file:
987 if _is_zipfile(opened_file):
988 # The zipfile reader is going to advance the current file position.
989 # If we want to actually tail call to torch.jit.load, we need to
990 # reset back to the original position.
991 orig_position = opened_file.tell()
File ~\AppData\Local\anaconda3\envs\bark\lib\site-packages\torch\serialization.py:435, in _open_file_like(name_or_buffer, mode)
433 def _open_file_like(name_or_buffer, mode):
434 if _is_path(name_or_buffer):
--> 435 return _open_file(name_or_buffer, mode)
436 else:
437 if 'w' in mode:
While using the test models notebook when preloading models with rvc = true I get the following error `FileNotFoundError Traceback (most recent call last) Cell In[3], line 17 1 preload_models( 2 text_use_gpu=True, 3 text_use_small=False, (...) 13 path="models" 14 ) 16 if use_rvc: ---> 17 from rvc_infer import get_vc, vc_single 18 get_vc(rvc_path, device, is_half)
File ~\Documents\GitHub\bark-with-voice-clone\rvc_infer.py:114 112 sys.path.append(os.path.join(now_dir,"Retrieval-based-Voice-Conversion-WebUI")) 113 from vc_infer_pipeline import VC --> 114 from infer.lib.infer_pack.models import SynthesizerTrnMs256NSFsid, SynthesizerTrnMs256NSFsid_nono, SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono 115 from fairseq import checkpoint_utils 116 from scipy.io import wavfile
File ~\Documents\GitHub\bark-with-voice-clone\Retrieval-based-Voice-Conversion-WebUI\infer.py:21 18 else:model = model.float() 19 model.eval() ---> 21 cpt=torch.load(person,map_location="cpu") 22 dv=cpt["dv"] 23 tgt_sr=cpt["config"][-1]
File ~\AppData\Local\anaconda3\envs\bark\lib\site-packages\torch\serialization.py:986, in load(f, map_location, pickle_module, weights_only, mmap, **pickle_load_args) 983 if 'encoding' not in pickle_load_args.keys(): 984 pickle_load_args['encoding'] = 'utf-8' --> 986 with _open_file_like(f, 'rb') as opened_file: 987 if _is_zipfile(opened_file): 988 # The zipfile reader is going to advance the current file position. 989 # If we want to actually tail call to torch.jit.load, we need to 990 # reset back to the original position. 991 orig_position = opened_file.tell()
File ~\AppData\Local\anaconda3\envs\bark\lib\site-packages\torch\serialization.py:435, in _open_file_like(name_or_buffer, mode) 433 def _open_file_like(name_or_buffer, mode): 434 if _is_path(name_or_buffer): --> 435 return _open_file(name_or_buffer, mode) 436 else: 437 if 'w' in mode:
File ~\AppData\Local\anaconda3\envs\bark\lib\site-packages\torch\serialization.py:416, in _open_file.init(self, name, mode) 415 def init(self, name, mode): --> 416 super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'weights\洛天依v3.pt'`