Update README.md
Browse files
README.md
CHANGED
@@ -67,8 +67,9 @@ Then `cd SBI-16-3D` and start python like:
|
|
67 |
|
68 |
```python
|
69 |
from datasets import load_dataset
|
|
|
70 |
dataset = load_dataset("./SBI-16-3D.py", "tiny", data_dir="./data/", streaming=True, trust_remote_code=True)
|
71 |
-
ds = dataset.with_format("np", dtype=
|
72 |
```
|
73 |
|
74 |
Now you should be able to use the `ds` variable like:
|
|
|
67 |
|
68 |
```python
|
69 |
from datasets import load_dataset
|
70 |
+
import numpy
|
71 |
dataset = load_dataset("./SBI-16-3D.py", "tiny", data_dir="./data/", streaming=True, trust_remote_code=True)
|
72 |
+
ds = dataset.with_format("np", dtype=numpy.uint16)
|
73 |
```
|
74 |
|
75 |
Now you should be able to use the `ds` variable like:
|