marianaagdias commited on
Commit
b09f1c5
·
verified ·
1 Parent(s): a8e8898

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -9,50 +9,57 @@ metrics:
9
  # Model Card for ECGDenoiser
10
 
11
 
12
- - Collection: NeuralLib: Deep Learning Models for Biosignals Processing
13
-
14
- - Description: GRU-based model for ECG peak detection
15
-
16
-
17
- ```json
18
- {
19
- "architecture": "GRUseq2seq",
20
- "model": "ECGDenoiser",
21
- "train_dataset": "PTB-XL+MIT-BIH-Noise-Stress-Test-Database",
22
- "task": "ecg denoising: removing MA, BW and EM noise",
23
- "gpu_model": "NVIDIA GeForce GTX 1080 Ti",
24
- "epochs": 200,
25
- "optimizer": "Adam",
26
- "learning_rate": 0.005,
27
- "validation_loss": "NA",
28
- "training_time": "NA",
29
- "retraining": false
30
- }
31
-
32
-
33
- ## Hyperparameters
34
-
35
- bidirectional: true
36
- dropout: 0
37
- hid_dim:
38
- - 64
39
- - 64
40
- learning_rate: 0.005
41
- model_name: ECGDenoiser
42
- multi_label: false
43
- n_features: 1
44
- n_layers: 2
45
- num_classes: NA
46
- task: regression
 
 
 
 
 
 
 
47
 
48
 
49
  # Example
50
 
51
- import torch
52
 
53
- from production_models import ECGDenoiser
54
 
55
- model = ECGDenoiser()
56
 
57
  signal = torch.rand(1, 100, 1) # Example input signal
58
 
 
9
  # Model Card for ECGDenoiser
10
 
11
 
12
+ Collection: NeuralLib: Deep Learning Models for Biosignals Processing
13
+
14
+ Description: GRU-based model for ECG noise removal. Model and results published in the paper 'Cleaning ECG with Deep Learning: A Denoiser Tested in Industrial Settings'
15
+
16
+
17
+ - **Architecture**: GRUseq2seq
18
+ - **Model Name**: ECGDenoiser
19
+ - **Task**: ecg denoising: removing MA, BW and EM noise
20
+ - **Train Dataset**: PTB-XL+MIT-BIH-Noise-Stress-Test-Database
21
+
22
+ Biosignal(s): ECG
23
+
24
+ Sampling frequency: 360
25
+
26
+
27
+ # Benchmark Results
28
+
29
+ **Validation Loss**: 0.0000
30
+
31
+ **Training Time**: 0.00 seconds
32
+
33
+ **FLOPs per timestep**: 0
34
+
35
+ **Number of trainable parameters**: 26121
36
+
37
+
38
+
39
+ # Hyperparameters
40
+
41
+ | Parameter | Value |
42
+ |-----------|-------|
43
+ | bidirectional | True |
44
+ | dropout | 0 |
45
+ | hid_dim | [64, 64] |
46
+ | learning_rate | 0.005 |
47
+ | model_name | ECGDenoiser |
48
+ | multi_label | False |
49
+ | n_features | 1 |
50
+ | n_layers | 2 |
51
+ | num_classes | NA |
52
+ | task | regression |
53
+ | fc_out_bool | False |
54
 
55
 
56
  # Example
57
 
58
+ import NeuralLib.model_hub as mh
59
 
60
+ model_name = ECGDenoiser()
61
 
62
+ model = mh.ProductionModel(model_name=model_name)
63
 
64
  signal = torch.rand(1, 100, 1) # Example input signal
65
 
hparams.yaml CHANGED
@@ -10,3 +10,4 @@ n_features: 1
10
  n_layers: 2
11
  num_classes: NA
12
  task: regression
 
 
10
  n_layers: 2
11
  num_classes: NA
12
  task: regression
13
+ fc_out_bool: false
model_weights.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:176e109c8b4e8210536c6911c4c549eaadef63a3bde21d548a4983ed7834abc8
3
- size 106407
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b04c18e6862488314f14c1c4a39a1d582bb022aebe016dc72af08586961cfd5a
3
+ size 107002
model_weights_original.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:176e109c8b4e8210536c6911c4c549eaadef63a3bde21d548a4983ed7834abc8
3
+ size 106407
training_info.json CHANGED
@@ -1,13 +1,17 @@
1
  {
2
  "architecture": "GRUseq2seq",
3
- "model": "ECGDenoiser",
4
  "train_dataset": "PTB-XL+MIT-BIH-Noise-Stress-Test-Database",
 
 
5
  "task": "ecg denoising: removing MA, BW and EM noise",
6
  "gpu_model": "NVIDIA GeForce GTX 1080 Ti",
7
  "epochs": 200,
8
  "optimizer": "Adam",
9
  "learning_rate": 0.005,
10
- "validation_loss": "NA",
11
- "training_time": "NA",
12
- "retraining": false
 
 
13
  }
 
1
  {
2
  "architecture": "GRUseq2seq",
3
+ "model_name": "ECGDenoiser",
4
  "train_dataset": "PTB-XL+MIT-BIH-Noise-Stress-Test-Database",
5
+ "biosignal": "ECG",
6
+ "sampling_frequency": 360,
7
  "task": "ecg denoising: removing MA, BW and EM noise",
8
  "gpu_model": "NVIDIA GeForce GTX 1080 Ti",
9
  "epochs": 200,
10
  "optimizer": "Adam",
11
  "learning_rate": 0.005,
12
+ "validation_loss": 0,
13
+ "training_time": 0,
14
+ "retraining": false,
15
+ "efficiency_flops": 0,
16
+ "efficiency_params": 26121
17
  }