# Deform-CNN
Deformable convolutional networks for electrocardiogram diagnosis using pytorch.
This is the source code of the article "***An End-to-End 12-Leading Electrocardiogram Diagnosis System based on Deformable Convolutional Neural Network with Good Anti-noise Ability***"
# Getting started
### Training environment
+ NVIDIA driver version 418.67
+ CUDA Version 10.1
+ Python version 3.6.8
+ Pytorch version 1.4.0+cu101
### Install required package
From the root of this repository, run
```pip install -r requirements.txt```
### Download the dataset
We use CPSC-2018 as dataset. You can dowload from [here](http://2018.icbeb.org/Challenge.html)
Reprocessing the data and save the data in `.npy` format. Then place the data into folder `./dataset/DataSet250HzRepeatFill` and place the label into folder `./dataset`. For more detail, please refer to `load_dataset.py`.
*Notice:In our experiment, we removed data with total length more than 30 seconds, reducing the sampling frequency to 250 Hz and repeating filling. For more detail please refer to our article*
### Start training
From the root of this repository, run
```python dcnv2_ecg_train.py```
# Customization
If you need to adjust some parameters, you can use argument. For example:
```python dcnv2_ecg_train.py --epochs 20 --optimizer Adam```
For more arguments, please refer to `dcnv2_ecg_train.py`.
# Additional Notes
Please contact us by [creating an issue](https://github.com/HeartbeatAI/Deform-CNN/issues/new/choose) if you would like to use this project for commercial purposes.
Reference:
https://github.com/4uiiurz1/pytorch-deform-conv-v2 (MIT License)

实话直说
- 粉丝: 47
最新资源
- 集成 Apollo 配置中心实现数据库、MongoDB、Redis 动态切换及 MyBatis 与 Redis 缓存集成
- 轻量型文件数据采集抓取与日志信息汇总工具
- 使用DriveMonitor软件调试MM440变频器
- 使用starter调试MM440
- 基于Python语言的Spark数据处理分析案例集锦(PySpark)
- CCKS’2021 研究:SGSum- 面向体育赛事摘要的人工标注数据集介绍
- PHP与MySQL动态网站设计实战指南
- 基于 MapReduce 的大数据采集清洗处理及离线分析完整案例
- 《Rust并发编程:解锁高性能系统的密钥》,详细介绍Rust并发编程的基础知识及其在高性能系统开发中的应用
- 轻量型文件数据采集抓取及日志信息汇总工具
- 使用 YOLO 检测废弃行李 该项目旨在通过使用实时视频源和 YOLO(You Only Look Once)物体检测算法自动检测无人看管或遗弃的行李来提高公共交通安全
- 用户为中心的设计:系统设计师必读
- 大数据采集、清洗、处理:使用MapReduce进行离线数据分析完整案例
- 3089048582变压器测试仪 快速操作指南(第一版).pdf
- HDFS 集群之间的数据相互交换方式
- easy prism - 安卓平台便捷好用的埋点数据收集中间件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



评论1