开发者社区 > ModelScope模型即服务 > 正文

小白求助,CosyVoice-ttsfrd 这个模型资源库是不是用来文本转语音播报的呀?

我依照README上面的步骤在Model download

下载了以下资源
git clone https://www.modelscope.cn/iic/CosyVoice-ttsfrd.git pretrained_models/CosyVoice-ttsfrd

然后在下面第二步 unzip的时候报错

cd pretrained_models/speech_kantts_ttsfrd/
unzip resource.zip -d .
pip install ttsfrd-0.3.6-cp38-cp38-linux_x86_64.whl

报错信息 意思是这个包有问题,那现在到了这一步怎么办呀

Archive: resource.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of resource.zip or
resource.zip.zip, and cannot find resource.zip.ZIP, period.

展开
收起
烧橙月 2024-08-03 20:24:24 103 0
2 条回答
写回答
取消 提交回答
  • 测试小白

    找到原因了, 我没安装git lfs 导致下载的压缩包不完整

    2024-08-05 09:44:05
    赞同 3 展开评论 打赏
  • 北京阿里云ACE会长

    重新下载resource.zip文件,确保下载过程中没有发生错误,文件没有损坏。
    如果标准的unzip工具不能解压,尝试使用其他解压缩工具,如7-Zip或WinRAR(如果你使用的是Windows系统)。

    2024-08-04 09:06:22
    赞同 1 展开评论 打赏

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载