8079adae33711e4886a625df3f0ae9860739f7b9,example_zoo/tools/process.py,,,#,42
Before Change
for filename in CONFIG_FILENAMES:
with open(filename, "r") as f:
config = yaml.load(f.read())
org = config["org"]
repository = config["repository"]
requires = config.get("requires", [])
samples = config["samples"]
with temp_clone(org, repository) as repo:
for sample_dict in samples:
After Change
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--filter", type=str, default="", help="process only samples whose script_name contains the filter string")
args = parser.parse_args()
main(args)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
Instances
Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 8079adae33711e4886a625df3f0ae9860739f7b9
Time: 2019-09-03
Author: yuhanliu@google.com
File Name: example_zoo/tools/process.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 8079adae33711e4886a625df3f0ae9860739f7b9
Time: 2019-09-03
Author: yuhanliu@google.com
File Name: example_zoo/tools/process.py
Class Name:
Method Name:
Project Name: bsmurphy/PyKrige
Commit Name: 3c1a7ef24205af6e243580e9ddc0bb2ec3299576
Time: 2015-10-23
Author: bscott.murphy@gmail.com
File Name: setup.py
Class Name:
Method Name:
Project Name: dnouri/skorch
Commit Name: 98b18cadf44257fde77b36ada1729feaab3aed97
Time: 2017-07-25
Author: marian.tietz@ottogroup.com
File Name: examples/word_language_model/train.py
Class Name:
Method Name: