1f8de025d53aed3297a588fcfe7be9fc1727ded9,neural_style/neural_style.py,,train,#,19

Before Change


    print("LEARNING RATE:", args.lr)
    print("STYLE IMAGE:", args.style_image)
    print("CONTENT WEIGHT:", args.content_weight)
    print("STYLE WEIGHT:", args.style_weight)
    print("DATASET:", args.dataset)
    print("SAVE-MODEL DIRECTORY:", args.save_model_dir)
    print("STYLE SIZE:", args.style_size)
    print("=====================\n")

After Change



    if args.cuda and not torch.cuda.is_available():
        print("ERROR: cuda is not available, try running on CPU")
        sys.exit(1)

    if args.cuda:
        torch.cuda.manual_seed(args.seed)
        kwargs = {"num_workers": 0, "pin_memory": False}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: abhiskk/fast-neural-style
Commit Name: 1f8de025d53aed3297a588fcfe7be9fc1727ded9
Time: 2017-04-03
Author: abhishekkadiyan@gmail.com
File Name: neural_style/neural_style.py
Class Name:
Method Name: train


Project Name: akkana/scripts
Commit Name: bc1dcbae0bf198f3725dbcf4d3b9bcc4d63dc814
Time: 2019-07-19
Author: akkana@shallowsky.com
File Name: mapping/demproj.py
Class Name:
Method Name: raytrace_DEM_file


Project Name: baldassarreFe/deep-koalarization
Commit Name: c9fb02940b16716901d0a2eef95abab827c25896
Time: 2020-05-15
Author: baldassarre.fe@gmail.com
File Name: src/koalarization/evaluate.py
Class Name:
Method Name:


Project Name: bsmurphy/PyKrige
Commit Name: 3804f311e2f771f6ed314043488251f21120039d
Time: 2016-10-16
Author: rth.yurchak@gmail.com
File Name: setup.py
Class Name:
Method Name: