682f3e02a81db714d17e258ce0519787e8891295,samples/latent_space_interpolation.py,,main,#Any#,75
Before Change
img = get_image(generator, latent, args.out_depth, 1)
// save the image:
plt.imsave(os.path.join(args.out_dir, str(global_frame_counter) + ".png"), img)
// increment the counter:
global_frame_counter += 1
After Change
img = get_image(generator, latent, args.out_depth, 1) * 255
if not args.video_only:
cv2.imwrite(os.path.join(
args.out_dir, "{:05d}.png".format(global_frame_counter)), img)
// Make an image of unsigned 8-bit integers for OpenCV
if(args.video_name):
img_int = img.astype(np.uint8)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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
Project Name: SPFlow/SPFlow
Commit Name: c6baef15140dae7453c335db4dd510a31e1e093c
Time: 2020-04-11
Author: steven.lang.mz@gmail.com
File Name: src/spn/experiments/RandomSPNs_layerwise/train_mnist.py
Class Name:
Method Name: plot_samples
Project Name: ClementPinard/SfmLearner-Pytorch
Commit Name: 6e0044f2b252f8d2630c6a2ec64efefb4a2caa83
Time: 2020-05-20
Author: arul.csecit@ymail.com
File Name: data/prepare_train_data.py
Class Name:
Method Name: dump_example