Giter VIP home page Giter VIP logo

upscale's Introduction

README

Website can be accessed here: https://phhofm.github.io/upscale/

Story

My interest in upscaling started when I generated images with Midjourney AI and thought about enlarging those so I could use one as a desktop background image. I started using the chaiNNer application and therefore looking for models. At first I just used the UltraSharp model but after I while I got curious how it compared to other models. So i tested the Universal Models, which led me to make a youtube video so others that were interested too could visually compare for themselves. Then I thought upon expanding to some more models, which led me to make this reddit post. Which then led me to make a test with models from the art category plus more universal models for the people in the stablediffusion channel, so I created this post. And since I tested out more and more and it led to more and more examples, I decided to create this website about it so I have all the examples in one place.

Purpose

The purpose of this website is for people to visually compare for themselves the resulting output of different upscaling models, mostly because beauty is in the eye of the beholder, meaning different people might favor different models. This will allow them to use the model they like best for upscaling their own images.

Dev notes

These will be executed automatically when npm run docs:dev or npm run docs:build are run -

node loadSourceFiles traverses the files in the source folder to get all the images we want to include in the examples. This is to replace the imgsli images because the examples became so big in the multimodels page that I needed to drag&drop 300+ images just for a single example, and to update such an example with an additional image one would need to repeat this process. So updating examples became painful (this was why I used sets). Now I included a vue component to replace imgsli where I first used the github api to load the examples from the github folders themselves, but building the application when developing would make multiple api.github calls so I hit a request limit. So I wanted to bundle the images in. Since Vite only bundles in explicitly loaded images in code (and adds a hash to their names) I moved the image sources folder into the bundle. This script is executed first since we need to traverse the folder to get all the files we want to use in the comparisons, so we create the data.json file which we then load client side since we cannot traverse some directories with vue but we want to do it server-side with node when generating the page. This way the examples that use this stay up to date automatically with each new commit. So I can simply manage the image files and the examples will update themselves.

node generateUsedModelsList in the same way keeps the used models list page updated by extracting the base filenames (since I generally named my output file names according to the model used) and only adding unique items to that list and then sorting the list before displaying it on the page. I still need to add a new example to the examples list so these are considered.

Remember to keep the changelog updated

Now after all these changes which allow you to simply manage the files to update the examples have fun again simply testing out new models :D

upscale's People

Contributors

phhofm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

upscale's Issues

Discussion about Blind SR Models

Hi Philip,

Thank you for your work at zhengchen1999/RGT#3.
We both know RGT can deliver decent SR results for bicubic LR images.
However, unknown degradation LR images SR (blind SR) might be a different story.
Could you share your opinion about the "best" real-world blind SR model(s) so far?

Best regards,
Khoa D. Vo

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.