File size: 1,377 Bytes
cb36358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
library_name: pytorch
tags:
- biosignals
- testmodel
metrics:
- validation_loss
---
# Model Card for Testmodel

    
- Collection: NeuralLib: Deep Learning Models for Biosignals Processing

- Description: This is a Test


```json
{
    "architecture": "GRUseq2seq",
    "model_name": "ECGPeakDetector",
    "train_dataset": "private_gib01",
    "biosignal": "ECG",
    "sampling_frequency": 360,
    "task": "peak detection",
    "gpu_model": "NVIDIA GeForce GTX 1080 Ti",
    "epochs": 80,
    "optimizer": "Adam (\nParameter Group 0\n    amsgrad: False\n    betas: (0.9, 0.999)\n    capturable: False\n    differentiable: False\n    eps: 1e-08\n    foreach: None\n    fused: None\n    initial_lr: 0.001\n    lr: 0.001\n    maximize: False\n    weight_decay: 1e-05\n)",
    "learning_rate": 0.001,
    "validation_loss": 0.14879398047924042,
    "training_time": 11375.492486476898,
    "retraining": false,
    "efficiency_flops": 0,
    "efficiency_params": 0
}


## Hyperparameters

bidirectional: true
dropout: 0
hid_dim:
- 32
- 64
- 64
learning_rate: 0.001
model_name: ECGPeakDetector
multi_label: true
n_features: 1
n_layers: 3
num_classes: 1
task: classification


# Example

import torch

from production_models import Testmodel

model = Testmodel()

signal = torch.rand(1, 100, 1)  # Example input signal

predictions = model.predict(signal)

print(predictions)