Coder Social home page Coder Social logo

Comments (7)

Zotikus1001 avatar Zotikus1001 commented on July 23, 2024

It looks like you need to feed it high quality images for training..

from waifu2x.

xhwang avatar xhwang commented on July 23, 2024

@Brokensilence Thanks for your reply. The question is that the training data fed to Caffe and waifu are the same(generated from VOC 2007 dataset), however waifu can get better result.

from waifu2x.

nagadomi avatar nagadomi commented on July 23, 2024

I tried SGD at first but I didn't get good result.
In this task, Adam is pretty better than other optimizers, I think.

Original SRCNN uses SGD. Probably initial weights and layer-wise learning rate settings is important. (I was not able to reproduce this paper with SGD)

The filter weights of each layer are initialized by drawing randomly from a Gaussian distribution with zero mean and standard deviation 0.001 (and 0 for biases). The learning rate is 10^4 for the first two layers, and 10^5 for the last layer. We empirically find that a smaller learning rate in the last layer is important for the network to converge (similar to the denoising case [22]).

from waifu2x.

xhwang avatar xhwang commented on July 23, 2024

@nagadomi Many thanks! I will try to use Adam to train a network. The result will be updated as soon as possible. :-)

from waifu2x.

nagadomi avatar nagadomi commented on July 23, 2024

The loss(MSE) of waifu2x(in 2x scaling) is 0.000350.00028. not 0.0020.
EDIT: RGB values is scaled 0.0
1.0.

from waifu2x.

xhwang avatar xhwang commented on July 23, 2024

Got it, RGB values has been scaled.

from waifu2x.

xhwang avatar xhwang commented on July 23, 2024

Adam Solver really helps. Now it achieves comparable results. 👍

from waifu2x.

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.