RealSR icon indicating copy to clipboard operation
RealSR copied to clipboard

Issue in "model/common.py"

Open KaiGuo-Vision opened this issue 4 years ago • 2 comments

In the line 213~219 of "model/common.py":

        gaussian_down = self.Prdown(Gaussian_lists[-1])
        Gaussian_lists.append(gaussian_down)
        size_lists.append(gaussian_down.size()[2:])
        Gaussian_lists.append(gaussian_down)
        Lap = Gaussian_lists[-2]-self.PrUp(Gaussian_lists[-1],size_lists[-2])
        Lap = lap.mul(1./255.)
        Laplacian_lists.append(Lap)

I think the 2nd "Gaussian_lists.append(gaussian_down)" need to be commented, and replace "lap" with "Lap".

KaiGuo-Vision avatar Mar 14 '20 13:03 KaiGuo-Vision

Thanks for your reminder. I have fixed this issue.

Alan-xw avatar Mar 25 '20 03:03 Alan-xw

In the line 213~219 of "model/common.py":

        gaussian_down = self.Prdown(Gaussian_lists[-1])
        Gaussian_lists.append(gaussian_down)
        size_lists.append(gaussian_down.size()[2:])
        Gaussian_lists.append(gaussian_down)
        Lap = Gaussian_lists[-2]-self.PrUp(Gaussian_lists[-1],size_lists[-2])
        Lap = lap.mul(1./255.)
        Laplacian_lists.append(Lap)

I think the 2nd "Gaussian_lists.append(gaussian_down)" need to be commented, and replace "lap" with "Lap".

I want to ask if you successfully reproduced this paper by this code... ?

yjt9299 avatar Mar 17 '21 11:03 yjt9299