tfds-nightly 4.9.8.dev202505190045__py3-none-any.whl → 4.9.8.dev202505210044__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tensorflow_datasets/core/dataset_builders/croissant_builder.py +9 -0
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/METADATA +13 -13
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/RECORD +8 -8
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/WHEEL +1 -1
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/entry_points.txt +0 -0
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/licenses/AUTHORS +0 -0
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/licenses/LICENSE +0 -0
- {tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/top_level.txt +0 -0
@@ -270,6 +270,9 @@ class CroissantBuilder(
|
|
270
270
|
the values should be the values to filter by. If a record matches all
|
271
271
|
the filters, it will be included in the dataset.
|
272
272
|
**kwargs: kwargs to pass to GeneratorBasedBuilder directly.
|
273
|
+
|
274
|
+
Raises:
|
275
|
+
ValueError: If no record sets are found in the Croissant JSON-LD.
|
273
276
|
"""
|
274
277
|
if mapping is None:
|
275
278
|
mapping = {}
|
@@ -293,6 +296,12 @@ class CroissantBuilder(
|
|
293
296
|
conversion_utils.to_tfds_name(record_set_id)
|
294
297
|
for record_set_id in record_set_ids
|
295
298
|
]
|
299
|
+
if not config_names:
|
300
|
+
raise ValueError(
|
301
|
+
'No record sets found in the Croissant JSON-LD. At least one record'
|
302
|
+
' set is required to be able to download and prepare the dataset.'
|
303
|
+
)
|
304
|
+
|
296
305
|
self.BUILDER_CONFIGS: list[dataset_builder.BuilderConfig] = [ # pylint: disable=invalid-name
|
297
306
|
dataset_builder.BuilderConfig(name=config_name)
|
298
307
|
for config_name in config_names
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tfds-nightly
|
3
|
-
Version: 4.9.8.
|
3
|
+
Version: 4.9.8.dev202505210044
|
4
4
|
Summary: tensorflow/datasets is a library of datasets ready to use with TensorFlow.
|
5
5
|
Home-page: https://github.com/tensorflow/datasets
|
6
6
|
Download-URL: https://github.com/tensorflow/datasets/tags
|
@@ -52,7 +52,7 @@ Requires-Dist: jupyter; extra == "tests-all"
|
|
52
52
|
Requires-Dist: pytest; extra == "tests-all"
|
53
53
|
Requires-Dist: pytest-shard; extra == "tests-all"
|
54
54
|
Requires-Dist: pytest-xdist; extra == "tests-all"
|
55
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
55
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
56
56
|
Requires-Dist: conllu; extra == "tests-all"
|
57
57
|
Requires-Dist: mlcroissant>=1.0.9; extra == "tests-all"
|
58
58
|
Requires-Dist: pandas; extra == "tests-all"
|
@@ -60,15 +60,15 @@ Requires-Dist: pydub; extra == "tests-all"
|
|
60
60
|
Requires-Dist: pyyaml; extra == "tests-all"
|
61
61
|
Requires-Dist: tensorflow-io[tensorflow]; python_version < "3.12" and extra == "tests-all"
|
62
62
|
Requires-Dist: scipy; extra == "tests-all"
|
63
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
63
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
64
64
|
Requires-Dist: gcsfs; extra == "tests-all"
|
65
65
|
Requires-Dist: zarr<3.0.0; extra == "tests-all"
|
66
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
66
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
67
67
|
Requires-Dist: gcld3; extra == "tests-all"
|
68
68
|
Requires-Dist: langdetect; extra == "tests-all"
|
69
69
|
Requires-Dist: nltk==3.8.1; extra == "tests-all"
|
70
70
|
Requires-Dist: tldextract; extra == "tests-all"
|
71
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
71
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
72
72
|
Requires-Dist: matplotlib; extra == "tests-all"
|
73
73
|
Requires-Dist: Pillow; extra == "tests-all"
|
74
74
|
Requires-Dist: pydub; extra == "tests-all"
|
@@ -96,8 +96,8 @@ Requires-Dist: scipy; extra == "tests-all"
|
|
96
96
|
Requires-Dist: scipy; extra == "tests-all"
|
97
97
|
Requires-Dist: pandas; extra == "tests-all"
|
98
98
|
Requires-Dist: Pillow; extra == "tests-all"
|
99
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
100
|
-
Requires-Dist: apache-beam; extra == "tests-all"
|
99
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
100
|
+
Requires-Dist: apache-beam<2.65.0; extra == "tests-all"
|
101
101
|
Requires-Dist: mwparserfromhell; extra == "tests-all"
|
102
102
|
Requires-Dist: mwxml; extra == "tests-all"
|
103
103
|
Requires-Dist: bs4; extra == "tests-all"
|
@@ -110,7 +110,7 @@ Requires-Dist: jupyter; extra == "dev"
|
|
110
110
|
Requires-Dist: pytest; extra == "dev"
|
111
111
|
Requires-Dist: pytest-shard; extra == "dev"
|
112
112
|
Requires-Dist: pytest-xdist; extra == "dev"
|
113
|
-
Requires-Dist: apache-beam; extra == "dev"
|
113
|
+
Requires-Dist: apache-beam<2.65.0; extra == "dev"
|
114
114
|
Requires-Dist: conllu; extra == "dev"
|
115
115
|
Requires-Dist: mlcroissant>=1.0.9; extra == "dev"
|
116
116
|
Requires-Dist: pandas; extra == "dev"
|
@@ -175,18 +175,18 @@ Requires-Dist: datasets; extra == "huggingface"
|
|
175
175
|
Provides-Extra: aflw2k3d
|
176
176
|
Requires-Dist: scipy; extra == "aflw2k3d"
|
177
177
|
Provides-Extra: beir
|
178
|
-
Requires-Dist: apache-beam; extra == "beir"
|
178
|
+
Requires-Dist: apache-beam<2.65.0; extra == "beir"
|
179
179
|
Provides-Extra: ble-wind-field
|
180
180
|
Requires-Dist: gcsfs; extra == "ble-wind-field"
|
181
181
|
Requires-Dist: zarr<3.0.0; extra == "ble-wind-field"
|
182
182
|
Provides-Extra: c4
|
183
|
-
Requires-Dist: apache-beam; extra == "c4"
|
183
|
+
Requires-Dist: apache-beam<2.65.0; extra == "c4"
|
184
184
|
Requires-Dist: gcld3; extra == "c4"
|
185
185
|
Requires-Dist: langdetect; extra == "c4"
|
186
186
|
Requires-Dist: nltk==3.8.1; extra == "c4"
|
187
187
|
Requires-Dist: tldextract; extra == "c4"
|
188
188
|
Provides-Extra: c4-wsrs
|
189
|
-
Requires-Dist: apache-beam; extra == "c4-wsrs"
|
189
|
+
Requires-Dist: apache-beam<2.65.0; extra == "c4-wsrs"
|
190
190
|
Provides-Extra: cats-vs-dogs
|
191
191
|
Requires-Dist: matplotlib; extra == "cats-vs-dogs"
|
192
192
|
Provides-Extra: colorectal-histology
|
@@ -242,9 +242,9 @@ Requires-Dist: pandas; extra == "wake-vision"
|
|
242
242
|
Provides-Extra: wider-face
|
243
243
|
Requires-Dist: Pillow; extra == "wider-face"
|
244
244
|
Provides-Extra: wiki-dialog
|
245
|
-
Requires-Dist: apache-beam; extra == "wiki-dialog"
|
245
|
+
Requires-Dist: apache-beam<2.65.0; extra == "wiki-dialog"
|
246
246
|
Provides-Extra: wikipedia
|
247
|
-
Requires-Dist: apache-beam; extra == "wikipedia"
|
247
|
+
Requires-Dist: apache-beam<2.65.0; extra == "wikipedia"
|
248
248
|
Requires-Dist: mwparserfromhell; extra == "wikipedia"
|
249
249
|
Requires-Dist: mwxml; extra == "wikipedia"
|
250
250
|
Provides-Extra: wsc273
|
{tfds_nightly-4.9.8.dev202505190045.dist-info → tfds_nightly-4.9.8.dev202505210044.dist-info}/RECORD
RENAMED
@@ -141,7 +141,7 @@ tensorflow_datasets/core/data_sources/python_test.py,sha256=Rg_ui2fA75532ma134VU
|
|
141
141
|
tensorflow_datasets/core/dataset_builders/__init__.py,sha256=KULxN1WzBvUwTw3K3SHFM-sE4wbm9UC6cX0tOm0jEZg,1945
|
142
142
|
tensorflow_datasets/core/dataset_builders/adhoc_builder.py,sha256=fS6OxRtI3DKdcsniJagTHYfopuoFs55cpW0_gPbhnkY,9216
|
143
143
|
tensorflow_datasets/core/dataset_builders/adhoc_builder_test.py,sha256=PAQXfp_qGs4KaAzYbTMm8y87HvnCUca035Jrafjq3zw,13096
|
144
|
-
tensorflow_datasets/core/dataset_builders/croissant_builder.py,sha256
|
144
|
+
tensorflow_datasets/core/dataset_builders/croissant_builder.py,sha256=-ulqR9Z89WzQESqjJ2i5AjZZ0wOrwktZR_82gFyq55g,15586
|
145
145
|
tensorflow_datasets/core/dataset_builders/croissant_builder_test.py,sha256=S_dVDe_fUt-fIRTh8e7beJtLbUMcc5_OBIQ-Ji1OpUg,10199
|
146
146
|
tensorflow_datasets/core/dataset_builders/huggingface_dataset_builder.py,sha256=si5OoTPeftUyPj9w5OuYKjwfx1ByZghBo6vfEKQQGhA,18313
|
147
147
|
tensorflow_datasets/core/dataset_builders/huggingface_dataset_builder_test.py,sha256=UCvcr6DRwcWLu7x3o_PDyLJBI3r84ylfYMCO3qhD-8w,4389
|
@@ -2460,10 +2460,10 @@ tensorflow_datasets/vision_language/wit/wit_test.py,sha256=DJ687VN9hAp6SLXnr_P12
|
|
2460
2460
|
tensorflow_datasets/vision_language/wit_kaggle/__init__.py,sha256=38tJQ73VHz8vOJn-AyZh2we2YJucbSRIgmgcrsC6bQM,719
|
2461
2461
|
tensorflow_datasets/vision_language/wit_kaggle/wit_kaggle.py,sha256=k-7YD1SGr5bASfdR2_09rrqz-8cpWdIcBWWEXhCvzuk,16903
|
2462
2462
|
tensorflow_datasets/vision_language/wit_kaggle/wit_kaggle_test.py,sha256=vLlluBW77ASNVC4ix7t8idkSUBI6q1-B7zmRV_ICCQM,1778
|
2463
|
-
tfds_nightly-4.9.8.
|
2464
|
-
tfds_nightly-4.9.8.
|
2465
|
-
tfds_nightly-4.9.8.
|
2466
|
-
tfds_nightly-4.9.8.
|
2467
|
-
tfds_nightly-4.9.8.
|
2468
|
-
tfds_nightly-4.9.8.
|
2469
|
-
tfds_nightly-4.9.8.
|
2463
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/licenses/AUTHORS,sha256=nvBG4WwfgjuOu1oZkuQKw9kg7X6rve679ObS-YDDmXg,309
|
2464
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
2465
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/METADATA,sha256=dpem5js_Zav1R-lDwja__6ikFBPzJl3VbvKKl1tGNAk,11963
|
2466
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
2467
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/entry_points.txt,sha256=eHEL7nF5y1uCY2FgkuYIdE062epJXlAQTSdq89px4p4,73
|
2468
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/top_level.txt,sha256=bAevmk9209s_oxVZVlN6hSDIVS423qrMQvmcWSvW4do,20
|
2469
|
+
tfds_nightly-4.9.8.dev202505210044.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|