akaraspt / deepsleepnet

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

Problems in Prepare_physionet #38

Open JiangPeiy opened 3 years ago

JiangPeiy commented 3 years ago

/Users/apple/.conda/envs/EEG_classification/bin/python /Users/apple/PycharmProjects/deepsleepnet/prepare_physionet.py Traceback (most recent call last): File "/Users/apple/PycharmProjects/deepsleepnet/prepare_physionet.py", line 217, in main() File "/Users/apple/PycharmProjects/deepsleepnet/prepare_physionet.py", line 72, in main os.makedirs(args.output_dir) File "/Users/apple/.conda/envs/EEG_classification/lib/python3.7/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/Users/apple/.conda/envs/EEG_classification/lib/python3.7/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/Users/apple/.conda/envs/EEG_classification/lib/python3.7/os.py", line 223, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/data'

Process finished with exit code 1

Here is the problem that I met and I tried many ways like sodu but it did not work.

besaman commented 3 years ago

looks like you don't have a '/data' folder ??