1 Star 0 Fork 4

微家公寓/snowboy-with-generate-pmdl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 745 Bytes
一键复制 编辑 原始数据 按行查看 历史
Daniel Schnabel 提交于 2021-04-26 12:32 . Create Dockerfile
FROM ubuntu:16.04
RUN apt update && apt --yes --force-yes install wget unzip build-essential python python-dev virtualenv portaudio19-dev
RUN wget https://github.com/seasalt-ai/snowboy/archive/master.zip && unzip master.zip
RUN cd snowboy-master/ && \
virtualenv -p python2 venv/snowboy && \
. venv/snowboy/bin/activate && \
cd examples/Python && \
pip install -r requirements.txt
RUN apt -y remove wget unzip build-essential portaudio19-dev && apt -y autoremove && apt clean && rm -rf /var/lib/apt/lists/*
CMD cd snowboy-master/ && \
. venv/snowboy/bin/activate && \
cd examples/Python && \
python generate_pmdl.py -r1=model/record1.wav -r2=model/record2.wav -r3=model/record3.wav -lang=en -n=model/hotword.pmdl
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weijia-gongyu/snowboy-with-generate-pmdl.git
git@gitee.com:weijia-gongyu/snowboy-with-generate-pmdl.git
weijia-gongyu
snowboy-with-generate-pmdl
snowboy-with-generate-pmdl
master

搜索帮助