-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GRU/LSTM/Mamba/Transformer to the model list.
- Loading branch information
1 parent
83b7940
commit 1b77fe9
Showing
16 changed files
with
949 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# @package _global_ | ||
|
||
# to execute this experiment run: | ||
# python train.py experiment=example | ||
|
||
defaults: | ||
- override /data: PPG_FieldStudy | ||
- override /model: PPGGRU | ||
- override /callbacks: default | ||
- override /trainer: default | ||
|
||
# all parameters below will be merged with parameters from default configurations set above | ||
# this allows you to overwrite only specified parameters | ||
|
||
tags: ["PPG_FieldStudy", "PPGGRU"] | ||
|
||
seed: 12345 | ||
|
||
trainer: | ||
min_epochs: 10 | ||
max_epochs: 50 | ||
gradient_clip_val: 0.5 | ||
accelerator: "gpu" | ||
devices: 1 | ||
callbacks: [progress_bar] | ||
enable_checkpointing: True | ||
|
||
model: | ||
input_dim: 14 | ||
hidden_dim: 128 | ||
num_layers: 2 | ||
bidirectional: True | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 | ||
|
||
data: | ||
batch_size: 64 | ||
|
||
logger: | ||
wandb: | ||
tags: ${tags} | ||
group: "PPG_FieldStudy" | ||
aim: | ||
experiment: "PPG_FieldStudy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# @package _global_ | ||
|
||
# to execute this experiment run: | ||
# python train.py experiment=example | ||
|
||
defaults: | ||
- override /data: PPG_FieldStudy | ||
- override /model: PPGLSTM | ||
- override /callbacks: default | ||
- override /trainer: default | ||
|
||
# all parameters below will be merged with parameters from default configurations set above | ||
# this allows you to overwrite only specified parameters | ||
|
||
tags: ["PPG_FieldStudy", "PPGLSTM"] | ||
|
||
seed: 12345 | ||
|
||
trainer: | ||
min_epochs: 10 | ||
max_epochs: 50 | ||
gradient_clip_val: 0.5 | ||
accelerator: "gpu" | ||
devices: 1 | ||
callbacks: [progress_bar] | ||
enable_checkpointing: True | ||
|
||
model: | ||
input_dim: 14 | ||
hidden_dim: 128 | ||
num_layers: 2 | ||
bidirectional: True | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 | ||
|
||
data: | ||
batch_size: 64 | ||
|
||
logger: | ||
wandb: | ||
tags: ${tags} | ||
group: "PPG_FieldStudy" | ||
aim: | ||
experiment: "PPG_FieldStudy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# @package _global_ | ||
|
||
# to execute this experiment run: | ||
# python train.py experiment=example | ||
|
||
defaults: | ||
- override /data: PPG_FieldStudy | ||
- override /model: PPGMamba | ||
- override /callbacks: default | ||
- override /trainer: default | ||
|
||
# all parameters below will be merged with parameters from default configurations set above | ||
# this allows you to overwrite only specified parameters | ||
|
||
tags: ["PPG_FieldStudy", "PPGMamba"] | ||
|
||
seed: 12345 | ||
|
||
trainer: | ||
min_epochs: 10 | ||
max_epochs: 50 | ||
gradient_clip_val: 0.5 | ||
accelerator: "gpu" | ||
devices: 1 | ||
callbacks: [progress_bar] | ||
enable_checkpointing: True | ||
|
||
model: | ||
input_dim: 14 | ||
d_model: 128 | ||
d_state: 64 | ||
d_conv: 4 | ||
expand: 2 | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 | ||
|
||
data: | ||
batch_size: 64 | ||
|
||
logger: | ||
wandb: | ||
tags: ${tags} | ||
group: "PPG_FieldStudy" | ||
aim: | ||
experiment: "PPG_FieldStudy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# @package _global_ | ||
|
||
# to execute this experiment run: | ||
# python train.py experiment=example | ||
|
||
defaults: | ||
- override /data: PPG_FieldStudy | ||
- override /model: PPGTransformer | ||
- override /callbacks: default | ||
- override /trainer: default | ||
|
||
# all parameters below will be merged with parameters from default configurations set above | ||
# this allows you to overwrite only specified parameters | ||
|
||
tags: ["PPG_FieldStudy", "PPGTransformer"] | ||
|
||
seed: 12345 | ||
|
||
trainer: | ||
min_epochs: 10 | ||
max_epochs: 50 | ||
gradient_clip_val: 0.5 | ||
accelerator: "gpu" | ||
devices: 1 | ||
callbacks: [progress_bar] | ||
enable_checkpointing: True | ||
|
||
model: | ||
input_dim: 14 | ||
d_model: 128 | ||
nhead: 8 | ||
num_encoder_layers: 4 | ||
dim_feedforward: 256 | ||
dropout: 0.1 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 | ||
|
||
data: | ||
batch_size: 64 | ||
|
||
logger: | ||
wandb: | ||
tags: ${tags} | ||
group: "PPG_FieldStudy" | ||
aim: | ||
experiment: "PPG_FieldStudy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
_target_: src.models.PPGGRUModule.PPGGRUModule | ||
|
||
input_dim: 14 | ||
hidden_dim: 128 | ||
num_layers: 2 | ||
bidirectional: True | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
_target_: src.models.PPGLSTMModule.PPGLSTMModule | ||
|
||
input_dim: 14 | ||
hidden_dim: 128 | ||
num_layers: 2 | ||
bidirectional: True | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
_target_: src.models.PPGMambaModule.PPGMambaModule | ||
|
||
input_dim: 14 | ||
d_model: 128 | ||
d_state: 64 | ||
d_conv: 4 | ||
expand: 2 | ||
dropout: 0.3 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
_target_: src.models.PPGTransformerModule.PPGTransformerModule | ||
|
||
input_dim: 14 | ||
d_model: 128 | ||
nhead: 8 | ||
num_encoder_layers: 4 | ||
dim_feedforward: 256 | ||
dropout: 0.1 | ||
lr: 1e-3 | ||
scheduler_step_size: 10 | ||
scheduler_gamma: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.