jbloom commited on
Commit ·
1dd6ec4
1
Parent(s): ce48899
bump version; fix README
Browse files- README.md +1 -1
- SBI-16-3D.py +3 -3
README.md
CHANGED
|
@@ -92,7 +92,7 @@ ds = dataset.with_format("np")
|
|
| 92 |
Now you should be able to use the `ds` variable like:
|
| 93 |
|
| 94 |
```python
|
| 95 |
-
ds["test"][0]["image"].shape # -> (
|
| 96 |
```
|
| 97 |
|
| 98 |
Note of course that it will take a long time to download and convert the images in the local cache for the `full` dataset. Afterward, the usage should be quick as the files are memory-mapped from disk.
|
|
|
|
| 92 |
Now you should be able to use the `ds` variable like:
|
| 93 |
|
| 94 |
```python
|
| 95 |
+
ds["test"][0]["image"].shape # -> (5, 2048, 2048)
|
| 96 |
```
|
| 97 |
|
| 98 |
Note of course that it will take a long time to download and convert the images in the local cache for the `full` dataset. Afterward, the usage should be quick as the files are memory-mapped from disk.
|
SBI-16-3D.py
CHANGED
|
@@ -37,10 +37,10 @@ _URLS = {
|
|
| 37 |
|
| 38 |
_REPO_ID = "AstroCompress/SBI-16-3D"
|
| 39 |
|
| 40 |
-
class
|
| 41 |
-
"""
|
| 42 |
|
| 43 |
-
VERSION = datasets.Version("1.0.
|
| 44 |
|
| 45 |
BUILDER_CONFIGS = [
|
| 46 |
datasets.BuilderConfig(
|
|
|
|
| 37 |
|
| 38 |
_REPO_ID = "AstroCompress/SBI-16-3D"
|
| 39 |
|
| 40 |
+
class SBI_16_4D(datasets.GeneratorBasedBuilder):
|
| 41 |
+
"""SBI-16-4D Dataset"""
|
| 42 |
|
| 43 |
+
VERSION = datasets.Version("1.0.1")
|
| 44 |
|
| 45 |
BUILDER_CONFIGS = [
|
| 46 |
datasets.BuilderConfig(
|