Coder Social home page Coder Social logo

Comments (8)

Saren-Arterius avatar Saren-Arterius commented on July 23, 2024

If you need 1.5x, you can first resize your image by (1.5/1.6)x using photoshop, then resize it using waifu1.6x, lol.
I think it's because the algorithm's limitation actually.

from waifu2x.

Zotikus1001 avatar Zotikus1001 commented on July 23, 2024

Yes, I could do that, but its more work on top..

I wanted to know if it is possible, or if its limited to that because of the algorithm..
It may be limited right now, but it may be possible to get it working on different x scales..

from waifu2x.

drdaxxy avatar drdaxxy commented on July 23, 2024

There is only Waifu2x. The 1.6x scale setting on the webinterface just scales down from 2x to 1.6x using a more conventional image filter.

Don't know whether it's practical to scale to different factors by changing a few parameters and using different training images, haven't really looked at the code much.

from waifu2x.

nagadomi avatar nagadomi commented on July 23, 2024

The pre-trained model of waifu2x supports only 2x-scaling.
Implementation of 1.6x scaling is here.
https://github.com/nagadomi/waifu2x/blob/master/web.lua#L150

-- upscaling 2x
x = apply_scale2x(x) 
-- downscaling to custom resolution with generic image scaling algorithm.
x = iproc.scale(x, x16[1], x16[2], "Jinc")

from waifu2x.

RockNHawk avatar RockNHawk commented on July 23, 2024

So if I want to upscale to like 5x , I should training a new model ?

from waifu2x.

RockNHawk avatar RockNHawk commented on July 23, 2024

@nagadomi

from waifu2x.

nagadomi avatar nagadomi commented on July 23, 2024

You can apply 2x consecutively. 2x->4x->8x->5x(downscaling), but it will not get much better results.

from waifu2x.

RockNHawk avatar RockNHawk commented on July 23, 2024

Thanks !๐Ÿ˜‹

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.