Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -58,8 +58,13 @@ This dataset includes EEG data from 6 subjects. The recording protocol included
|
|
58 |
|
59 |
Download dataset Link to dataset files: https://tinyurl.com/eeg-visual-classification
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
Download dataset Link to dataset files: https://tinyurl.com/eeg-visual-classification
|
60 |
|
61 |
+
```python
|
62 |
+
from datasets import load_dataset
|
63 |
+
split = "train" #could be one of "train", "test", "validation"
|
64 |
+
data = load_dataset('luigi-s/EEG_Image_CVPR_ALL_subj', split=split).with_format(type='torch')
|
65 |
+
eeg = data[0]['conditioning_image']
|
66 |
+
image = data[0]['image']
|
67 |
+
caption = data[0]['caption'])
|
68 |
+
subject = data[0]['subject'])
|
69 |
+
label = data[0]['label'])
|
70 |
+
```
|