Coder Social home page Coder Social logo

Comments (2)

manuelfritsche avatar manuelfritsche commented on June 26, 2024 1

Hi Touqueer

Due to the GAN based training, the loss functions are expected to behave like this. The best way to check if training works is to look at the results.

Regarding the results, I would expect them to be blurrier than bicubic. This is because, counterintuitively, bicubic downscaling makes the images look "sharper" than images of the same size that were not bicubicly downscaled. Consider for example an image where the lines typically have a width of n pixels. If you downscale this image, then the width of these lines will decrease. Therefore, the image appears sharper in comparison to a cropped version of the original image.

In order to see if the model works, you would have to compare the output with a cropped input image and see if it looks more "similar" than the bicubic image. In your case this similarity might be hard to determine, because the output and bicubic images are quite similar already.

Finally, you could of course just train a super-resolution model with the generated training pairs and see if the model works better for upsampling. Of course the test images should not be bicubicly downscaled images, but images from the same source as the HR training images.

from real-world-sr.

TouqeerAhmad avatar TouqeerAhmad commented on June 26, 2024

Further to my concern above, I trained DSGAN on Flickr2K dataset in unsupervised setting without adding any degradation. Used 2600 images for training and 50 for testing, the loss curves for training and validation are available on the following link:

https://drive.google.com/open?id=1tqIYxIAFSK87kdRPIyk_g-dlSL3314NH

We can see the generator's texture and perceptual losses are moving in the wrong direction, is it an expected behavior in DSGAN? Also, after training, generating the LR frames for the training data results into images which are blurrier than bicubic -- some samples are available on the link above. Looking forward to hear back from you.
Touqeer

from real-world-sr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.