189c2c0907cdff54f733299a93360ddfcff4ccb7,examples/pytorch/model_zoo/chem/property_prediction/regression.py,,,#,80
Before Change
help="number of epochs",
default=250,
type=int)
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
args = parser.parse_args()
train(args.model, args.epochs, device)
After Change
parser = argparse.ArgumentParser(description="Molecule Regression")
parser.add_argument("-m", "--model", type=str, choices=["MPNN", "SCHNET", "MGCN"],
help="Model to use")
parser.add_argument("-d", "--dataset", type=str, choices=["Alchemy"],
help="Dataset to use")
args = parser.parse_args().__dict__
args["exp"] = "_".join([args["model"], args["dataset"]])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: dmlc/dgl
Commit Name: 189c2c0907cdff54f733299a93360ddfcff4ccb7
Time: 2019-09-07
Author: mufeili1996@gmail.com
File Name: examples/pytorch/model_zoo/chem/property_prediction/regression.py
Class Name:
Method Name:
Project Name: leftthomas/SRGAN
Commit Name: 9a936c946174094bef05ed2fc9a4c44adb841c05
Time: 2018-01-15
Author: leftthomas@qq.com
File Name: test_image.py
Class Name:
Method Name:
Project Name: kymatio/kymatio
Commit Name: 1db4255e8b19a322434fa2fce398b73b5757f764
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/1d/compute_speed.py
Class Name:
Method Name:
Project Name: kymatio/kymatio
Commit Name: f13c36650a7a80cf986fef1671ecd440cad6b483
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/2d/compute_speed.py
Class Name:
Method Name: