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", [])
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: 3
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: lcswillems/torch-rl
Commit Name: 94524a870ca9ee6fd65076cdac82596d09790e99
Time: 2017-11-01
Author: khrylx@gmail.com
File Name: examples/trpo_gym.py
Class Name:
Method Name:
Project Name: lcswillems/torch-rl
Commit Name: 907a86e9c4af4ad476c9d4a7201f87f01b835f0d
Time: 2018-04-14
Author: lcswillems@gmail.com
File Name: train.py
Class Name:
Method Name: