Commit Graph

36 Commits

Author SHA1 Message Date
JSTayco
f32ce0aead Removed tensorflow from requirements.txt for macOS
Added CPU architecture detection for packages
2023-04-02 12:32:56 -07:00
bmaltais
aae3263343 Update requirements 2023-04-01 16:35:50 -04:00
bmaltais
7150179155 Update missing setup files 2023-04-01 16:22:30 -04:00
bmaltais
97b004e756 Revert "Merge pull request #466 from jstayco/consolidated_install_scripts"
This reverts commit b7a719b51a, reversing
changes made to 538752ccab.
2023-04-01 06:29:45 -04:00
jstayco
d8285a7040
Merge branch 'dev' into consolidated_install_scripts 2023-03-31 20:03:32 -07:00
JSTayco
bd2e829ae3 More safeties around Python ops
More safeties and more code consolidation. Now we try to exit the python venv after all the python operations. All the python operations were consolidated to facilitate this.
2023-03-31 17:24:09 -07:00
JSTayco
e5b2257d7d Integrated upgrade.sh
Integrated upgrade.sh functionality, consolidated code to install dependencies, added ability to skip git operations, ensured the script can run from anywhere aimed at installation anywhere, ensured all git commnds worked from anywhere aimed at target folder, normalized specified install directory names (always get the absolute path).
2023-03-31 16:39:28 -07:00
bmaltais
9f6e0c1c8f Fix issue with LyCORIS version 2023-03-30 07:23:37 -04:00
jstayco
a062dabe86
Merge branch 'dev' into consolidated_install_scripts 2023-03-29 16:48:05 -07:00
bmaltais
13c4b1f73b v21.3.7 2023-03-29 19:43:23 -04:00
Vertana
4277645b2a Consolidated Install Scripts and Improve README
Install scripts have been consolidated for every non-Windows OS. Python Requirements were consolidated. README improved to work locally and provide more information.
2023-03-27 12:37:00 -07:00
bmaltais
91e19ca9d9 Fix issue with kohya locon not training the convolution layers 2023-03-12 20:36:58 -04:00
bmaltais
e110d4b67d Update requirements 2023-03-09 12:11:17 -05:00
bmaltais
ba9e26a99d LoHa support 2023-03-09 07:49:50 -05:00
bmaltais
7249b0baa8 Update to latest sd-script release
add gui support for sample config
2023-03-06 19:15:02 -05:00
bmaltais
29bb8599bb Fix issue 278 2023-03-03 07:41:44 -05:00
bmaltais
4c762e3abb Upgrade Gradio
Fix Gradio issues
Fix missing LoCon new GUI
2023-03-02 20:39:07 -05:00
bmaltais
60ad22733c Update to latest code version 2023-02-23 19:21:30 -05:00
bmaltais
758bfe85dc Adding support for Lion optimizer in gui 2023-02-19 20:13:03 -05:00
bmaltais
7bc93821a0 2023/02/09 (v20.7.1)
- Caption dropout is supported in ``train_db.py``, ``fine_tune.py`` and ``train_network.py``. Thanks to forestsource!
        - ``--caption_dropout_rate`` option specifies the dropout rate for captions (0~1.0, 0.1 means 10% chance for dropout). If dropout occurs, the image is trained with the empty caption. Default is 0 (no dropout).
        - ``--caption_dropout_every_n_epochs`` option specifies how many epochs to drop captions. If ``3`` is specified, in epoch 3, 6, 9 ..., images are trained with all captions empty. Default is None (no dropout).
        - ``--caption_tag_dropout_rate`` option specified the dropout rate for tags (comma separated tokens) (0~1.0, 0.1 means 10% chance for dropout). If dropout occurs, the tag is removed from the caption. If ``--keep_tokens`` option is set, these tokens (tags) are not dropped. Default is 0 (no droupout).
        - The bulk image downsampling script is added. Documentation is [here](https://github.com/kohya-ss/sd-scripts/blob/main/train_network_README-ja.md#%E7%94%BB%E5%83%8F%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88) (in Jpanaese). Thanks to bmaltais!
        - Typo check is added. Thanks to shirayu!
    - Add option to autolaunch the GUI in a browser and set the server_port. USe either `gui.ps1 --inbrowser --server_port 3456`or `gui.cmd -inbrowser -server_port 3456`
2023-02-09 19:17:24 -05:00
bmaltais
045750b46a v20.6.0
- Increase max LoRA rank (dim) size to 1024.
    - Update finetune preprocessing scripts.
        - ``.bmp`` and ``.jpeg`` are supported. Thanks to breakcore2 and p1atdev!
        - The default weights of ``tag_images_by_wd14_tagger.py`` is now ``SmilingWolf/wd-v1-4-convnext-tagger-v2``. You can specify another model id from ``SmilingWolf`` by ``--repo_id`` option. Thanks to SmilingWolf for the great work.
        - To change the weight, remove ``wd14_tagger_model`` folder, and run the script again.
        - ``--max_data_loader_n_workers`` option is added to each script. This option uses the DataLoader for data loading to speed up loading, 20%~30% faster.
        - Please specify 2 or 4, depends on the number of CPU cores.
        - ``--recursive`` option is added to ``merge_dd_tags_to_metadata.py`` and ``merge_captions_to_metadata.py``, only works with ``--full_path``.
        - ``make_captions_by_git.py`` is added. It uses [GIT microsoft/git-large-textcaps](https://huggingface.co/microsoft/git-large-textcaps) for captioning.
        - ``requirements.txt`` is updated. If you use this script, [please update the libraries](https://github.com/kohya-ss/sd-scripts#upgrade).
        - Usage is almost the same as ``make_captions.py``, but batch size should be smaller.
        - ``--remove_words`` option removes as much text as possible (such as ``the word "XXXX" on it``).
        - ``--skip_existing`` option is added to ``prepare_buckets_latents.py``. Images with existing npz files are ignored by this option.
        - ``clean_captions_and_tags.py`` is updated to remove duplicated or conflicting tags, e.g. ``shirt`` is removed when ``white shirt`` exists. if ``black hair`` is with ``red hair``, both are removed.
    - Tag frequency is added to the metadata in ``train_network.py``. Thanks to space-nuko!
        - __All tags and number of occurrences of the tag are recorded.__ If you do not want it, disable metadata storing with ``--no_metadata`` option.
2023-02-04 08:36:35 -05:00
bmaltais
20e62af1a6 Update to latest kohya_ss sd-script code 2023-02-03 14:40:03 -05:00
bmaltais
3e4b0ca720 Fix requirements file issue 2023-01-19 15:56:15 -05:00
bmaltais
9f95c8d830 New gui bat file
Update README
2023-01-17 17:54:20 -05:00
bmaltais
115ed35187 Emergency fix 2023-01-06 23:19:49 -05:00
bmaltais
c9a62dd038 Fix requirements file 2022-12-19 09:26:04 -05:00
bmaltais
c90aa2cc61 - Fix file/folder opening behind the browser window
- Add WD14 and BLIP captioning to utilities
- Improve overall GUI layout
2022-12-19 09:22:52 -05:00
bmaltais
0ca93a7aa7 v18.1: Model conversion utility 2022-12-18 13:11:10 -05:00
bmaltais
3834e5dbab Adding improved elements to GUI 2022-12-14 14:40:24 -05:00
bmaltais
5f1a465a45 Update to v17
New GUI
2022-12-13 13:49:14 -05:00
bmaltais
379ab73496 1st cut at gradio UI 2022-12-13 09:20:25 -05:00
bmaltais
e8db30b9d1 Publish v15 2022-12-05 10:49:02 -05:00
bmaltais
6c22f723e2
Update requirements.txt 2022-12-03 18:31:12 -05:00
bmaltais
5a68cd02e7 Update install instructions 2022-11-27 21:07:57 -05:00
bmaltais
7d0fb81f14 Update requirements 2022-11-27 09:57:31 -05:00
Bernard Maltais
9535d1248c 1st commit 2022-10-30 11:15:09 -04:00