1a0ad8fe3b96b02bb080ec42b4426377f5bb2cfa,compile.py,,,#,23

Before Change


    if not torch.cuda.is_available():
        util.print_log(colored("Error: CUDA not available", "red"))
        quit()
    torch.cuda.manual_seed(opt.seed)

After Change


parser.add_argument("--batchSize", help="training batch size", default=128)
parser.add_argument("--validSize", help="validation set size", default=256)
parser.add_argument("--oneHotDim", help="dimension for one-hot encodings", default=64)
parser.add_argument("--noStandardize", help="do not standardize observations", action="store_true")
parser.add_argument("--resume", help="resume training of the latest artifact", action="store_true")
opt = parser.parse_args()

if opt.version:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pyprob/pyprob
Commit Name: 1a0ad8fe3b96b02bb080ec42b4426377f5bb2cfa
Time: 2017-04-03
Author: atilimgunes.baydin@gmail.com
File Name: compile.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: f11eabc65072d34b431cc85419c27c0b0d00950c
Time: 2020-10-09
Author: matthias.fey@tu-dortmund.de
File Name: examples/autoencoder.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: