Datasets:
Commit
•
db9215d
1
Parent(s):
4a5b8bd
Support streaming (#3)
Browse files- Update script to support streaming (c176190c6a4c5c844b554ba82305ea26065341f1)
- Remove legacy metadata JSON file (3c90a22a6ef010350b96d3cada96670a27e773f5)
- dataset_infos.json +0 -0
- universal_morphologies.py +1 -1
dataset_infos.json
DELETED
The diff for this file is too large to render.
See raw diff
|
|
universal_morphologies.py
CHANGED
@@ -449,7 +449,7 @@ class UniversalMorphologies(datasets.GeneratorBasedBuilder):
|
|
449 |
def _split_generators(self, dl_manager):
|
450 |
"""Returns SplitGenerators."""
|
451 |
config_urls = dict([(ln, f_url) for ln, f_url in _URLs.items() if ln.split("|")[0] == self.config.name])
|
452 |
-
data_dir = dl_manager.
|
453 |
if self.config.name in _SPLITS:
|
454 |
return [
|
455 |
datasets.SplitGenerator(
|
|
|
449 |
def _split_generators(self, dl_manager):
|
450 |
"""Returns SplitGenerators."""
|
451 |
config_urls = dict([(ln, f_url) for ln, f_url in _URLs.items() if ln.split("|")[0] == self.config.name])
|
452 |
+
data_dir = dl_manager.download(config_urls)
|
453 |
if self.config.name in _SPLITS:
|
454 |
return [
|
455 |
datasets.SplitGenerator(
|