marvinmouroum / End-to-End-EEG-Classifier

A deep learning model that classifies EEG brain signals
MIT License
3 stars 1 forks source link

Directory not found #2

Open abrahama976 opened 3 years ago

abrahama976 commented 3 years ago

Hello Sir, As we run this code further and successfully load the data, we have encountered a new error. The error suggests that the file or the directory in which the video batches have to be stored is not found. We have attached the screen shot of the error and also mentioned the error for your reference below. Thank you again sir, hoping to hear from you soon.

aaaa

gdrive sample_data creating directory gdrive/My\ Drive/DeepLearning/VideoBatches/subject6 mkdir: cannot create directory ‘gdrive/My Drive/DeepLearning/VideoBatches/subject6’: No such file or directory creating data for train6.mat loading file: 1DZQml-uvTVUdvzyQ33bkQFNqbSX2a7J1 loaded dataset ...

dataset contains (664000, 22) entries cleaned data ... saving video files in VideoBatches with batch size: 256 loading data

saving training data

saving batches: 0 - 100

FileNotFoundError Traceback (most recent call last)

in () 9 gauth = GoogleAuth() 10 gauth.credentials = GoogleCredentials.get_application_default() ---> 11 save_video_to_drive(str(i),file_ids[i],'train'+ str(i)+ '.mat','DeepLearning/VideoBatches/',256) 1 frames in save_video(data, batch_size, path, mean, std) 156 name = path + "train_" + str(batch_idx) + ".pickle" 157 --> 158 with open(name, 'wb') as f: 159 pickle.dump([result[0], result[1]], f) 160 FileNotFoundError: [Errno 2] No such file or directory: 'gdrive/My Drive/DeepLearning/VideoBatches/subject6/train_0.pickle'