akaraspt / deepsleepnet

DeepSleepNet: a Model for Automatic Sleep Stage Scoring based on Raw Single-Channel EEG
Apache License 2.0
389 stars 152 forks source link

Start pre-training #36

Open Tang18970202 opened 3 years ago

Tang18970202 commented 3 years ago

What can I do about the problems I ran into running the train. py file? File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\core\shape_base.py", line 283, in vstack return _nx.concatenate(arrs, 0) File "<__array_function__ internals>", line 6, in concatenate ValueError: need at least one array to concatenate

akaraspt commented 2 years ago

@Tang18970202 Can u provide more detail on this error (e.g., Python package versions, what have you done before running the script, etc.)?

bindusara-reddy commented 2 years ago

It seems to be because the dataset has not been loaded, and when np.vstack is run on an empty array it throws this error. this is part of the _load_npz_list_files method in the dataloader.py file