当前位置: 首页 > news >正文

58同城做网站推广好不好平面设计电商设计

58同城做网站推广好不好,平面设计电商设计,建设银行网站未响应,深圳网站优化网站一、环境 ubuntu 20.04 python 3.8 cuda 11.8二、部署 1、docker方式部署 1.1、安装docker 如何安装docker,可以参考这篇文章 1.2、拉取镜像 docker run -dp 127.0.0.1:8501:8501 syq163/emoti-voice:latest2、完整安装 安装python依赖 conda create -n Emo…

一、环境

ubuntu 20.04
python 3.8
cuda 11.8

二、部署

1、docker方式部署

1.1、安装docker

如何安装docker,可以参考这篇文章

1.2、拉取镜像

docker run -dp 127.0.0.1:8501:8501 syq163/emoti-voice:latest

2、完整安装

安装python依赖

conda create -n EmotiVoice python=3.8 -y
conda activate EmotiVoice
pip install torch torchaudio
pip install numpy numba scipy transformers==4.26.1 soundfile yacs g2p_en jieba pypinyin

安装git lfs和下载模型

curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
git lfs install
git lfs clone https://huggingface.co/WangZeJun/simbert-base-chinese WangZeJun/simbert-base-chinese

下载预训练模型

https://drive.google.com/drive/folders/1y6Xwj_GG9ulsAonca_unSGbJ4lxbNymM

将预训练模型放在源码中的位置

WangZeJun/simbert-base-chinese

下载源码

git clone https://github.com/lukeewin/EmotiVoice.git

在源码路径中创建目录保存预训练模型

mkdir -p outputs/style_encoder/ckpt
mkdir -p outputs/prompt_tts_open_source_joint/ckpt

g_*, do_*文件放到outputs/prompt_tts_open_source_joint/ckpt,将checkpoint_*放到outputs/style_encoder/ckpt

推理输入文本格式是:<speaker>|<style_prompt/emotion_prompt/content>|<phoneme>|<content>

  • 例如: 8051|非常开心|<sos/eos> uo3 sp1 l ai2 sp0 d ao4 sp1 b ei3 sp0 j ing1 sp3 q ing1 sp0 h ua2 sp0 d a4 sp0 x ve2 <sos/eos>|我来到北京,清华大学
  • 其中的音素(phonemes)可以这样得到:python frontend.py data/my_text.txt > data/my_text_for_tts.txt.
TEXT=data/inference/text
python inference_am_vocoder_joint.py \
--logdir prompt_tts_open_source_joint \
--config_folder config/joint \
--checkpoint g_00140000 \
--test_file $TEXT

合成的语音结果在:outputs/prompt_tts_open_source_joint/test_audio

pip install streamlit
streamlit run demo_page.py

更多内容

http://www.yayakq.cn/news/119955/

相关文章:

  • 做网站资金来源是什么wordpress 网站实例
  • 西安做搭建网站怎么做类似淘宝一样的网站吗
  • 兰州seo网站排名WordPress出现508
  • wordpress分站点电子商务与网络营销论文
  • 无锡做网站需要多少钱做网站很难吗
  • 淮南企业网站建设wordpress怎么写html
  • 企业网站制作模板免费建立网站步骤
  • 石家庄做网站汉狮网络晚上做设计挣钱的网站
  • 四川住房和城乡建设厅网站三类人员宛城区建网站
  • 织梦怎么关闭网站网站域名注册查询
  • 企业网站的综合要求是什么办个网站需要多少钱
  • 上海网站seo设计实验仪器销信应做何网站
  • 网站建设平台卜先明wordpress做直播网站吗
  • 网站app开发流程Wordpress 仿站 工具
  • 做毕设的网站万家在深圳我在房网信息论坛
  • wordpress多語言主頁免费外链网站seo发布
  • 网站关键词重复网络营销课程建议
  • 网站权重值在较长时间内是一定的页面优化wordpress延迟加载插件
  • 网站开发 知乎国内建筑设计公司排名
  • 织梦网站主页地址更改南昌智能建站模板
  • 杂志媒体网站建设方案网站描述在关键字前可以吗
  • 做网站赚广告费好做吗查网站的关键词排名吗
  • asp.net网站开发详解删除自豪的采用wordpress
  • 网站dns刷新wordpress美化教程
  • 网站开发素材包wordpress未登录用户重定向
  • seo外推榜单优化
  • 如何创建网站站点并且避免广告怎样说服企业做网站建设推广
  • 网站信息更新如何做网站详情页怎么做
  • 英文网站设计哪家好摄影网站下载
  • 上海营销型网站建设方案电商类网站怎么做 seo