cc2d9b5263ee814f559151b89504ecd1a6752b14,tensorflow_datasets/image/celeba.py,CelebA,_split_generators,#CelebA#Any#,59
Before Change
def _split_generators(self, dl_manager):
files = dl_manager.download_and_extract(IMG_ALIGNED_DATA)
img_list_path = dl_manager.download_and_extract(EVAL_LIST)
return [
tfds.core.SplitGenerator(
name=tfds.Split.TRAIN,
num_shards=10,
After Change
// TODO(b/120128659): pass the map directly to download_and_extract
// after this is supported by the test framework.
extracted_dirs = {
key: dl_manager.download_and_extract(path) for key, path in {
"img_align_celeba": IMG_ALIGNED_DATA,
"list_eval_partition": EVAL_LIST,
"list_attr_celeba": ATTR_DATA,
"landmarks_celeba": LANDMARKS_DATA
}.items()
}
return [
tfds.core.SplitGenerator(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/datasets
Commit Name: cc2d9b5263ee814f559151b89504ecd1a6752b14
Time: 2018-11-28
Author: michalski@google.com
File Name: tensorflow_datasets/image/celeba.py
Class Name: CelebA
Method Name: _split_generators
Project Name: tensorflow/datasets
Commit Name: 6b54518a2ac10bb99fd95b63d73758f1d0927e82
Time: 2020-11-10
Author: no-reply@google.com
File Name: tensorflow_datasets/text/quac/quac.py
Class Name: Quac
Method Name: _split_generators
Project Name: tensorflow/datasets
Commit Name: c28a63fa9d9fb9ba3cced7052ea243e8884f9bf1
Time: 2019-11-21
Author: supertux90@googlemail.com
File Name: tensorflow_datasets/image/deep_weeds.py
Class Name: DeepWeeds
Method Name: _split_generators