How can I solve this problem?
taoye1996 opened this issue · 3 comments
I use python3.6 to run the example of cinc17. When I run the code 'python ecg/train.py examples/cinc17/config.json -e cinc17' in 'README', I got this error:
$ python ecg/train.py examples/cinc17/config.json -e cinc17
Loading training set...
Using TensorFlow backend.
Traceback (most recent call last):
File "ecg/train.py", line 93, in
train(args, params)
File "ecg/train.py", line 33, in train
train = load.load_dataset(params['train'])
File "C:\Users\Administrator\ecg\ecg\load.py", line 65, in load_dataset
with open(data_json, 'r') as fid:
PermissionError: [Errno 13] Permission denied: 'examples/cinc17/data/training2017'
Could you please tell me how can I solve this probelm? Thanks a lot.
with open(data_json, 'r') as fid: becomes with open(data_json, 'rb') as fid:
@king-no-crown @taoye1996 did you use python 2 or python 3 for this project?