There was an issue with the line
sent_level_eeg_tensor = torch.from_numpy(sent_obj['sentence_level_rawEEG'])
The sent_obj['sentence_level_rawEEG'] gives out a dictionary Also the data prepared using the construct_dataset_mat_to_pickle_v1.py makes the pickle file with sent_obj['sentence_level_EEG'] which was sent_obj['sentence_level_rawEEG'] in the code of data.py
Same with the sent_obj['word_ft'] and sent_obj['word'] keyword variation which caused an error.
There was an issue with the line sent_level_eeg_tensor = torch.from_numpy(sent_obj['sentence_level_rawEEG']) The sent_obj['sentence_level_rawEEG'] gives out a dictionary Also the data prepared using the construct_dataset_mat_to_pickle_v1.py makes the pickle file with sent_obj['sentence_level_EEG'] which was sent_obj['sentence_level_rawEEG'] in the code of data.py
Same with the sent_obj['word_ft'] and sent_obj['word'] keyword variation which caused an error.