547ddaaf8998163e8d49d325b577baae772b3ae8,tensorflow_datasets/image/downsampled_imagenet.py,DownsampledImagenet,_split_generators,#DownsampledImagenet#Any#,104
Before Change
num_shards=10,
gen_kwargs={
"path":
os.path.join(extracted_paths["train_images"],
"train_" + self.builder_config.name),
}),
tfds.core.SplitGenerator(
After Change
train_url = _DL_URL + "train_" + self.builder_config.name + ".tar"
valid_url = _DL_URL + "valid_" + self.builder_config.name + ".tar"
train_path, valid_path = dl_manager.download([
train_url,
valid_url,
])
return [
tfds.core.SplitGenerator(
name=tfds.Split.TRAIN,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/datasets
Commit Name: 547ddaaf8998163e8d49d325b577baae772b3ae8
Time: 2019-06-21
Author: 31502077+ChanchalKumarMaji@users.noreply.github.com
File Name: tensorflow_datasets/image/downsampled_imagenet.py
Class Name: DownsampledImagenet
Method Name: _split_generators
Project Name: facebookresearch/ParlAI
Commit Name: d4e3b1c76360bcf72cbae541834f8cd38f5449ee
Time: 2019-03-21
Author: jju@fb.com
File Name: parlai/tasks/light_dialog/build.py
Class Name:
Method Name: build
Project Name: tensorflow/datasets
Commit Name: 14fe725292393e36c67364a86cee7303a3f7117c
Time: 2019-10-22
Author: michalski@google.com
File Name: tensorflow_datasets/image/caltech_birds.py
Class Name: CaltechBirds2011
Method Name: _split_generators