9dab8ae56ce90f1b9ba6808a6e0673ab6f13103e,GANs/stylegan2/generate.py,,main,#,98
Before Change
rnd = np.random.RandomState(args.seed_mix)
z2 = rnd.randn(batch_size, 512)
style_noises = [nn.Variable((batch_size, 512)).apply(d=z)
for _ in range(args.mix_after)]
style_noises += [nn.Variable((batch_size, 512)).apply(d=z2)
for _ in range(num_layers - args.mix_after)]
else:
After Change
parser.add_argument("--truncation-psi", default=0.5, type=float,
help="value for truncation trick.")
parser.add_argument("--batch-size", type=int, default=1,
help="Number of images to generate.")
parser.add_argument("--mixing", action="store_true",
help="if specified, apply style mixing with additional seed.")
parser.add_argument("--seed-mix", type=int, default=None,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: sony/nnabla-examples
Commit Name: 9dab8ae56ce90f1b9ba6808a6e0673ab6f13103e
Time: 2020-12-15
Author: Krishna.Wadhwani@sony.com
File Name: GANs/stylegan2/generate.py
Class Name:
Method Name: main
Project Name: sony/nnabla-examples
Commit Name: 7d8f3f66495979f1bbd27205d422d673991709f2
Time: 2021-01-26
Author: Krishna.Wadhwani@sony.com
File Name: GANs/stylegan2/generate.py
Class Name:
Method Name: main
Project Name: pytorch/examples
Commit Name: 01d70cd14b2bd9f1754b94e03c3555ec412a3845
Time: 2020-02-12
Author: rvarm1@fb.com
File Name: distributed/rpc/parameter_server/rpc_param_server.py
Class Name:
Method Name:
Project Name: sony/nnabla-examples
Commit Name: 2799b271367c6d73b8f2fc5effef67d011e1991c
Time: 2020-10-27
Author: Krishna.Wadhwani@sony.com
File Name: GANs/stylegan2/generate.py
Class Name:
Method Name: main