IndexError: list index out of range (when uploading my model in the Inference Notebook)
IndexError Traceback (most recent call last)
/content/diff-svc/preprocessing/hubertinfer.py in init(self, pt_path) 20 self.hbt_model = load_model(pt_path) 21 else: ---> 22 pt_path = list(Path(pt_path).parent.rglob('*.pt'))[0] 23 if 'hubert_gpu' in hparams.keys(): 24 self.use_gpu = hparams['hubert_gpu']
IndexError: list index out of range
if you don't have hubert model ckpt, the problem occur. you have to download model ckpt.
How can i download it?
join the discord server you can see the pre-trained-model channel model ckpt is there