Comments (7)
The dev branch is using the new sd-scripts dev branch version of sd-scripts... so it must have been introduced as part of the new sd-scripts code that got added to it.
from kohya_ss.
I just tested training a TI with sd1.5 using my test json file ./test/config/TI-AdamW8bit.json
and it ran. Can you test it? It should also work for you.
The namespace error appear to be something wrong with the latest training script of @kohya-ss part of his sd-scripts repo code base. I can't fix that one.
from kohya_ss.
AttributeError: 'Namespace' object has no attribute 'disable_mmap_load_safetensors'
I'm only getting this error on the dev branch. Is that the version you're running?
Switching to the current master or v24.1.4 seems to start TI training at least.
......
0 train images with repeating.
...
No data found. Please verify arguments / 画像がありません。引数指定を確認してください
That means your image folders aren't set up correctly.
Do your subfolders follow the naming scheme of repeats_word class
where "repeats" is a number?
And the path you're using for the image folder, named 10
, seems off.
E:\\studio Dropbox\\studio\\ai\\data\\styles\\style_baroque\\3training\\training_b4r0que\\10
from kohya_ss.
@bmaltais @b-fission OK, working!
I was missing the folder structure for the dataset with repeats_word class
. Thanks for that. I thought that was only for dreambooth.
This is one of my captions. Given that my class is architecture and my dataset folder runs 5_b4r0que architecture, is this caption correct, with the trigger. Here's an image:
b4r0que, a photo of architectural interior, grand hallway, classical architecture, intricate floor mosaic, arched doorways, domed ceilings, marble walls, ornate columns, recessed wall panels, decorative friezes, subdued natural lighting, long perspective view, symmetrical composition, historic building, high detail finish, elegance, opulence
Just not sure the class is being mentioned twice is a good thing. Or should I drop the trigger in the caption
Thanks
from kohya_ss.
@bmaltais @b-fission
And yes it is now working on master branch.
Any chance you will merge dev as I was hoping to continue using the wandb log you recently added to dev
from kohya_ss.
Regarding this error for TI training in the dev branch...
AttributeError: 'Namespace' object has no attribute 'disable_mmap_load_safetensors'
Uncommenting this line should fix it: https://github.com/kohya-ss/sd-scripts/blob/bfb352bc433326a77aca3124248331eb60c49e8c/sdxl_train_textual_inversion.py#L126
from kohya_ss.
@b-fission will go this way until dev gets merged. thanks!
from kohya_ss.
Related Issues (20)
- 49 sec/it on 4090 HOT 3
- ValueError: Key backend: 'module://matplotlib_inline.backend_inline' is not a valid value for backend HOT 1
- assert abs_path is not None, f"no image / 画像がありません: {image_key}" HOT 1
- Didn't change anything, Lora training spits out non-zero exit status 1 json error? HOT 1
- ValueError: Too many values to unwrap (expected 2)...how to fix
- {Help} Network Rank Slider and No Half VAE checkbox is not showing up in my Kohya_ss after Installation. HOT 1
- AttributeError: 'NoneType' object has no attribute 'dtype' HOT 2
- Additional Parameters "Scheduler args" NOT Saved in Toml file AND NOT passed HOT 8
- No json files on training HOT 4
- WD14 Tagger Not Recognizing CUDA After Update? HOT 12
- sdxl training HOT 4
- unable to train sdxl lora using runpod training stops without throwing error HOT 2
- pip install argument might be passed incorrectly HOT 2
- latent cache error RuntimeError: NaN detected in latents
- missing options in Dreambooth training HOT 17
- The second GPU can't be used
- getting an error for using optimizer
- Very crazy mistake! When I want to train, it reports an error! I don't know where the problem is! Can you help me? HOT 1
- Confusing sample results when training Lora HOT 4
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.