青龍聖者@bdsqlsz
5cdf4e34a1
support for dadapaption V3 ( #530 )
...
* Update train_util.py for DAdaptLion
* Update train_README-zh.md for dadaptlion
* Update train_README-ja.md for DAdaptLion
* add DAdatpt V3
* Alignment
* Update train_util.py for experimental
* Update train_util.py V3
* Update train_README-zh.md
* Update train_README-ja.md
* Update train_util.py fix
* Update train_util.py
---------
Co-authored-by: Kohya S <52813779+kohya-ss@users.noreply.github.com >
2023-05-25 21:52:36 +09:00
TingTingin
061e157191
Update train_util.py
2023-05-23 02:02:39 -04:00
TingTingin
d859a3a925
Update train_util.py
...
fix mistake
2023-05-23 02:00:33 -04:00
TingTingin
5a1a14f9fc
Update train_util.py
...
Added feature to add "." if missing in caption_extension
Added warning on training without captions
2023-05-23 01:57:35 -04:00
Kohya S
02bb8e0ac3
use xformers in VAE in gen script
2023-05-21 12:59:01 +09:00
Kohya S
bc909e8359
Merge pull request #521 from akshaal/fix/save_state
...
fix: don't save state if no --save-state arg given
2023-05-21 08:48:48 +09:00
Evgeny Chukreev
0c942106bf
fix: don't save state if no --save-state arg given
2023-05-18 20:09:06 +02:00
Fair
c0c4d4ddc6
new line with print "generating sample images"
2023-05-17 10:59:06 +08:00
青龍聖者@bdsqlsz
7e5b6154d0
Update train_util.py
2023-05-16 00:09:53 +08:00
Kohya S
714846e1e1
revert perlin_noise
2023-05-15 23:12:11 +09:00
Kohya S
08d85d4013
Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
2023-05-15 20:58:04 +09:00
Kohya S
0ec7743436
show loading model path
2023-05-15 20:57:53 +09:00
Kohya S
a72d80aa85
Merge pull request #507 from HkingAuditore/main
...
Added support for Perlin noise in Noise Offset
2023-05-15 20:56:46 +09:00
hkinghuang
bca6a44974
Perlin noise
2023-05-15 11:16:08 +08:00
Linaqruf
8ab5c8cb28
feat: added json support as well
2023-05-14 19:49:54 +07:00
Linaqruf
774c4059fb
feat: added toml support for sample prompt
2023-05-14 19:38:44 +07:00
Kohya S
968bbd2f47
Merge pull request #480 from yanhuifair/main
...
fix print "saving" and "epoch" in newline
2023-05-11 21:05:37 +09:00
Kohya S
09c719c926
add adaptive noise scale
2023-05-07 18:09:08 +09:00
Kohya S
e54b6311ef
do not save cuda_rng_state if no cuda closes #390
2023-05-07 10:23:25 +09:00
Fair
b08154dc36
fix print "saving" and "epoch" in newline
2023-05-07 02:51:01 +08:00
Kohya S
165fc43655
fix comment
2023-05-06 18:25:26 +09:00
Kohya S
2127907dd3
refactor selection and logging for DAdaptation
2023-05-06 18:14:16 +09:00
青龍聖者@bdsqlsz
164a1978de
Support for more Dadaptation ( #455 )
...
* Update train_util.py for add DAdaptAdan and DAdaptSGD
* Update train_util.py for DAdaptadam
* Update train_network.py for dadapt
* Update train_README-ja.md for DAdapt
* Update train_util.py for DAdapt
* Update train_network.py for DAdaptAdaGrad
* Update train_db.py for DAdapt
* Update fine_tune.py for DAdapt
* Update train_textual_inversion.py for DAdapt
* Update train_textual_inversion_XTI.py for DAdapt
2023-05-06 17:30:09 +09:00
Kohya S
60bbe64489
raise error when both noise offset and multires
2023-05-03 20:58:12 +09:00
ykume
f6556f7972
add ja help message for mutires noise
2023-05-03 11:31:13 +09:00
ykume
69579668bb
Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
2023-05-03 11:17:43 +09:00
Kohya S
2e688b7cd3
Merge pull request #471 from pamparamm/multires-noise
...
Multi-Resolution Noise
2023-05-03 11:17:21 +09:00
ykume
2fcbfec178
make transform_DDP more intuitive
2023-05-03 11:07:29 +09:00
Isotr0py
e1143caf38
Fix DDP issues and Support DDP for all training scripts ( #448 )
...
* Fix DDP bugs
* Fix DDP bugs for finetune and db
* refactor model loader
* fix DDP network
* try to fix DDP network in train unet only
* remove unuse DDP import
* refactor DDP transform
* refactor DDP transform
* fix sample images bugs
* change DDP tranform location
* add autocast to train_db
* support DDP in XTI
* Clear DDP import
2023-05-03 10:37:47 +09:00
ykume
a7485e4d9e
Add error message if no Lion8bit
2023-05-03 10:35:47 +09:00
青龍聖者@bdsqlsz
335b2f960e
Support for Lion8bit ( #447 )
...
* ADD libbitsandbytes.dll for 0.38.1
* Delete libbitsandbytes_cuda116.dll
* Delete cextension.py
* add main.py
* Update requirements.txt for bitsandbytes 0.38.1
* Update README.md for bitsandbytes-windows
* Update README-ja.md for bitsandbytes 0.38.1
* Update main.py for return cuda118
* Update train_util.py for lion8bit
* Update train_README-ja.md for lion8bit
* Update train_util.py for add DAdaptAdan and DAdaptSGD
* Update train_util.py for DAdaptadam
* Update train_network.py for dadapt
* Update train_README-ja.md for DAdapt
* Update train_util.py for DAdapt
* Update train_network.py for DAdaptAdaGrad
* Update train_db.py for DAdapt
* Update fine_tune.py for DAdapt
* Update train_textual_inversion.py for DAdapt
* Update train_textual_inversion_XTI.py for DAdapt
* Revert "Merge branch 'qinglong' into main"
This reverts commit b65c023083 , reversing
changes made to f6fda20caf .
* Revert "Update requirements.txt for bitsandbytes 0.38.1"
This reverts commit 83abc60dfa .
* Revert "Delete cextension.py"
This reverts commit 3ba4dfe046 .
* Revert "Update README.md for bitsandbytes-windows"
This reverts commit 4642c52086 .
* Revert "Update README-ja.md for bitsandbytes 0.38.1"
This reverts commit fa6d7485ac .
* Revert "ADD libbitsandbytes.dll for 0.38.1"
This reverts commit bee1e6f731 .
* Revert "Delete libbitsandbytes_cuda116.dll"
This reverts commit 891c7e9262 .
* reverse main.py
* Reverse main.py
2023-05-03 10:22:40 +09:00
Pam
b18d099291
Multi-Resolution Noise
2023-05-02 09:42:17 +05:00
Kohya S
1890535d1b
enable cache_latents when _to_disk #438
2023-04-25 08:08:49 +09:00
Kohya S
74008ce487
add save_every_n_steps option
2023-04-24 23:22:24 +09:00
Kohya S
46cbae088e
fix to log with logging_dir without log_with
2023-04-23 19:15:48 +09:00
Kohya S
9ba4c3edca
update readme/comment
2023-04-22 20:18:25 +09:00
Linaqruf
e9a641bde7
Merge branch 'main' of https://github.com/Linaqruf/sd-scripts
2023-04-22 16:17:22 +07:00
Linaqruf
ae3965a2a7
feat: add arguments to set \--wandb_api_key\ before training
2023-04-22 16:14:14 +07:00
Kohya S
66edc5af7b
invert condition for checking log_with
2023-04-22 18:05:19 +09:00
saltacc
dc37fd2ff6
fix no logging command line arg
2023-04-22 01:26:31 -07:00
Kohya S
884e6bff5d
fix face_crop_aug not working on finetune method, prepare upscaler
2023-04-22 10:41:36 +09:00
Kohya S
220436244c
some minor fixes
2023-04-22 09:55:04 +09:00
Kohya S
c430cf481a
Merge pull request #428 from p1atdev/dev
...
Add WandB logging support
2023-04-22 09:39:01 +09:00
tsukimiya
e746829b5f
おそらくlibgtk2がインストールされていない環境でcv2.waitKey() および cv2.destroyAllWindows() が動作しないので除外
2023-04-20 06:20:02 +09:00
Plat
a69b24a069
fix: tensorboard not working
2023-04-20 05:33:32 +09:00
Plat
8090daca40
fix: wandb not working without logging_dir
2023-04-20 05:14:28 +09:00
Plat
27ffd9fe3d
feat: support wandb logging
2023-04-20 01:41:12 +09:00
Kohya S
423e6c229c
support metadata json+.npz caching (no prepare)
2023-04-13 22:12:13 +09:00
Kohya S
a8632b7329
fix latents disk cache
2023-04-13 21:14:39 +09:00
Kohya S
2e9f7b5f91
cache latents to disk in dreambooth method
2023-04-12 23:10:39 +09:00