1a5e08e41aa574d5a281dbec0098b69ed75a2c62,neural_style.py,,main,#,73
Before Change
style_blend_weights, options.tv_weight, options.learning_rate,
print_iterations=options.print_iterations,
checkpoint_iterations=options.checkpoint_iterations)
imsave(options.output, image)
def imread(path):
return scipy.misc.imread(path).astype(np.float)
After Change
checkpoint_iterations=options.checkpoint_iterations
):
output_file = None
if iteration is not None:
if options.checkpoint_output:
output_file = options.checkpoint_output % iteration
else:
output_file = options.output
if output_file:
imsave(output_file, image)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: anishathalye/neural-style
Commit Name: 1a5e08e41aa574d5a281dbec0098b69ed75a2c62
Time: 2016-03-14
Author: akx@iki.fi
File Name: neural_style.py
Class Name:
Method Name: main
Project Name: ClementPinard/FlowNetPytorch
Commit Name: 02d58e0f9f7ea0b802b887edf47309a78e2cee48
Time: 2019-04-04
Author: clement.pinard@parrot.com
File Name: run_inference.py
Class Name:
Method Name: main
Project Name: akanimax/pro_gan_pytorch
Commit Name: 682f3e02a81db714d17e258ce0519787e8891295
Time: 2020-01-27
Author: essexton@protonmail.com
File Name: samples/latent_space_interpolation.py
Class Name:
Method Name: main