05b2b1c02a8ce5f471877243ebebe5df876ccc37,models/unet/train_unet.py,,,#,209

Before Change


    parser.add_argument("--mode", choices=["train", "test"], default="train")
    parser.add_argument("--num-epochs", type=int, default=50, help="Number of training epochs")
    parser.add_argument("--gpus", type=int, default=1)
    parser.add_argument("--exp-dir", type=pathlib.Path, default="experiments",
                        help="Path where model and results should be saved")
    parser.add_argument("--exp", type=str, help="Name of the experiment")
    parser.add_argument("--checkpoint", type=pathlib.Path,
                        help="Path to pre-trained model. Use with --mode test")
    parser.add_argument("--resume", action="store_true",

After Change


    torch.manual_seed(args.seed)
    run(args)

if __name__ == "__main__":
    main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: facebookresearch/fastMRI
Commit Name: 05b2b1c02a8ce5f471877243ebebe5df876ccc37
Time: 2020-04-15
Author: tulliemurrell@gmail.com
File Name: models/unet/train_unet.py
Class Name:
Method Name:


Project Name: LCAV/pyroomacoustics
Commit Name: 5b82d130747a10559da252ab814aa411ceaca77e
Time: 2017-10-08
Author: fakufaku@gmail.com
File Name: pyroomacoustics/experimental/measure_ir.py
Class Name:
Method Name:


Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 4586366c1018257dd448d62f1fc7534e3f5a4338
Time: 2017-11-23
Author: ikostrikov@gmail.com
File Name: enjoy.py
Class Name:
Method Name:


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 981e4266d4ea816b08a762193bd52f40cd1a3242
Time: 2019-08-07
Author: leewyang@verizonmedia.com
File Name: examples/mnist/mnist_data_setup.py
Class Name:
Method Name: