cd2ccf1884295846223df87ad123cc5523d4230b,DCSCN.py,SuperResolution,evaluate,#SuperResolution#Any#,483

Before Change


        for filename in test_filenames:
            mse = self.do_for_evaluate(filename, print_console=False)
            total_mse += mse
            total_psnr += util.get_psnr(mse)

        return total_mse / len(test_filenames), total_psnr / len(test_filenames)

    def do(self, input_image, bicubic_input_image=None):

After Change


            return 0, 0

        for filename in test_filenames:
            psnr, ssim = self.do_for_evaluate(filename, print_console=False)
            total_psnr += psnr
            total_ssim += ssim
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: jiny2001/dcscn-super-resolution
Commit Name: cd2ccf1884295846223df87ad123cc5523d4230b
Time: 2018-09-16
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: evaluate


Project Name: jiny2001/dcscn-super-resolution
Commit Name: 13234f5753fa5c882885af14d068ad186781b620
Time: 2018-09-16
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: do_for_evaluate


Project Name: jiny2001/dcscn-super-resolution
Commit Name: 13234f5753fa5c882885af14d068ad186781b620
Time: 2018-09-16
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: do_for_evaluate_with_output