rithwiks commited on
Commit
a80fc33
·
verified ·
1 Parent(s): e1ef72d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
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=torch.uint16)
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: