OxWearables / ssl-wearables

Self-supervised learning for wearables using the UK-Biobank (>700,000 person-days)
https://oxwearables.github.io/ssl-wearables/
Other
104 stars 24 forks source link

Clinical validation using MJFF Levodopa Response Study #12

Closed angerhang closed 1 year ago

angerhang commented 1 year ago

Experiments Both the below experiments can be run using https://github.com/OxWearables/ssl-wearables/blob/main/downstream_task_evaluation.py

Example scripts to run for different modes. Ask Hang for model weights for different pre-trained models.

python downstream_task_evaluation.py data=pamap_10s evaluation=hand_crafted
python downstream_task_evaluation.py gpu=1 data=pamap_10s evaluation=flip_net_random_mlp model=resnet
python downstream_task_evaluation.py gpu=0 data=pamap_10s evaluation=flip_net_ft_freeze model=resnet
python downstream_task_evaluation.py gpu=2 data=pamap_10s evaluation=flip_net_ft model=resnet
python downstream_task_evaluation.py gpu=3 data=pamap_10s evaluation=flip_net_100k_ft model=resnet

The model weights for Table 2 can be downloaded from Github readme links. For Table 3, self-supervised ones, you can get from Github readme links too. Ask Hang for the supervised weights.

Writing

aidanacquah commented 1 year ago

PR submitted for code to download data