# vits **Repository Path**: WhiteYuan/vits ## Basic Information - **Project Name**: vits - **Description**: https://gitee.com/WhiteYuan/vits - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-08-09 - **Last Updated**: 2023-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 报错:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position xx 答:数据集文件名中不要包含中文或日文等非西文字符。 报错:alueError: too many values to unpack (expected 2) 答:检查训练集和验证集,如果都确认没问题,重新执行一篇预处理脚本(有时间生成时会出现莫名其妙的现象,重新执行就好了) 报错:页面文件太小,无法完成操作。 答:调整一下虚拟内存大小,具体的方法各种地方一搜就能搜到,不展开了。 报错:UnboundLocalError: local variable 'audio' referenced before assignment 答:上传的推理音频需要是16位整数wav格式,用Au转换一下就好。或者装个ffmpeg一劳永逸地解决问题。 报错:AssertionError: CPU training is not allowed. 答:非N卡跑不了的。 报错:torch.cuda.OutOfMemoryError: CUDA out of memory 答:爆显存了,试着把batch_size改小,改到1还爆的话建议云端训练。 报错:RuntimeError: DataLoader worker (pid(s) xxxx) exited unexpectedly 答:把虚拟内存再调大一点。 报错:NotImplementedError: Only 2D, 3D, 4D, 5D padding with non-constant padding are supported for now 答:数据集切片切太长了,5-10秒差不多。 报错:CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling 'cublasCreate(handle)' 答:爆显存了,基本上跟CUDA有关的报错大都是爆显存…… 报错:torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with exit code 3221225477 答:调大虚拟内存,管理员运行脚本 报错:'HParams' object has no attribute 'xxx' 答:无法找到音色,一般是配置文件和模型没对应,打开配置文件拉到最下面看看有没有你训练的音色 报错:The expand size of the tensor (768) must match the existing size (256) at non-singleton dimension 0. 答:重新走一遍预处理流程