Giter Club home page Giter Club logo

ecapamodel_df's Introduction

ECAPAModel

运行

训练

  • 配置环境
pip install -r requirements.txt 或者
conda activate server_dev
  • 训练
python trainECAPAModel.py --save_path <save_path>

测试

python testECAPAModel.py --eval

模型解释

训练

  • trainECAPAModel.py 训练脚本

  • ECAPAModel.py 调用模型

  • model.py 模型

    • ECAPA_TDNN -> AAMsoftmax

测试

  • testECAPAModel.py 测试脚本

    修改参数:

    • train_listtrain_patheval_listeval_pathmusan_path噪声、rir_path混响、save_path
    • initial_model 需要测试的模型(required)
    • ECAPAMModel.py 调用模型脚本中test_networkmodelname每次要更新

数据加载

  • dataloader.py 数据加载脚本
    • 实现数据增强,加入噪声、混响,注意匹配所有wav文件时的路径问题
    • get_label(label) 提取标签 fake-0 genuine-1

ecapamodel_df's People

Contributors

joserii avatar

Stargazers

 avatar qlyuan avatar

Watchers

 avatar  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.