Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode | Neil Mahseth | 2023-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | The code snippet print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a')) raises a UnicodeEncodeError with the message "'charmap' codec can't encode character '\u016b' in position 129". This error occurs because the default encoding used by the open() function cannot handle certain Unicode characters. To fix this issue, the encoding parameter needs to be explicitly specified when opening the file. By using an appropriate encoding, such as 'utf-8', we can ensure that Unicode characters are properly encoded and written to the file. The updated code should be modified as follows: python Copy code print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a', encoding='utf-8')) By making this change, the code will no longer raise the UnicodeEncodeError and will correctly handle Unicode characters during the file write operation. | ||||
* | Merge branch 'release_candidate' | AUTOMATIC | 2023-06-27 | 102 | -995/+3379 |
|\ | |||||
| * | Merge pull request #11189 from daswer123/dev | AUTOMATIC1111 | 2023-06-27 | 3 | -65/+176 |
| |\ | | | | | | | Zoom and pan: More options in the settings and improved error output | ||||
| | * | Formatting code with Prettier | Danil Boldyrev | 2023-06-13 | 1 | -75/+95 |
| | | | |||||
| | * | Reworked the disabling of functions, refactored part of the code | Danil Boldyrev | 2023-06-13 | 3 | -135/+121 |
| | | | |||||
| | * | remove console.log | Danil Boldyrev | 2023-06-12 | 1 | -2/+0 |
| | | | |||||
| | * | Improved error output, improved settings menu | Danil Boldyrev | 2023-06-12 | 2 | -38/+145 |
| | | | |||||
| * | | Merge pull request #11136 from arch-fan/typo | AUTOMATIC1111 | 2023-06-27 | 1 | -1/+1 |
| |\ \ | | | | | | | | | fixed typos | ||||
| | * | | fixed typos | arch-fan | 2023-06-09 | 1 | -2/+2 |
| |/ / |/| | | |||||
| * | | Merge pull request #11199 from akx/makedirs | AUTOMATIC1111 | 2023-06-27 | 6 | -15/+6 |
| |\ \ | | | | | | | | | Use os.makedirs(..., exist_ok=True) | ||||
| | * | | Use os.makedirs(..., exist_ok=True) | Aarni Koskela | 2023-06-13 | 6 | -15/+6 |
| | |/ | |||||
| * | | Merge pull request #11294 from zhtttylz/Fix_Typo_of_hints.js | AUTOMATIC1111 | 2023-06-27 | 1 | -2/+2 |
| |\ \ | | | | | | | | | Fix Typo of hints.js | ||||
| | * | | Fix Typo of hints.js | zhtttylz | 2023-06-18 | 1 | -2/+2 |
| |/ / |/| | | |||||
| * | | Merge pull request #11408 from wfjsw/patch-1 | AUTOMATIC1111 | 2023-06-27 | 1 | -0/+5 |
| |\ \ | | | | | | | | | Strip whitespaces from URL and dirname prior to extension installation | ||||
| | * | | Strip whitespaces from URL and dirname prior to extension installation | Jabasukuriputo Wang | 2023-06-24 | 1 | -0/+5 |
| |/ / |/| | | | | | This avoid some cryptic errors brought by accidental spaces around urls | ||||
| * | | add missing infotext entry for the pad cond/uncond option | AUTOMATIC | 2023-06-27 | 2 | -1/+11 |
| | | | |||||
| * | | Merge branch 'dev' into release_candidate | AUTOMATIC | 2023-06-09 | 101 | -977/+3244 |
|/| | | |/ | |||||
| * | add changelog for 1.4.0 | AUTOMATIC | 2023-06-09 | 1 | -0/+57 |
| | | |||||
| * | linter | AUTOMATIC | 2023-06-09 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #11092 from AUTOMATIC1111/Generate-Forever-during-generation | AUTOMATIC1111 | 2023-06-09 | 1 | -4/+10 |
| |\ | | | | | | | Allow activation of Generate Forever during generation | ||||
| | * | Generate Forever during generation | w-e-w | 2023-06-08 | 1 | -4/+10 |
| | | | | | | | | | | | | Generate Forever during generation | ||||
| * | | Merge pull request #11087 from AUTOMATIC1111/persistent_conds_cache | AUTOMATIC1111 | 2023-06-09 | 2 | -10/+17 |
| |\ \ | | | | | | | | | persistent conds cache | ||||
| | * | | persistent conds cache | w-e-w | 2023-06-08 | 2 | -10/+17 |
| | |/ | | | | | | | | | | Update shared.py | ||||
| * | | Merge pull request #11123 from akx/dont-die-on-bad-symlink-lora | AUTOMATIC1111 | 2023-06-09 | 1 | -1/+5 |
| |\ \ | | | | | | | | | Don't die when a LoRA is a broken symlink | ||||
| | * | | Don't die when a LoRA is a broken symlink | Aarni Koskela | 2023-06-09 | 1 | -1/+5 |
| | |/ | | | | | | | | | | Fixes #11098 | ||||
| * | | Merge pull request #10295 from Splendide-Imaginarius/mk2-blur-mask | AUTOMATIC1111 | 2023-06-09 | 2 | -13/+38 |
| |\ \ | | | | | | | | | Split mask blur into X and Y components, patch Outpainting MK2 accordingly | ||||
| | * | | Split Outpainting MK2 mask blur into X and Y components | Splendide Imaginarius | 2023-06-09 | 1 | -9/+21 |
| | | | | | | | | | | | | | | | | Fixes unexpected noise in non-outpainted borders when using MK2 script. | ||||
| | * | | Split mask blur into X and Y components | Splendide Imaginarius | 2023-06-09 | 1 | -4/+17 |
| | |/ | | | | | | | | | | Prequisite to fixing Outpainting MK2 mask blur bug. | ||||
| * | | Merge pull request #11048 from DGdev91/force_python1_navi_renoir | AUTOMATIC1111 | 2023-06-09 | 1 | -1/+16 |
| |\ \ | | |/ | |/| | Forcing Torch Version to 1.13.1 for RX 5000 series GPUs | ||||
| | * | Skip force pyton and pytorch ver if TORCH_COMMAND already set | DGdev91 | 2023-06-06 | 1 | -9/+12 |
| | | | |||||
| | * | Write "RX 5000 Series" instead of "Navi" in err | DGdev91 | 2023-06-06 | 1 | -1/+1 |
| | | | |||||
| | * | Check python version for Navi 1 only | DGdev91 | 2023-06-06 | 1 | -1/+1 |
| | | | |||||
| | * | Force python1 for Navi1 only, use python_cmd for python | DGdev91 | 2023-06-06 | 1 | -15/+8 |
| | | | |||||
| | * | Fix error in webui.sh | DGdev91 | 2023-06-05 | 1 | -0/+1 |
| | | | |||||
| | * | Forcing Torch Version to 1.13.1 for Navi and Renoir GPUs | DGdev91 | 2023-06-05 | 1 | -5/+23 |
| | | | |||||
| * | | Merge pull request #11058 from AUTOMATIC1111/api-wiki | AUTOMATIC1111 | 2023-06-07 | 2 | -2/+2 |
| |\ \ | | | | | | | | | link footer API to Wiki when API is not active | ||||
| | * | | link footer API to Wiki when API is not active | w-e-w | 2023-06-06 | 2 | -2/+2 |
| | |/ | |||||
| * | | Merge pull request #11066 from aljungberg/patch-1 | AUTOMATIC1111 | 2023-06-07 | 1 | -1/+1 |
| |\ \ | | |/ | |/| | Fix upcast attention dtype error. | ||||
| | * | Fix upcast attention dtype error. | Alexander Ljungberg | 2023-06-06 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | | | | | | | | | Without this fix, enabling the "Upcast cross attention layer to float32" option while also using `--opt-sdp-attention` breaks generation with an error: ``` File "/ext3/automatic1111/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 612, in sdp_attnblock_forward out = torch.nn.functional.scaled_dot_product_attention(q, k, v, dropout_p=0.0, is_causal=False) RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: float key.dtype: float and value.dtype: c10::Half instead. ``` The fix is to make sure to upcast the value tensor too. | ||||
| * | Merge pull request #11047 from ↵ | AUTOMATIC1111 | 2023-06-05 | 1 | -9/+12 |
| |\ | | | | | | | | | | | | | AUTOMATIC1111/parse_generation_parameters_with_error handles exception when parsing generation parameters from png info | ||||
| | * | print error and continue | w-e-w | 2023-06-05 | 1 | -9/+12 |
| | | | | | | | | | | | | print error and continue | ||||
| * | | Merge pull request #11037 from AUTOMATIC1111/restart-autolaunch | AUTOMATIC1111 | 2023-06-05 | 2 | -1/+2 |
| |\ \ | | | | | | | | | fix rework-disable-autolaunch for new restart method | ||||
| | * | | SD_WEBUI_RESTARTING | w-e-w | 2023-06-05 | 2 | -2/+2 |
| | | | | |||||
| | * | | restore old disable --autolaunch | w-e-w | 2023-06-05 | 1 | -0/+3 |
| | | | | |||||
| | * | | rework-disable-autolaunch | w-e-w | 2023-06-05 | 2 | -4/+2 |
| | |/ | |||||
| * | | Merge pull request #11031 from akx/zoom-and-pan-namespace | AUTOMATIC1111 | 2023-06-05 | 1 | -124/+111 |
| |\ \ | | | | | | | | | Zoom and pan: namespace & simplify | ||||
| | * | | Zoom and Pan: simplify waitForOpts | Aarni Koskela | 2023-06-05 | 1 | -8/+6 |
| | | | | |||||
| | * | | Zoom and Pan: use for instead of forEach | Aarni Koskela | 2023-06-05 | 1 | -10/+7 |
| | | | | |||||
| | * | | Zoom and Pan: simplify getElements (it's not actually async) | Aarni Koskela | 2023-06-05 | 1 | -10/+4 |
| | | | | |||||
| | * | | Zoom and Pan: use elementIDs from closure scope | Aarni Koskela | 2023-06-05 | 1 | -18/+18 |
| | | | |