Git Product home page Git Product logo

xinyebei2024's Introduction

##代码运行

改Fakemodel和CNN这两个文件

Environments

Implementing environment:

  • python=3.6

  • torch==1.9.0

  • torchaudio==0.9.0

  • pydub==0.21.0

  • numba==0.48.0

  • numpy==1.15.4

  • pandas==0.23.3

  • scipy==1.2.1

  • scikit-learn==0.19.1

  • tqdm

  • SoundFile==0.12.1

  • librosa==0.6.2

  • GPU: Tesla V100 32G

Dataset

新建./submit目录,请将下载好的数据文件 finvcup9th_1st_ds5.tar.gz 解压到./data目录下,执行

python data_prepare.py

Training

python train.py --max_epoch 80 --device cuda:0 --save_path ./exps/

Inference

新建./submit目录,执行

python inference.py --model_path exps/model/model_0001.model --save_path ./submit/submit.csv

会在根目录下生成提交所需的submit.csv文件。 注:csv文件共两列(文件名,预测标签)以逗号分隔,格式参照./submit/submit_sample.csv。 不符合格式提交结果可能会出错。

xinyebei2024's People

Contributors

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