Coder Social home page Coder Social logo

bringrainfire / scaling-potato Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 36.15 MB

Allows you to adjust the aspect ratio used for stable diffusion and stable diffusion xl and maintain the same pixel count required for each

License: MIT License

Python 0.83% TeX 26.33% HTML 72.84%

scaling-potato's Introduction

The code is in main.py and the .exe is in the dist directory.

This calculator allows you to choose between 512x512 for stable diffusion and 1024x1024 for stable diffusion xl. For the best quality in your generation it's recommended that you keep the same pixel count when changing the aspect ratio to something besides 1:1 If you want a 16:9 aspect ratio for example on sd, select the 512x512, enter 16 in the first field, and 9 in the second field. It will output the result at the bottom, in this case a resolution that keeps the same pixel count as a 1:1 512x512 image but in 16:9 equals 682x383.

scaling-potato's People

Contributors

bringrainfire avatar

Watchers

 avatar

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.