Update README.md
Browse files
README.md
CHANGED
@@ -88,9 +88,9 @@ This dataset aims to develop effective solutions for detecting and mitigating th
|
|
88 |
```python
|
89 |
from datasets import load_dataset
|
90 |
elsa_data = load_dataset("rs9000/ELSA1M_track1", split="train", streaming=True)
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
```
|
95 |
|
96 |
Using <a href="https://huggingface.co/docs/datasets/stream">streaming=True</a> lets you work with the dataset without downloading it.
|
|
|
88 |
```python
|
89 |
from datasets import load_dataset
|
90 |
elsa_data = load_dataset("rs9000/ELSA1M_track1", split="train", streaming=True)
|
91 |
+
for sample in elsa_data:
|
92 |
+
image = sample.pop("image")
|
93 |
+
metadata = sample
|
94 |
```
|
95 |
|
96 |
Using <a href="https://huggingface.co/docs/datasets/stream">streaming=True</a> lets you work with the dataset without downloading it.
|