Updated loading logic
Browse files- AstroM3Dataset.py +2 -2
AstroM3Dataset.py
CHANGED
@@ -83,8 +83,8 @@ class AstroM3Dataset(datasets.GeneratorBasedBuilder):
|
|
83 |
description=_DESCRIPTION,
|
84 |
features=datasets.Features(
|
85 |
{
|
86 |
-
"photometry": datasets.
|
87 |
-
"spectra": datasets.
|
88 |
"metadata": {
|
89 |
"meta_cols": {el: datasets.Value("float32") for el in _METADATA_COLS},
|
90 |
"photo_cols": {el: datasets.Value("float32") for el in _PHOTO_COLS},
|
|
|
83 |
description=_DESCRIPTION,
|
84 |
features=datasets.Features(
|
85 |
{
|
86 |
+
"photometry": datasets.Sequence(datasets.Sequence(datasets.Value("float32"), length=3)),
|
87 |
+
"spectra": datasets.Sequence(datasets.Sequence(datasets.Value("float32"), length=3)),
|
88 |
"metadata": {
|
89 |
"meta_cols": {el: datasets.Value("float32") for el in _METADATA_COLS},
|
90 |
"photo_cols": {el: datasets.Value("float32") for el in _PHOTO_COLS},
|