Vladimir Mandic
cf277e7326
fix dtype logic
2023-04-21 15:04:05 -04:00
Vladimir Mandic
b6719e5a22
Merge pull request #248 from GoulartNogueira/master
...
fix image orientation
2023-04-21 09:27:48 -04:00
Vladimir Mandic
fd51bb90d0
enable quick launch
2023-04-15 11:51:58 -04:00
Vladimir Mandic
2ece9782e4
handle duplicate extensions and redo exception handler
2023-04-14 09:57:53 -04:00
Vladimir Mandic
614b482ee3
major installer work
2023-04-13 11:19:15 -04:00
Vladimir Mandic
81b8294e93
switch cmdflags to settings
2023-04-12 10:40:11 -04:00
Andre Ubuntu
48c06af8dc
Pythonic way to achieve it
2023-04-05 20:51:29 -03:00
Andre Ubuntu
52a8f286ef
fix preprocess orientation
2023-04-05 20:28:00 -03:00
Vladimir Mandic
f181885f0c
Merge pull request #57 from AUTOMATIC1111/master
...
merge from upstream
2023-03-25 08:47:00 -04:00
butaixianran
803d44c474
Fix None type error for TI module
...
When user using model_name.png as a preview image, textural_inversion.py still treat it as an embeding, and didn't handle its error, just let python throw out an None type error like following:
```bash
File "D:\Work\Dev\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 155, in load_from_file
name = data.get('name', name)
AttributeError: 'NoneType' object has no attribute 'get'
```
With just a simple `if data:` checking as following, there will be no error, breaks nothing, and now this module can works fine with user's preview images.
Old code:
```python
data = extract_image_data_embed(embed_image)
name = data.get('name', name)
```
New code:
```python
data = extract_image_data_embed(embed_image)
if data:
name = data.get('name', name)
else:
# if data is None, means this is not an embeding, just a preview image
return
```
Also, since there is no more errors on textual inversion module, from now on, extra network can set "model_name.png" as preview image for embedings.
2023-03-25 02:05:00 +08:00
Vladimir Mandic
f275e43eb9
update torch load and external repos
2023-03-20 10:10:56 -04:00
Vladimir Mandic
f6679fcc77
add global exception handler
2023-03-17 10:08:07 -04:00
Vladimir Mandic
54ab13502f
Merge pull request #37 from AUTOMATIC1111/master
...
sync forks
2023-02-19 10:11:25 -05:00
AUTOMATIC
11183b4d90
fix for #6700
2023-02-19 12:44:56 +03:00
Shondoit
edb10092de
Add ability to choose using weighted loss or not
2023-02-15 10:03:59 +01:00
Shondoit
bc50936745
Call weighted_forward during training
2023-02-15 10:03:59 +01:00
Shondoit
21642000b3
Add PNG alpha channel as weight maps to data entries
2023-02-15 10:03:59 +01:00
Vladimir Mandic
e92b66e2ea
update version
2023-01-29 13:44:33 -05:00
Vladimir Mandic
2314ca9841
Merge pull request #31 from AUTOMATIC1111/master
...
sync branches
2023-01-29 12:19:38 -05:00
Vladimir Mandic
0fa1d29fca
pre-merge cleanup
2023-01-29 12:19:17 -05:00
AUTOMATIC
aa6e55e001
do not display the message for TI unless the list of loaded embeddings changed
2023-01-29 11:53:05 +03:00
Vladimir Mandic
cb72d69970
Merge pull request #29 from AUTOMATIC1111/master
...
sync branches
2023-01-28 10:42:43 -05:00
Max Audron
5eee2ac398
add data-dir flag and set all user data directories based on it
2023-01-27 14:44:30 +01:00
Vladimir Mandic
ec61d14085
remove messages
2023-01-26 11:33:02 -05:00
Vladimir Mandic
3e30c8d877
Merge pull request #26 from AUTOMATIC1111/master
...
sync branches
2023-01-26 10:27:46 -05:00
Alex "mcmonkey" Goodwin
e179b6098a
allow symlinks in the textual inversion embeddings folder
2023-01-25 08:48:40 -08:00
Vladimir Mandic
9e0b2d8dcb
Merge pull request #23 from AUTOMATIC1111/master
...
sync branches
2023-01-22 09:22:32 -05:00
AUTOMATIC
40ff6db532
extra networks UI
...
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
Vladimir Mandic
9901913af7
Merge pull request #21 from AUTOMATIC1111/master
...
sync branches
2023-01-19 17:56:11 -05:00
AUTOMATIC1111
0f9cacaa0e
Merge pull request #6844 from guaneec/crop-ui
...
Add auto-sized cropping UI
2023-01-19 13:11:05 +03:00
dan
2985b317d7
Fix of fix
2023-01-19 17:39:30 +08:00
dan
18a09c7e00
Simplification and bugfix
2023-01-19 17:36:23 +08:00
Vladimir Mandic
85162a946a
Merge pull request #20 from AUTOMATIC1111/master
...
sync branch
2023-01-18 19:22:34 -05:00
AUTOMATIC
924e222004
add option to show/hide warnings
...
removed hiding warnings from LDSR
fixed/reworked few places that produced warnings
2023-01-18 23:04:24 +03:00
Vladimir Mandic
1c17b8156b
major update to preprocess and train
2023-01-18 08:10:15 -05:00
dan
4688bfff55
Add auto-sized cropping UI
2023-01-17 17:16:43 +08:00
Vladimir Mandic
4f16475ecb
Merge pull request #18 from AUTOMATIC1111/master
...
sync branches
2023-01-15 15:27:38 -05:00
Vladimir Mandic
110d1a2d59
add fields to settings file
2023-01-15 12:41:00 -05:00
Vladimir Mandic
34fcb16370
Merge pull request #17 from AUTOMATIC1111/master
...
sync branches
2023-01-15 12:03:07 -05:00
AUTOMATIC
d8b90ac121
big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other
2023-01-15 18:51:04 +03:00
Vladimir Mandic
e4ed905e2a
Merge pull request #13 from AUTOMATIC1111/master
...
sync branches
2023-01-14 11:14:26 -05:00
AUTOMATIC
a95f135308
change hash to sha256
2023-01-14 09:56:59 +03:00
Vladimir Mandic
e8c5503af0
Merge pull request #12 from AUTOMATIC1111/master
...
sync branches
2023-01-13 08:30:07 -05:00
Vladimir Mandic
e1413a0f7f
update
2023-01-13 08:29:53 -05:00
AUTOMATIC
82725f0ac4
fix a bug caused by merge
2023-01-13 15:04:37 +03:00
AUTOMATIC1111
9cd7716753
Merge branch 'master' into tensorboard
2023-01-13 14:57:38 +03:00
AUTOMATIC1111
544e7a233e
Merge pull request #6689 from Poktay/add_gradient_settings_to_logging_file
...
add gradient settings to training settings log files
2023-01-13 14:45:32 +03:00
AUTOMATIC
a176d89487
print bucket sizes for training without resizing images #6620
...
fix an error when generating a picture with embedding in it
2023-01-13 14:32:15 +03:00
AUTOMATIC1111
486bda9b33
Merge pull request #6620 from guaneec/varsize_batch
...
Enable batch_size>1 for mixed-sized training
2023-01-13 14:03:31 +03:00
Josh R
0b262802b8
add gradient settings to training settings log files
2023-01-12 17:31:05 -08:00