Coder Social home page Coder Social logo

New Photo Model Training about waifu2x HOT 3 CLOSED

nagadomi avatar nagadomi commented on June 25, 2024
New Photo Model Training

from waifu2x.

Comments (3)

nagadomi avatar nagadomi commented on June 25, 2024

I think resolution of image is not so important. For example, models/ukbench is trained on ukbench dataset. This dataset contains 640x480 images. In my benchmark, ukbench model's performance is very close to photo model's performance.
If you trying to train a denoising model, be careful of JPEG setting of dataset. chroma-subsampling=4:4:4 and quality>95 is may be required.

from waifu2x.

djdjoko avatar djdjoko commented on June 25, 2024

Thanks! How do you measure model performance?

If I understand correctly the feature set is more important then image size. Lets say we train a model_portrait for portraits (5000 images), one model_nature for nature (5000 images) and a model_portrait_nature (superset of 10000 images). Would model_portrait_nature have same/ better/ worse performance as the individual models?

Also would you expect e.g. model_portrait that is specificallyl trained on portraits to be significantly better in upscaling portraits compared to ukbench?

from waifu2x.

nagadomi avatar nagadomi commented on June 25, 2024

I used tools/benchmark.lua for benchmark. It shows PSNR and MSE. baseline is Bicubic.

$ th tools/benchmark.lua -model1_dir models/ukbench -model2_dir models/photo -method scale -dir  /path/to/benchmark/dataset
99/99; baseline_rmse=13.559323, model1_rmse=9.934793, model2_rmse=9.884656, baseline_psnr=26.851980, model1_psnr=30.009167, model2_psnr=30.056692 

At the very least, models/anime_style_art_rgb makes obviously different result from models/photo.

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.