Giter VIP home page Giter VIP logo

asr's Introduction

ASR

语音识别服务

环境搭建

Redis

# docker run -d -p 6379:6379 redis
docker run --name myredis -p 6379:6379 -d redis --requirepass "mypassword"

Python 环境

# Python 虚拟环境
conda create --name ai_asr python=3.10

pip install -r requirements.txt

配置文

cp .env.example .env

# 修改配置文件
vi .env

相关模型下载

角色识别,使用 pyannote-audio 项目,相关配置见文档说明。

启动

# 首次启动,初始化数据表
python -m core.models

celery -A celery_app.tasks worker --loglevel=info -Q default
celery flower -A celery_app.tasks --broker=redis://:mypassword@localhost:6379/0 --address=127.0.0.1 --port=5555


python -m server.app

待完成

其他说明

执行出错

RuntimeError: cuDNN version incompatibility: PyTorch was compiled against (8, 9, 2) but found runtime version (8, 8, 0). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN. Looks like your LD_LIBRARY_PATH contains incompatible version of cudnn. Please either remove it from the path or install cudnn (8, 9, 2)

解决,参考 https://discuss.pytorch.org/t/can-anyone-help-me-solve-it/175166

export LD_LIBRARY_PATH=

asr's People

Contributors

pfchai avatar

Stargazers

Bai Feng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.