7d8f3f66495979f1bbd27205d422d673991709f2,GANs/stylegan2-distillation/main.py,,,#,31

Before Change


    nn.set_default_context(ctx)
          
    di = get_data_iterator(args.data_root, comm, config.train.batch_size, config.model.base_image_shape, 
                            img_exts=["_o.png", "_y.png"])
    
    trainer = Trainer(config.train, config.model, comm, di)
    

After Change


    if args.load_path:
        nn.load_parameters(args.load_path)

    trainer = Trainer(config.train, config.model, comm, di, face_morph=args.face_morph)
    
    trainer.train()

    if comm.rank == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: sony/nnabla-examples
Commit Name: 7d8f3f66495979f1bbd27205d422d673991709f2
Time: 2021-01-26
Author: Krishna.Wadhwani@sony.com
File Name: GANs/stylegan2-distillation/main.py
Class Name:
Method Name:


Project Name: ruotianluo/self-critical.pytorch
Commit Name: 1f720ee453871b2ab764f608926281716ef7bf81
Time: 2020-07-05
Author: rluo@ttic.edu
File Name: tools/train_pl.py
Class Name:
Method Name: