Coder Social home page Coder Social logo

Jpeg noise removal not working about waifu2x HOT 7 OPEN

eyetest42 avatar eyetest42 commented on August 26, 2024
Jpeg noise removal not working

from waifu2x.

Comments (7)

nagadomi avatar nagadomi commented on August 26, 2024 1

I think it is the same problem as below. It is not a bug in the program, but a performance issue with the machine learning model.

It is a known issue of CUNet model(defualt model). level0~2 overfits the JPEG quality(noise level) of the input image.

noise_level=0: Expected input image compressed with JPEG quality 85-95
noise_level=1: Expected input image compressed with JPEG quality 65-85
noise_level=2: Expected input image compressed twice with JPEG quality 27-70

If the input image is compressed once with JPEG quality 80, denoising result is better with level1 than with level2. level2 may not remove weaker noise than expected... level3 simply denoise strongly.

(level1=Medium, level2=High)
related: #320 (comment)

from waifu2x.

nagadomi avatar nagadomi commented on August 26, 2024

It works. What's the trouble?
Please hard refresh your browser (maybe CTRL+F5) and try again, as today I have updated the front-end scripts.

from waifu2x.

horse14t avatar horse14t commented on August 26, 2024

I have the same issue sometimes.
I like to use the site to clean up jpgs for a fan wiki I like to edit. But sometimes when I want to compare the Medium noise removal with the High, one or the other doesn't work!
Here's a image of the settings I was using:
Waifu Issue

I tried both the Convert button and Download but it makes no difference.
Adding upscaling does fix it however, I would prefer to use the None option for wiki images.

from waifu2x.

nagadomi avatar nagadomi commented on August 26, 2024

How does it not work?
Server error? or it is not the expected conversion result?

from waifu2x.

horse14t avatar horse14t commented on August 26, 2024

When I save the image after clicking either Convert or Download it is no different from the original file.
There is no Server error or anything.
Here's a comparison between the original artwork and the Waifu export with the High setting:
Waifu Issue 2
Notice how there's no difference.
Compare that to the Medium setting where there is a visible difference.
Waifu Issue 3

from waifu2x.

nagadomi avatar nagadomi commented on August 26, 2024

I am currently reworking the training code and will probably be able to fix this issue in the next few months.
The level2 should have included all noise patterns lower than level2.

from waifu2x.

horse14t avatar horse14t commented on August 26, 2024

Sounds good! 👍Thank you!

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.