GithubHelp home page GithubHelp logo

daeac's Introduction

DAEAC

This is an implementation of paper Inter-patient ECG Arrhythmia Heartbeat Classification Based on Unsupervised Domain Adaptation.

Train & Test

In this implementation, we use .yaml files for configuration. Run the following codes for training and testing:

CUDA_VISIBLE_DEVICES=$1 python train.py --config=${CONFIG_FILE}

CUDA_VISIBLE_DEVICES=$1 python eval.py --config=${CONFIG_FILE}

Data Preprocessing

We use three datasets in this work, including MIT-BIH, INCARTDB and SVDB. The users can download the original datasets in the above websits.

All original records are converted into .mat format with src/data/preprocessing.py, and the indices of heartbeats are saved as .npz files.

daeac's People

Contributors

chenmingthu avatar

Stargazers

 avatar  avatar Zhaoyang Cong avatar  avatar Kaixin Li avatar  avatar  avatar 陈竹儿 avatar

Watchers

James Cloos avatar  avatar

daeac's Issues

TypeError: expected str, bytes or os.PathLike object, not NoneType

File "train.py", line 633, in
train(args)
File "train.py", line 90, in train
cfg.merge_from_file(cfg_dir)
File "Python\Python310\site-packages\yacs\config.py", line 211, in merge_from_file
with open(cfg_filename,"r") as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType

how to solve this error ??

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.