Comments (8)
Forgot the link to the original paper but for SDXL one should use these dimensions (all numbers are divided by 64 evenly)
For best quality, MoonRise303 insists you use one of the below dimensions. I agree.
For now, I have a reference sheet that I must open and look at when I want to change resolutions, Kinda pain in the butt
896 x 1152 for 3:4 or 4:5 crop
1152 x 896 for 4:3 or 5:4 crop
832 x 1216 for 2:3 crop
1216 x 832 for 3:2 crop
1344 x 768 for 16:9 crop
1408 x 704 spherical 360 pano
1536 x 640 anamorphic movie format
they are the ideal size to generate with minimal crop loss to match common industry ratios. Yes you will have to crop some off before you go to print
from fooocus-mre.
In an ideal world, we would be able to make our own list for the pull-down and save as a josn file. This will shorten the list:
- not having to see resolutions we would never use
- change the wording in the pull-down, such as "1408 x 704 spherical 360 pano"
- no scrolling madness
- short and elegant
- even add (not recommended) not sdxl friendly sizes such as 1920 x 1200, but hey if you like the results it should be your choice.
from fooocus-mre.
2nd this, I'm lucky enough to have a beefy PC and like making 1920x1200 images, mostly for paintings and landscapes but SDXL can handle the beefier resolutions, maybe hide it in advanced so people don't start complaining about how their 512x4000 image looks bad, while also being easier than having to edit the settings in notepad and have the users add them themselves as I've been doin
from fooocus-mre.
That reference sheet is super helpful! Definitely gonna be saving that :)
from fooocus-mre.
from fooocus-mre.
- Those aspect ratio values are not correct (I use math to calculate correct AR for given resolution in MRE).
- I'd rather stick to official SDXL resolution list by default.
- I will look into customising resolution list (via resolutions.json, or something like that), so people who would like to use fewer resolutions could adjust that list to their needs in simple way.
from fooocus-mre.
possible solution?
@MoonRide303 please provide 2 versions: original "resolutions.py" and "alternative-resolutions.py"
The "alternative-resolutions.py" displays the pull-down menu that read like this. This way we can opt for the shorter version with (ideal size for industry crop), by duplicating and changing the file name to "resolutions.py" when Fooocus gets an update
Case example of industry crop
-
Instagram only shows images as 1x1, 4x5, and 16x9 If your upload has the wrong ratio Instagram will auto-crop for you. Well, it may crop off an area you do not want. But if you prepare the image before you upload, you have control over how it gets cropped, how it will be displayed
-
8x10 inches is a very very common print resolution.
-
16x9 is common in wide-screen video. If you want to include your images with other footage you will have to crop.
The key here is to quickly identify the nearest SDXL resolution to actually cropping for traditional size with minimal loss
from fooocus-mre.
Done. I've added support for custom resolutions list (you can define your own in resolutions.json), and also for custom resolutions (you can just type something like "1280x640" in Resolution field, now). Commit d2942a0.
from fooocus-mre.
Related Issues (20)
- JugernautXL not recognized HOT 2
- I get an error when I launch the tool - 'Lora file not found!' HOT 2
- Generates without any problem first time, then runs out of ram.
- The installation of V2.0.78.5 failed many times and the following error message appeared. What is the reason? HOT 1
- weird preview generating problem here and in the main repo
- My boss, MRE version 2.1 ready? HOT 12
- load_settings, e: 'utf-8' codec can't decode byte 0xd7 in position 1206: invalid continuation byte HOT 1
- Extreme RAM usage on colab
- fooocus-MRE loads model on every startup HOT 1
- All of a sudden
- How to use SDXL CHECKPOINTS that are in subfolders?
- [FIXed] Colab Error WARNING[XFORMERS] HOT 1
- running an error message
- Error while deserializing header: HeaderTooSmall
- ERROR: Failed building wheel for pygit2sudo
- paths.json not recognized
- Colab Error – xFormers wasn't build with CUDA support
- Ordering of Models and Loras
- Running different models similar to running different styles
- complaints
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fooocus-mre.