Datasets:
Update EcclesialSchematisms.py
Browse files- EcclesialSchematisms.py +1 -1
EcclesialSchematisms.py
CHANGED
|
@@ -20,7 +20,7 @@ class EcclesiaeSchematisms(datasets.GeneratorBasedBuilder):
|
|
| 20 |
def _info(self):
|
| 21 |
return datasets.DatasetInfo(
|
| 22 |
features=datasets.Features({
|
| 23 |
-
"image_pil": datasets.Image(
|
| 24 |
"image": datasets.Value("string"),
|
| 25 |
"width": datasets.Value("int32"),
|
| 26 |
"height": datasets.Value("int32"),
|
|
|
|
| 20 |
def _info(self):
|
| 21 |
return datasets.DatasetInfo(
|
| 22 |
features=datasets.Features({
|
| 23 |
+
"image_pil": datasets.Image(decode="pil"), # keep memory low
|
| 24 |
"image": datasets.Value("string"),
|
| 25 |
"width": datasets.Value("int32"),
|
| 26 |
"height": datasets.Value("int32"),
|