首页 > 其他分享 >tts-autolabel

tts-autolabel

时间:2023-05-21 10:04:32浏览次数:28  
标签:https cn tts autolabel onnxruntime 版本 tensorflow


安装

pip install tts-autolabel -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html  -i https://pypi.tuna.tsinghua.edu.cn/simple

版本冲突

另外tts-autolabel包依赖的onnxruntime,默认onnxruntime安装版本大于等于1.11会导致要求numpy版本大于1.21,在Modelscope默认镜像中,因为默认安装tensorflow-1.15,该版本tensorflow要求numpy小于等于1.18,这样会出现冲突。碰到这种情况,可以参考如下方案解决:

  1. 考虑如果使用场景不需要tensorflow,可以删除tensorflow-1.15
  2. 考虑换onnxruntime==1.10版本,然后重新安装numpy

推荐:使用容器,专门跑标注任务。也就是不安装tensorflow






标签:https,cn,tts,autolabel,onnxruntime,版本,tensorflow
From: https://blog.51cto.com/shoucuohulu/6318620

相关文章

  • 树莓派语音合成-pyttsx3
     安装pyttsx3库pip install pyttsx3pipinstallespeakpyttsx3库应用importpyttsx3engine=pyttsx3.init()#初始化语音引擎rate=engine.getProperty('rate')print(f'语速:{rate}')volume=engine.getProperty('volume')  print(f......
  • 【opentts】win11问题记录
    1.File"\lib\asyncio\events.py",line553,inadd_signal_handlerraiseNotImplementedError参考issue,windows不支持signal,添加代码禁用#_LOOP.add_signal_handler(signal.SIGTERM,_signal_handler)try:_LOOP.add_signal_handler(signal.SIGTERM,_signal......
  • python文本转语音库Pyttsx3
    python文本转语音库Pyttsx3:https://github.com/nateshmbhat/pyttsx3Installation:pipinstallpyttsx3Linuxinstallationrequirements:Ifyouareonalinuxsystemandifthevoiceoutputisnotworking,then:Installespeak,ffmpegandlibespeak1asshown......
  • Python + edge-tts:一行代码,让你的文本轻松变成语音!
    大家好,我是树先生!今天给大家介绍一个Python库edge-tts,可以在本地轻松将文本转换成语音,非常方便,并且完全免费!先来听一下效果:https://www.bilibili.com/audio/au3843189?type=1怎么样?是不是很熟悉,影视解说中常用开头:这个女人叫小美。。。 edge-tts介绍edge-tts是一个Py......
  • python tts播放文字
    参考以下代码:importpyttsx3#创建TTS引擎对象engine=pyttsx3.init()#设置语音属性engine.setProperty('rate',218)#设置语速为150engine.setProperty('vo......
  • TTStand 常见问题【F.A.Q】
    FrequentlyAskedQuestions 问题1:打开TestStand或者TTStand时,显示调用组件失败?答1:TestStand部分组件文件丢失导致,可以修复TestStand或者卸载重装TestStand解决。 ......
  • 使用Windows TTS API从文本生成语音
    本文更新于2022-04-05。创建.vbs脚本(文件名自定,笔者使用say.vbs),文件内容如下:setspvoice=CreateObject("SAPI.SpVoice")setspfilestream=CreateObject("SAPI.SpFil......
  • .NET(C#、VB)APP开发——Smobiler平台控件介绍:TTS
    本文简述如何在Smobiler中使用TTS文字转语音。Step1.新建一个SmobilerForm窗体,并在窗体中加入TTS和Button,布局如下Button的点击事件代码:privatevoidbutt......
  • .NET(C#、VB)APP开发——Smobiler平台控件介绍:TTS
    本文简述如何在Smobiler中使用TTS文字转语音。Step1.新建一个SmobilerForm窗体,并在窗体中加入TTS和Button,布局如下Button的点击事件代码:privatevoidbut......
  • 含辞未吐,声若幽兰,史上最强免费人工智能AI语音合成TTS服务微软Azure(Python3.10接入)
    所谓文无第一,武无第二,云原生人工智能技术目前呈现三足鼎立的态势,微软,谷歌以及亚马逊三大巨头各擅胜场,不分伯仲,但目前微软Azure平台不仅仅只是一个PaaS平台,相比AWS,以及GAE,它......