Closed Maydaybye closed 4 months ago
out_c = self.proj(x).view(b, h, w, c) Why use view(b, h, w, c)? I tried it with a single image, and this operation reduces the resolution of the input image and duplicates it several times.
What do you mean by " tried it with a single image"
What did you try? A projection layer, an MSA, or a Retinexformer?
if you find our repo useful, please help us star it
out_c = self.proj(x).view(b, h, w, c) Why use view(b, h, w, c)? I tried it with a single image, and this operation reduces the resolution of the input image and duplicates it several times.