skjerns / AutoSleepScorer

An open-source sleep stage classification Python package
GNU Affero General Public License v3.0
104 stars 22 forks source link

Runtime error #14

Closed 17bcwu closed 5 years ago

17bcwu commented 5 years ago

hello,I run the run_sample.py, but it occurs a error like thess:

File "C:\Users\bc\Desktop\AutoSleepScorerDev-master\keras_utils.py", line 689, in cv train_data = [data[j] for j in train_idx]

File "C:\Users\bc\Desktop\AutoSleepScorerDev-master\keras_utils.py", line 689, in train_data = [data[j] for j in train_idx]

IndexError: index 46139 is out of bounds for axis 0 with size 45242

the error occured when the model build the cv dataset, the train index is out of bound.

skjerns commented 5 years ago

Mhh this is strange. I'll see if I can look into this, but before Christmas I will likely not have time.