Comments (13)
It is not supported at the moment. The closest you can do it to use the config.toml file to specify those folders as part of the config… I can add support for more of those in the future if useful
from kohya_ss.
Thanks for your reply - is it possible to fill the 5 fields within the "Dataset preparation" tab also via JSON config? If so, which dictionary keys to use? Thank you so much
from kohya_ss.
Not at the moment but I should be able to add it easily enough.
from kohya_ss.
OK... I think I have it working:
Will push it to the dev
branch... simply uncomment the dataset_preparation section and set the values to the desired defaults.
from kohya_ss.
OK, pushed, give it a try.
from kohya_ss.
Thank you so much - but this is only for the TOML Config, right? Or is it also accessible via JSON? Because as I wrote, I have everything configured JSON right now - I gotta see if I either convert it to TOML, or how I'll cope with it.
BTW: Passing a Config File (TOML or JSON) via CMD when starting KOHYA GUI is also not yet possible, right?
Thank you very much!
from kohya_ss.
Correct. At the moment the toml file is always config.toml.
from kohya_ss.
I pushed an update to the dev branch that will allow you to specify a --config <file path>
option when starting the GUI. FOr example:
.\gui.bat --config "./config example.toml"
This will load the configuration from the example config file. You can point to any filename in any filepath.
from kohya_ss.
I also started to expand the parameters you can set via the config.toml file... slowly making progress... The goal is that all values can be set using the config file
from kohya_ss.
Awesome to hear, thanks!
Gotta switch to TOML soon :) (right now I have a Python script which modifies the config.json - hence I should rewrite it to support TOML files as well). Because both your changes really simplify things again.
One more question:
What do you think about supporting a "sequence of trainings" with some sort of scheduler? Actually Im looking for a way to change repeats, and basemodels and only start the process once - and let all the trainings run sequentially. Why would I wanna do it? Well, because I wanna let my PC / RunPod run on full speed without having to check the status and start the next training every few hours. That would be awesome
I would actually only need a multi training for different base-models, repeats, not for advanced parameters. But I do understand that others might want different stuff. And supporting a real "job scheduler" where people can configure everything might be tough to implement, I dont know!?
from kohya_ss.
For the sequencing there is no plan to support that… you can use the print option to capture the training command and pot those in a script you can then run without the gui…
The toml is not re replacement for training json files. Rather, it is there to specify custom default values for the GUI elements… training g json are still needed to save the training configuration.
from kohya_ss.
I'm not talking about the training json files in the training output folder.
I'm talking about my JSON config which defines all the Training parameters for the GUI!
The way I assumed it is: Either TOML or JSON can be used. I mean, obviously importing my config.json with predefined modelname, model checkpoint path, epoch, save_every etc works - so must be implemented as an alternative to TOML!?
from kohya_ss.
TOML is a human friendly format an better suited for humans. I chose that for the GUI defaults for that reason. One could convert the json parameters to toml for use as an input but it is not really meant for that. But you could write a python script just to do that.
from kohya_ss.
Related Issues (20)
- BLIP 2 Caption Issue
- Problem while installing: error: metadata-generation-failed HOT 6
- Docker Compose not functional HOT 1
- Can't install - Gradio won't install HOT 3
- Subject: Issue with Loading State Dictionary for UNet2DConditionModel HOT 2
- Having problems training with Error: ValueError: torch.cuda.is_available() HOT 6
- How do i fix this error?
- "Stop TE (% of total steps)" being passed as-is (dreambooth SD1)
- Cant open bat file HOT 11
- Training issues HOT 1
- Model train causes TypeError issue HOT 10
- Flux.1 LoRA training HOT 351
- kohya_ss无法训练 HOT 9
- Please Help with sudden error while training lora model! HOT 2
- Latest Windows 11 update broke Kohya's VRAM usage HOT 3
- [BUG] Can't Resume Training if "DoRA Weight Decompose" is checked HOT 2
- SD1.5 Training Error HOT 2
- SDXL training error failure on caching latents HOT 2
- Flux prompt changes fail
- Sponsorship and Contact Request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.