Giter Club home page Giter Club logo

Comments (7)

bmaltais avatar bmaltais commented on July 17, 2024 1

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.

bmaltais avatar bmaltais commented on July 17, 2024

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.

b-fission avatar b-fission commented on July 17, 2024

@rafstahelin

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.

rafstahelin avatar rafstahelin commented on July 17, 2024

@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

baroque-000

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.

rafstahelin avatar rafstahelin commented on July 17, 2024

@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.

b-fission avatar b-fission commented on July 17, 2024

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.

rafstahelin avatar rafstahelin commented on July 17, 2024

@b-fission will go this way until dev gets merged. thanks!

from kohya_ss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.