6fc77d75bdb46feffa39ad2c389def87643bdcf3,test.py,,,#,49

Before Change



    info("Phase: {}".format(Phase.TEST))
    info("Checkpoint: {}".format(osp.basename(args.checkpoint)))
    pprint(checkpoint["params"])

    model.eval()

    if torch.cuda.is_available():

After Change


    data_loader = DataLoader(dataset, batch_size=1)

    mean = params["train"]["dataset"]["mean"]
    stddev = params["train"]["dataset"]["stddev"]

    if not osp.isdir(args.output_dir):
        os.makedirs(args.output_dir)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: fperazzi/proSR
Commit Name: 6fc77d75bdb46feffa39ad2c389def87643bdcf3
Time: 2018-08-08
Author: fperazzi@adobe.com
File Name: test.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: 2baae0a182c2d83cff4f6a2830ffdb3b077e0676
Time: 2019-04-29
Author: akkana@shallowsky.com
File Name: skyalignments.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: 0cde3769f146c0dd5178d9f9219809c49c610524
Time: 2019-04-29
Author: akkana@shallowsky.com
File Name: skyalignments.py
Class Name:
Method Name: find_alignments