Kohya sdxl. pip install pillow numpy. Kohya sdxl

 
 pip install pillow numpyKohya sdxl

Recommendations for Canny SDXL. Labels. A Kaggle NoteBook file to do Stable Diffusion 1. Reload to refresh your session. Sadly, anything trained on Envy Overdrive doesnt' work on OSEA SDXL model. r/StableDiffusion. ) After I added them, everything worked correctly. File "S:AiReposkohya_ss etworksextract_lora_from_models. i dont know whether i am doing something wrong, but here are screenshot of my settings. For training data, it is easiest to use a synthetic dataset with the original model-generated images as training images and processed images as conditioning images (the quality of the dataset may be problematic). These problems occur when attempting to train SD 1. Appeal for the Separation of SD 1. The magnitude of the outputs from the lora net will need to be "larger" to impact the network the same amount as before (meaning the weights within the lora probably will also need to be larger in magnitude). By watching. Ensure that it. BLIP is a pre-training framework for unified vision-language understanding and generation, which achieves state-of-the-art results on a wide range of vision-language tasks. true. Click to see where Colab generated images will be saved . ModelSpec is where the title is from, but note kohya also dumped a full list of all your training captions into metadata. Discussion. storage () and inp. 6 is about 10x slower than 21. A set of training scripts written in python for use in Kohya's SD-Scripts. OS= Windows. I have shown how to install Kohya from scratch. Saved searches Use saved searches to filter your results more quicklyRegularisation images are generated from the class that your new concept belongs to, so I made 500 images using ‘artstyle’ as the prompt with SDXL base model. Training at 1024x1024 resolution works well with 40GB of VRAM. Thanks to KohakuBlueleaf! If you want a more in-depth read about SDXL then I recommend The Arrival of SDXL by Ertuğrul Demir. Hi-res fix with R-ESRGAN (1. Here are the changes to make in Kohya for SDXL LoRA training⌚ timestamps:00:00 - intro00:14 - update Kohya02:55 - regularization images10:25 - prepping your. Noticed. You buy 100 compute units for $9. Available now on github:. I have tried the fix that was mentioned previously for 10 series users which worked for others, but haven't worked for me: 1 - 2. ai. The fine-tuning can be done with 24GB GPU memory with the batch size of 1. It's important that you don't exceed your vram, otherwise it will use system ram and get extremly slow. Dreambooth + SDXL 0. Writings. I was able to find the files online. Sadly, anything trained on Envy Overdrive doesnt' work on OSEA SDXL model. bruceteh95 commented on Mar 10. Oct 11, 2023 / 2023/10/11. It was updated to use the sdxl 1. I ha. 1K views 1 month ago Stable Diffusion. 5. 0) using Dreambooth. This is the Zero to Hero ComfyUI tutorial. Imo I probably could have raised the learning rate a bit but I was a bit conservative. I don't see having more than that as being bad so long as it is all the same thing that you are tring to train. Just an FYI. The documentation in this section will be moved to a separate document later. controllllite_v01032064e_sdxl_blur-anime_500-1000. 2. beam_search :This is a comprehensive tutorial on how to train your own Stable Diffusion LoRa Model Based on SDXL 1. kohya_controllllite_xl_scribble_anime. An introduction to LoRA's LoRA models, known as Small Stable Diffusion models, incorporate adjustments into conventional checkpoint models. Words that the tokenizer already has (common words) cannot be used. the main concern here is that base SDXL model is almost unusable as it can't generate any realistic image without apply that fake shallow DOF. Trying to train a lora for SDXL but I never used regularisation images (blame youtube tutorials) but yeah hoping if someone has a download or repository for good 1024x1024 reg images for kohya pls share if able. The author of sd-scripts, kohya-ss, provides the following recommendations for training SDXL: Please specify --network_train_unet_only if you caching the text encoder outputs. 右側にある. safetensord或Diffusers版模型的目录> --dataset. The best parameters. prepare dataset prepare accelerator [W . 1. How to Do SDXL Training For FREE with Kohya LoRA - Kaggle - NO GPU Required - Pwns Google Colab. Then this is the tutorial you were looking for. Unlike textual inversion method which train just the embedding without modification to the base model, Dreambooth fine-tune the whole text-to-image model such that it learns to bind a unique identifier with a specific concept (object or style). 0) sd-scripts code base update: sdxl_train. 何をするものか簡単に解説すると、SDXLを使って例えば1,280x1,920の画像を作りたい時、いきなりこの解像度を指定すると、体が長. 目前在 Kohya_ss 上面,僅有 Standard (Lora), Kohya LoCon 及 Kohya DyLoRa 支援分層訓練。. 4. 現時点ではunetのみの学習時に層別学習はエラーで使用できません。. I tried using the SDXL base and have set the proper VAE, as well as generating 1024x1024px+ and it only looks bad when I use my lora. 0. First Ever SDXL Training With Kohya LoRA - Stable Diffusion XL Training Will Replace Older Models SDXLで学習を行う際のパラメータ設定はKohya_ss GUIのプリセット「SDXL – LoRA adafactor v1. Anyone having trouble with really slow training Lora Sdxl in kohya on 4090? When i say slow i mean it. 🔥 Step-by-step guide inside! Boost your skills and make the most of FREE Kaggle resources! 💡 #Training #SDXL #Kaggle. Download Kohya from the main GitHub repo. Not a python expert but I have updated python as I thought it might be an er. 0 base model as of yesterday. This guide is not; A full, comprehensive, LoRA training tutorial. Good news everybody - Controlnet support for SDXL in Automatic1111 is finally here!. Good news everybody - Controlnet support for SDXL in Automatic1111 is finally here!. Join to Unlock. In the case of LoRA, it is applied to the output of down. 2. I think i know the problem. py の--network_moduleに networks. The extension sd-webui-controlnet has added the supports for several control models from the community. Higher is weaker, lower is stronger. Select the Training tab. In Kohya_ss GUI, go to the LoRA page. Now. Here's the paper if. py and uses it instead, even the model is sd15 based. 536. 7提供Basic Captioning, BLIP Captioning,Git Captioning,WD14 Captioning四种方法,当然还有其他方法,对我Kohya_ss GUI v21. Open comment sort options Best; Top; New; Controversial; Q&A; Add a Comment. 「Image folder to caption」に学習用の画像がある「100_zundamon girl」フォルダのパスを入力します。. SDXL LORA Training locally with Kohya - FULL TUTORIA…How to Train Lora Locally: Kohya Tutorial – SDXL. First you have to ensure you have installed pillow and numpy. Created November 14, 2023 03:39. Hi Bernard, do you have an example of settings that work for training an SDXL TI? All the info I can find is about training LORA and I'm more interested in training embedding with it. 500-1000: (Optional) Timesteps for training. 更新了 Kohya_ss 之後,有些地方的參數跟 GUI 其實不太一樣,這邊單純記錄一下,以免以後覺得哪裡怪怪的。 Kohya_ss 版本 目前的穩定版本是 v21. 1070 8GIG xencoders works fine in isolcated enveoment A1111 and Stable Horde setup. Example: --learning_rate 1e-6: train U-Net only--train_text_encoder --learning_rate 1e-6: train U-Net and two Text Encoders with the. You signed in with another tab or window. 0」をベースにするとよいと思います。 ただしプリセットそのままでは学習に時間がかかりすぎるなどの不都合があったので、私の場合は下記のようにパラメータを変更し. はじめに 多くの方はWeb UI他の画像生成環境をお使いかと思いますが、コマンドラインからの生成にも、もしかしたら需要があるかもしれませんので公開します。 Pythonで仮想環境を構築できるくらいの方を対象にしています。また細かいところは省略していますのでご容赦ください。 ※12/16 (v9. However, tensorboard does not provide kernel-level timing data. 5 context, which proves that 1. . 0. For example, if there is an image file. It's important that you don't exceed your vram, otherwise it will use system ram and get extremly slow. I didn't test it on kohya trainer but it accelerates significantly my training with Everydream2. After that create a file called image_check. You signed in with another tab or window. 30 images might be rigid. Skip buckets that are bigger than the image in any dimension unless bucket upscaling is enabled. Epochs is how many times you do that. You switched accounts on another tab or window. For running it after install run below command and use 3001 connect button on MyPods interface ; If it doesn't start at the first time execute againkohya-ss下载地址:AI模型仓库(SDXL模型下载地址):. Training on 21. py and sdxl_gen_img. . py is 1 with 24GB VRAM, with AdaFactor optimizer, and 12 for sdxl_train_network. 2xlarge. I've searched as much as I can, but I can't seem to find a solution. 5 Workflow Included Locked post. 5. Style Loras is something I've been messing with lately. Learn how to train LORA for Stable Diffusion XL (SDXL) locally with your own images using Kohya’s GUI. how can i add aesthetic loss and clip loss during training to increase the aesthetic score and clip score of the. kohya gui: challenging b/c I have a mac, and I also want to easily access compute to train faster than locally This short colab notebook : this one just opens the kohya gui from within colab, which is nice, but I ran into challenges trying to add sdxl to my drive and I also don't quite understand how, if at all, I would run the training scripts. Compared to 1. Many of the new models are related to SDXL, with several models for Stable Diffusion 1. NOTE: You need your Huggingface Read Key to access the SDXL 0. Despite this the end results don't seem terrible. py is a script for SDXL fine-tuning. I've been tinkering around with various settings in training SDXL within Kohya, specifically for Loras. Learn step-by-step how to install Kohya GUI and do SDXL Stable Diffusion X-Large training from scratch. 3. 10 in series: ≈ 7 seconds. This may be why Kohya stated with alpha=1 and higher dim, we could possibly need higher learning rates than before. There have been a few versions of SD 1. He must apparently already have access to the model cause some of the code and README details make it sound like that. I'm training a SDXL Lora and I don't understand why some of my images end up in the 960x960 bucket. 4 denoising strength. Contribute to kohya-ss/sd-scripts development by creating an account on GitHub. I am training with kohya on a GTX 1080 with the following parameters-. I use the Kohya-GUI trainer by bmaltais for all my models and I always rent a RTX 4090 GPU on vast. bat" as. I run it following their docs and the sample validation images look great but I’m struggling to use it outside of the diffusers code. I have had no success and restarted Kohya-ss multiple times to make sure i was doing it right. I'm running to completion with the SDXL branch of Kohya on an RTX3080 in Win10, but getting no apparent movement in the loss. 9 VAE throughout this experiment. Imo SDXL tends to live a bit in a limbo between an illustrative style and photorealism. 4. 0. . currently there is no preprocessor for the blur model by kohya-ss, you need to prepare images with an external tool for it to work. 0, v2. SDXL LoRA入門:GUIで適当に実行しよう. currently there is no preprocessor for the blur model by kohya-ss, you need to prepare images with an external tool for it to work. 皆さんLoRA学習やっていますか?. 400 is developed for webui beyond 1. 🔔 Version : Kohya (Kohya_ss GUI Trainer) Works with Checkpoint library. Images. 前回の記事では、Stable Diffusionモデルを追加学習するためのWebUI環境「kohya_ss」の導入法について解説しました。. 정보 SDXL 1. 15:45 How to select SDXL model for LoRA training in Kohya GUI. How to install #Kohya SS GUI trainer and do #LoRA training with Stable Diffusion XL (#SDXL) this is the video you are looking for. Similar to the above, do not install it in the same place as your webui. 0 base model as of yesterday. . He must apparently already have access to the model cause some of the code. py with the latest version of transformers. I'd appreciate some help getting Kohya working on my computer. 17:09 Starting to setup Kohya SDXL LoRA training parameters and settings. The Stable Diffusion v1 U-Net has transformer blocks for IN01, IN02, IN04, IN05, IN07, IN08, MID, OUT03 to OUT11. Please check it here. Network dropout. 1. 25 participants. Go to finetune tab. you are right but its sdxl vs sd1. 0 Alpha2. Important: adjust the strength of (overfit style:1. (Cmd BAT / SH + PY on GitHub) 1 / 5. 手順3:必要な設定を行う. Repeats + Epochs The new versions of Kohya are really slow on my RTX3070 even for that. py: error: unrecognized arguments: #. ago CometGameStudio Sdxl lora training with Kohya Question | Help Hi team Looks like the git below contains a version of kohya to train loras against sd xl? Did anyone. その作者であるkohya. 0 model and get following issue: Here are the command args used: Tried disabling some like caching latents etc. 774 MB LFS Upload 26 files 3 months ago; sai_xl_depth_128lora. 4. During this time, I’ve trained dozens of character LORAs with kohya and achieved decent results. I wonder how I can change the gui to generate the right model output. Use diffusers_xl_canny_full if you are okay with its large size and lower speed. py:2160 in cache_batch_latents │ │ │Hi sorry if it’s a noob question but is there any way yet to use SDXL to train models for portraits on a Google drive collab? I tried the Shivam Dreambooth_stable_diffusion. SDXL > Become A Master Of SDXL Training With Kohya SS LoRAs - Combine Power Of Automatic1111 & SDXL LoRAs . pip install pillow numpy. 1. Paid services will charge you a lot of money for SDXL DreamBooth training. 6. uhh whatever has like 46gb of Vram lol 03:09:46-196544 INFO Start Finetuning. Don't upscale bucket resolution: checked. 5 Model. 15 when using same settings. This option is useful to reduce the GPU memory usage. This workbook was inspired by the work of Spaceginner 's original Colab workbook and the Kohya. Utilities→Captioning→BLIP Captioningのタブを開きます。. In this case, 1 epoch is 50x10 = 500 trainings. py is a script for SDXL fine-tuning. I’ve trained a. The documentation in this section will be moved to a separate document later. My gpu is barely being touched while it is 100% in Automatic1111. 手順1:Stable Diffusion web UIとControlNet拡張機能をアップデートする. How Use Stable Diffusion, SDXL, ControlNet, LoRAs For FREE Without A GPU On. 2022: Wow, the picture you have cherry picked actually somewhat resembles the intended person, I think. • 4 mo. In Kohya_ss go to ‘ LoRA’ -> ‘ Training’ -> ‘Source model’. How to Do SDXL Training For FREE with Kohya LoRA - Kaggle - NO GPU Required - Pwns Google Colab ; Grandmaster Level Automatic1111 ControlNet Tutorial ; Zero to Hero ControlNet Tutorial: Stable Diffusion Web UI Extension | Complete Feature Guide ; More related tutorials will be added later sdxl: Base Model. vrgz2022 commented Aug 6, 2023. I trained a SDXL based model using Kohya. Low-Rank Adaptation of Large Language Models (LoRA) is a training method that accelerates the training of large models while consuming less memory. x models. Source GitHub Readme File ⤵️Contribute to bmaltais/kohya_ss development by creating an account on GitHub. Very slow Lora Sdxl training in Kohya_ss Question | Help Anyone having trouble with really slow training Lora Sdxl in kohya on 4090? When i say slow i mean it. Contribute to bmaltais/kohya_ss development by creating an account on GitHub. py will work. Now both Automatic1111 SD Web UI and Kohya SS GUI trainings are fully working with Gradio interface. In this tutorial you will master Kohya SDXL with Kaggle! 🚀 Curious about training Kohya SDXL? Learn why Kaggle outshines Google Colab! We will uncover the power of free Kaggle's dual GPU. protector111 • 2 days ago. safetensorsSDXL LoRA, 30min training time, far more versatile than SD1. pls bare with me as my understanding of computing is very weak. 9 loras with only 8GBs. When using Adafactor to train SDXL, you need to pass in a few manual optimizer flags (below. Really hope we'll get optimizations soon so I can really try out testing different settings. py now supports different learning rates for each Text Encoder. No milestone. 5, this is utterly preferential. 0. sdxlのlora作成はsd1系よりもメモリ容量が必要です。 (これはマージ等も同じ) ですので、1系で実行出来ていた設定ではメモリが足りず、より低VRAMな設定にする必要がありました。SDXLがサポートされました。sdxlブランチはmainブランチにマージされました。リポジトリを更新したときにはUpgradeの手順を実行してください。また accelerate のバージョンが上がっていますので、accelerate config を再度実行してください。 I will also show you how to install and use #SDXL with ComfyUI including how to do inpainting and use LoRAs with ComfyUI. For a few reasons: I use Kohya SS to create LoRAs all the time and it works really well. Next. Maybe this will help some folks that have been having some heartburn with training SDXL. Folder 100_MagellanicClouds: 7200 steps. Archer-Dante mentioned this issue. I asked fine tuned model to generate my image as a cartoon. 13:55 How to install Kohya on RunPod or on a Unix system. onnx; runpodctl; croc; rclone; Application Manager; Available on RunPod. Control LLLite (from Kohya) Now we move on to kohya's Control-LLLite. You need two things:│ D:kohya_ss etworkssdxl_merge_lora. thank you for valuable replyFirst Ever SDXL Training With Kohya LoRA - Stable Diffusion XL Training Will Replace Older Models ComfyUI Tutorial and Other SDXL Tutorials ; If you are interested in using ComfyUI checkout below tutorial ; ComfyUI Tutorial - How to Install ComfyUI on Windows, RunPod & Google Colab | Stable Diffusion SDXL Specifically, sdxl_train v. py --pretrained_model_name_or_path=<. Is a normal probability dropout at the neuron level. マージ後のモデルは通常のStable Diffusionのckptと同様に扱えます。When trying to sample images during training, it crashes with traceback (most recent call last): File "F:Kohya2sd-scripts. Reload to refresh your session. In Image folder to caption, enter /workspace/img. Suggested Strength: 1 to 16. 22; sd_xl_base_1. Click to open Colab link . to search for the corrupt files i extracted the issue part from train_util. 396 MBControlNetXL (CNXL) - A collection of Controlnet models for SDXL. Kohya Tech - @kohya_tech @kohya_tech - Nov 14 - [Attached photos] Yesterday, I tried to find a method to prevent the composition from collapsing when generating high resolution images. can specify `rank_dropout` to dropout. Full tutorial for python and git. Step 1 — Create Amazon SageMaker notebook instance and open a terminal. Running this sequence through the model will result in indexing errors. Kohya_ss 的分層訓練. edit: Same exact training in Automatic1111 TEN times slower with kohya_ss,. Here are the settings I used in Stable Diffusion: model:htPohotorealismV417. edit: I checked, yes it's ModelSpec, and also Kohya-ss metadata. こんにちはとりにくです。. こんにちは。あるいは、こんばんは。 8月にStable Diffusionを入れ直して、LoRA学習環境もリセットされてしまいましたので、今回は異なるツールを試してみました。 最近、Stable Diffusion Web UIのアップデート版が公開されていたようで、更新してみました。 本題と異なりますので読み飛ばして. Started playing with SDXL + Dreambooth. By supporting me with this tier, you will gain access to all exclusive content for all the published videos. 19it/s (after initial generation). Tick the box that says SDXL model. Kohya Fails to Train LoRA. With Kaggle you can do as many as trainings you want. Recommended setting: 1. 0 will look great at 0. I set up the following folders for any training: img: This is where the actual image folder (see sub-bullet) will go: Under image, create a subfolder with following format: nn_triggerword class. 8. sdxl_train. ","," " NEWS: Colab's free-tier users can now train SDXL LoRA using the diffusers format instead of checkpoint as a pretrained model. 5 model and the somewhat less popular v2. Hey guys, just uploaded this SDXL LORA training video, it took me hundreds hours of work, testing, experimentation and several hundreds of dollars of cloud GPU to create this video for both beginners and advanced users alike, so I hope you enjoy it. py and uses it instead, even the model is sd15 based. 16:31 How to access started Kohya SS GUI instance via publicly given Gradio link. SDXL学習について. py is a script for Textual Inversion training for SDXL. . 24GB GPU, Full training with unet and both text encoders. py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. runwayml/stable-diffusion-v1-5. image grid of some input, regularization and output samples. py でも同様に OFT を指定できます。 ; OFT は現在 SDXL のみサポートしています。 Kohya SS is a Python library that provides Stable Diffusion-based models for image, text, and audio generation tasks. 0. First Ever SDXL Training With Kohya LoRA - Stable Diffusion XL Training Will Replace Older Models - Full Tutorial. For 8GB~16GB vram (including 8GB vram), the recommended cmd flag is "--medvram-sdxl". forward_of_sdxl_original_unet. caption extension and the same name as an image is present in the image subfolder, it will take precedence over the concept name during the model training process. like 53. x. py is a script for SDXL fine-tuning. pth kohya_controllllite_xl_depth_anime. 2 MB LFS thanks to lllyasviel. Now you can set any count of images and Colab will generate as many as you set On Windows - WIP Prerequisites . 5 be separated from SDXL in order to continue designing and creating our CPs or Loras. admittedly cherrypicked results and not perfect still, but for a. 30:25 Detailed explanation of Kohya SS training. Yesterday I woke up to this Reddit post "Happy Reddit Leak day" by the Joe Penna. My cpu is AMD Ryzen 7 5800x and gpu is RX 5700 XT , and reinstall the kohya but the process still same stuck at caching latents , anyone can help me please? thanks. Because right now training on SDXL base, while Lora look great, lack of details and the refiner remove the likeness of the Lora currently. SDXLの学習を始めるには、sd-scriptsをdevブランチに切り替えてからGUIの更新機能でPythonパッケージを更新してください。. My Train_network_config. I was trying to use Kohya to train a LORA that I had previously done with 1. Improve gen_img_diffusers. there are much more settings on Kohyas side that make me think we can create better TIs here then in WebUI. Reply reply HomeIts APIs can change in future. SDXL training. results from my korra SDXL test loha. The input image is: meta: a dog on grass, photo, high quality Negative prompt: drawing, anime, low quality, distortionEnvy recommends SDXL base. The first attached image is 4 images normally generated at 2688x1536, and the second image is generated by applying the same seed. 手順2:必要なモデルのダウンロードを行い、所定のフォルダに移動する. When I attempted to use it with SD. After instalation is done you can run UI with . In this tutorial, we will use a cheap cloud GPU service provider RunPod to use both Stable Diffusion Web UI Automatic1111 and Stable Diffusion trainer Kohya SS GUI to train SDXL LoRAs. For running it after install run below command and use 3001 connect button on MyPods interface ; If it doesn't start at the first time execute againI've fix this modifying sdxl_model_util. Greeting fellow SDXL users! I’ve been using SD for 4 months and SDXL since beta. Envy's model gave strong results, but it WILL BREAK the lora on other models. You can use my custom RunPod template to. 8. Tried to allocate 20. wkpark:model_util-update. ダウンロードしたら任意のフォルダに解凍するのですが、ご参考までに私は以下のようにCドライブの配下に置いてみました。. Anyone having trouble with really slow training Lora Sdxl in kohya on 4090? When i say slow i mean it. 5. I've been using a mix of Linaqruf's model, Envy's OVERDRIVE XL and base SDXL to train stuff. │ 5 if ': │. 2 MB LFS Upload 5 files 3 months ago; sai_xl_canny_128lora. 另外. I keep getting train_network. I had the same issue and a few of my images where corrupt. ai. currently there is no preprocessor for the blur model by kohya-ss, you need to prepare images with an external tool for it to work. py : load_models_from_sdxl_checkpoint code. Outputs will not be saved. The usage is almost the same as fine_tune. For 24GB GPU, the following options are recommended: Train U-Net only. Follow the setting below under LoRA > Tools > Deprecated > Dreambooth/LoRA Folder preparation and press “Prepare. 8. 36. 1. sh. This seems to give some credibility and license to the community to get started. 5 Dreambooth training I always use 3000 steps for 8-12 training images for a single concept. If this is 500-1000, please control only the first half step. if model already exist it. . How to install. 私はそこらへんの興味が薄く、とりあえず雑に自分の絵柄やフォロワの絵柄を学習させてみて満足していたのですが、ようやく. This might be common knowledge, however, the resources I. For activating venv open a new cmd window in cloned repo, execute below command and it will workControlNetXL (CNXL) - A collection of Controlnet models for SDXL. Most images were on DreamShaper XL A2 in A1111/ComfyUI. toyssamuraion Jul 19. 16:31 How to save and load your Kohya SS training configuration After uninstalling the local packages, redo the installation steps within the kohya_ss virtual environment. The fine-tuning can be done with 24GB GPU memory with the batch size of 1. Kohya-ss scripts default settings (like 40 repeats for the training dataset or Network Alpha at 1) are not ideal for everyone. 在 kohya_ss 上,如果你要中途儲存訓練的模型,設定是以 Epoch 為單位而非以Steps。 如果你設定 Epoch=1,那麼中途訓練的模型不會保存,只會存最後的. I haven't had a ton of success up until just yesterday. kohya_ss supports training for LoRA, Textual Inversion but this guide will just focus on the Dreambooth method. py:176 in │ │ 173 │ args = train_util. To access UntypedStorage directly, use tensor. com) Hobolyra • 2 mo. Use kohya_controllllite_xl_canny if you need a small and faster model and can accept a slight change in style. 46. Kohya uses their own LoRA format, I use the "native" format provided by diffusers. py (for LoRA) has --network_train_unet_only option. This option cannot be used with options for shuffling or dropping the captions.