mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-10 10:50:09 +00:00
added resizing modes
added more info into readme
This commit is contained in:
22
README.md
22
README.md
@@ -92,7 +92,6 @@ If you use this feature, batch count will be ignored, because the number of pict
|
||||
depends on your prompts, but batch size will still work (generating multiple pictures at the
|
||||
same time for a small speed boost).
|
||||
|
||||
|
||||
### Flagging
|
||||
Click the Flag button under the output section, and generated images will be saved to `log/images` directory, and generation parameters
|
||||
will be appended to a csv file `log/log.csv` in the `/sd` directory.
|
||||
@@ -107,3 +106,24 @@ If you generate multiple pictures, the displayed seed will be the seed of the fi
|
||||
### Correct seeds for batches
|
||||
If you use a seed of 1000 to generate two batches of two images each, four generated images will have seeds: `1000, 1001, 1002, 1003`.
|
||||
Previous versions of the UI would produce `1000, x, 1001, x`, where x is an iamge that can't be generated by any seed.
|
||||
|
||||
### Resizing
|
||||
There are three options for resizing input images in img2img mode:
|
||||
|
||||
- Just resize - simply resizes source image to target resolution, resulting in incorrect aspect ratio
|
||||
- Crop and resize - resize source image preserving aspect ratio so that entirety of target resolution is occupied by it, and crop parts that stick out
|
||||
- Resize and fill - resize source image preserving aspect ratio so that it entirely fits target resolution, and fill empty space by rows/columns from source image
|
||||
|
||||
Example:
|
||||

|
||||
|
||||
### Loading
|
||||
Gradio's loading graphic has a very negative effect on the processing speed onthe neural network.
|
||||
My RTX 3090 makes images about 10% faster when the tab with gradio is not active. By defaul, the UI
|
||||
now hides loading progress animation and replaces it with static "Loading..." text. Use
|
||||
the --no-progressbar-hiding commandline option to revert this and show loading animations.
|
||||
|
||||
### Prompt validation
|
||||
Stable Diffusion has a limit for imput text length. If your prompt is too long, you will get a
|
||||
warning in the text output field, showing which parts of your text were truncated and consequently
|
||||
ignored by the model.
|
||||
|
Reference in New Issue
Block a user