AutoSleepScorer icon indicating copy to clipboard operation
AutoSleepScorer copied to clipboard

How to train the model

Open shqing opened this issue 6 years ago • 2 comments

Hi, if I download the dataset, how can I to train the model ?

shqing avatar Oct 14 '17 23:10 shqing

Code to train the model is stored at https://github.com/skjerns/AutoSleepScorerDev

Emphasis on stored as I had no time yet to clean up the repository to make is usable, but it's on my list. I'll let you know if that changes!

Until then you can find a pre-trained model integrated.

skjerns avatar Oct 15 '17 14:10 skjerns

@shqing I created a small script run_sample.py that should help you to get started:

https://github.com/skjerns/AutoSleepScorerDev/blob/master/run_sample.py

just clone the https://github.com/skjerns/AutoSleepScorerDev/ repo. Hope it works.

edit: just checked it: I think I changed some settings so that results deviate from the final results. I'll look into it later.

skjerns avatar Oct 23 '17 12:10 skjerns