52b19deff740e3667338a008e6b15dcd75287b90,DCSCN.py,SuperResolution,do_for_evaluate_with_output,#SuperResolution#Any#Any#Any#,562

Before Change



            util.save_image(output_directory + file_path, true_image)
            util.save_image(output_directory + filename + "_input" + extension, input_y_image)
            util.save_image(output_directory + filename + "_input_bicubic" + extension, input_bicubic_y_image)
            util.save_image(output_directory + filename + "_true_y" + extension, true_ycbcr_image[:, :, 0:1])
            util.save_image(output_directory + filename + "_result" + extension, output_y_image)
            util.save_image(output_directory + filename + "_result_c" + extension, output_color_image)
            util.save_image(output_directory + filename + "_loss" + extension, loss_image)

After Change


        util.make_dir(output_directory)

        true_image = util.set_image_alignment(util.load_image(file_path, print_console=False), self.scale)
        input_image = util.resize_image_by_pil(true_image, 1.0/ self.scale, resampling_method=self.resampling_method)
        input_bicubic_image = util.resize_image_by_pil(input_image, self.scale, resampling_method=self.resampling_method)
        util.save_image(output_directory + filename + "_input_bicubic" + extension, input_bicubic_image)

        if true_image.shape[2] == 3 and self.channels == 1:

            // for color images
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: jiny2001/dcscn-super-resolution
Commit Name: 52b19deff740e3667338a008e6b15dcd75287b90
Time: 2019-07-14
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: do_for_evaluate_with_output


Project Name: leftthomas/SRGAN
Commit Name: 549718ec73f84bd54a8fcfab18939f47dbb8c55b
Time: 2017-12-05
Author: leftthomas@qq.com
File Name: train.py
Class Name:
Method Name:


Project Name: lanpa/tensorboardX
Commit Name: 61bdbec2c98319baee3a470e14adffabb48f422a
Time: 2017-08-15
Author: 178844@studenti.unimore.it
File Name: tensorboard/embedding.py
Class Name:
Method Name: make_sprite


Project Name: pytorch/examples
Commit Name: 9fe431ed5be2ebe43d08d5506a8f8eb690399a80
Time: 2017-10-01
Author: design@kaixhin.com
File Name: vae/main.py
Class Name:
Method Name: test