ComfyUI LORA training workflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Comfy-UI Workflow for training LO
    This workflow allows you to train a model on a certain style or on a certain object. which makes it possible to show consistent results
    #comfyui #stablediffusion #ipadapter #mask #Relighting
    follow me @ / pixeleasel
    Mix Any Style - video and workflow
    • ComfyUI Any Style comb...
    workflow
    drive.google.c...
    Image-Captioning-in-ComfyUI
    github.com/Lar...
    Lora-Training-in-Comfy
    github.com/Lar...
    ComfyUI-WD14-Tagger
    github.com/pyt...

ความคิดเห็น • 69

  • @thatguy9528
    @thatguy9528 3 หลายเดือนก่อน +8

    Nice that you can explain that in 5 min while every other TH-camr babbles on and on.

    • @antoinedon9160
      @antoinedon9160 2 หลายเดือนก่อน +1

      yeah they try to milk their 30 fucking minutes. fuck that. this guy is a genius

  • @lefourbe5596
    @lefourbe5596 4 หลายเดือนก่อน +2

    FINALY A LOAR training ❤in comfyUi ! lov it ;)

  • @Snoods
    @Snoods หลายเดือนก่อน +3

    THis doesn't work for a lot of people and its to do with some sort of python issues, about all i know... but it seems to be more that the person in the video knows about the issues people are having.

  • @slimop
    @slimop หลายเดือนก่อน +1

    bro u help alot thank u hope u the best man

    • @PixelEasel
      @PixelEasel  หลายเดือนก่อน

      more than welcome 🙏

    • @slimop
      @slimop หลายเดือนก่อน

      @@PixelEasel plz i have problem say:
      Error occurred when executing LoRA Caption Load:
      cannot access local variable 'image1' where it is not associated with a value

  • @theironneon
    @theironneon หลายเดือนก่อน +4

    Been trying for days, doesnt work at all, error this and that, need more info about the error

  • @HashibiraInosuke
    @HashibiraInosuke 15 วันที่ผ่านมา +1

    Everything is working except the lora export, its nowhere to be found. Any help is appreciated!

  • @jolyonn5619
    @jolyonn5619 17 วันที่ผ่านมา +2

    the node needs an update, it seems its no longer working for anyone

    • @---Nikita--
      @---Nikita-- 11 วันที่ผ่านมา

      agreed

  • @Voyajer.
    @Voyajer. 12 วันที่ผ่านมา +1

    broke my comfyui install. AMD users, you need to reinstall the proper pytorch rocm version after adding the extensions because one of them installs the cuda version.

  • @typogram4297
    @typogram4297 4 หลายเดือนก่อน +2

    I waited for this tutorial for a long time. Thank you 🙏. Can I train embeddings in the same way? If not can you please make tutorial for train embedding in comfyui?

    • @PixelEasel
      @PixelEasel  4 หลายเดือนก่อน +1

      thanks!, i'll make one on embedding

  • @yavuzselimarslan2961
    @yavuzselimarslan2961 3 หลายเดือนก่อน +5

    I installed it and comfyui doesn't work anymore,

    • @PixelEasel
      @PixelEasel  2 หลายเดือนก่อน

      did u try to update?

    • @trsd8640
      @trsd8640 2 หลายเดือนก่อน +1

      Same here. This workflow wrecked my ComfiUI installation.

    • @thatguy9528
      @thatguy9528 27 วันที่ผ่านมา

      Same. Now I need to reinstall Comfi and it's not the first time this node has given me this result.

    • @Rachelcenter1
      @Rachelcenter1 24 วันที่ผ่านมา

      Same

  • @DJVARAO
    @DJVARAO 4 หลายเดือนก่อน

    Thanks! 😁

  • @ramirocoloma8096
    @ramirocoloma8096 2 หลายเดือนก่อน

    I love your model! have you made it available for us? i would love to make a short film with it! 🙏🙏🙏

  • @Lastnamefirstname289
    @Lastnamefirstname289 4 หลายเดือนก่อน +1

    Can you show me the background change for portrait? Not product.
    It’s a bit hard for me to imply nice light and shadow

    • @PixelEasel
      @PixelEasel  4 หลายเดือนก่อน

      i'm not sure what do you mean

    • @Lastnamefirstname289
      @Lastnamefirstname289 4 หลายเดือนก่อน

      @@PixelEasel Can you change the background of a portrait photo for me? Not for a product. When I do it, the shadows and lighting look awkward.

  • @madmed6672
    @madmed6672 4 หลายเดือนก่อน +3

    hey guys, i'd appreciate some help, i've repeated the steps, been able to caption etc, but when i queue the training, it executes very fast and i'm not able to find the lora file in the loras directory, even tho i specified it, any assistance is much appreciated!

    • @PixelEasel
      @PixelEasel  4 หลายเดือนก่อน +1

      Hi, this usually happens, the folder path is not set correctly, note that in the training node you need to set the folder that contains the data set folder

    • @MatthewHardyMusical
      @MatthewHardyMusical 3 หลายเดือนก่อน +2

      I selected the folder that contains the data set folder and still have the same issue. It runs in seconds and doesn’t produce a LoRA file.

    • @fotszyrzk79
      @fotszyrzk79 2 หลายเดือนก่อน

      @@MatthewHardyMusical I have the same problem. did you solve it?

    • @MatthewHardyMusical
      @MatthewHardyMusical 2 หลายเดือนก่อน +1

      @@fotszyrzk79 ​ I was able to use Comfy to caption my photos but I couldn't get it to make the LoRA. Kohya doesn't work on my Mac so I tried Draw Things to create my LoRA but I'm not happy with the results.

    • @fotszyrzk79
      @fotszyrzk79 2 หลายเดือนก่อน

      @@MatthewHardyMusical Thanks, it is sad :(. For me it's been two full day struggle with this to work... I think I'll pass and check Kohya instead.

  • @DelondialLottracus
    @DelondialLottracus 10 วันที่ผ่านมา

    Another broken workflow. Do ANY of the SDXL trainers work anymore for comfy?

  • @Wreck_Crimes
    @Wreck_Crimes 4 หลายเดือนก่อน +2

    Lora Doesn't appear and train

  • @sdgtr4
    @sdgtr4 11 วันที่ผ่านมา +1

    not working

  • @ZedZero-z7e
    @ZedZero-z7e 2 หลายเดือนก่อน

    Great write-up, but something broke since you posted it. I keep getting the following on a fresh install of ComfyUI and all the nodes you suggested. Error appears in training, labelling works just fine:
    ModuleNotFoundError: No module named 'accelerate'

    • @PixelEasel
      @PixelEasel  2 หลายเดือนก่อน

      not sure why, but pay attention to the folder name and the path of the folder

    • @windows13zumba-od7lu
      @windows13zumba-od7lu หลายเดือนก่อน

      אני סובל מאותה שגיאה.. פתרת את זה?

    • @theironneon
      @theironneon หลายเดือนก่อน

      Upgrade python to v3.12.x

  • @TheStoryteller-xyz
    @TheStoryteller-xyz 4 หลายเดือนก่อน

    it doesn't work, i got this error:
    cannot access local variable 'image1' where it is not associated with a value

    • @MaghrabyANO
      @MaghrabyANO 3 หลายเดือนก่อน

      Same here, any solution?

    • @MaghrabyANO
      @MaghrabyANO 3 หลายเดือนก่อน +1

      I figured it out bro, you need only PNG format, you cant use JPEG or any other format, a 3 letter image format, preferably png.

    • @TheStoryteller-xyz
      @TheStoryteller-xyz 3 หลายเดือนก่อน

      @@MaghrabyANO thx a lot bro, now i have many other errors XD, gonna give up lora training on comfy

    • @MaghrabyANO
      @MaghrabyANO 3 หลายเดือนก่อน

      @@TheStoryteller-xyz same :D tell me what error maybe i can help

    • @TheStoryteller-xyz
      @TheStoryteller-xyz 3 หลายเดือนก่อน

      @@MaghrabyANO raise RuntimeError('Error(s) in loading state_dict for {}:
      \t{}'.format(
      RuntimeError: Error(s) in loading state_dict for CLIPTextModel:
      Unexpected key(s) in state_dict: "text_model.embeddings.position_ids".

  • @dennischo2140
    @dennischo2140 4 หลายเดือนก่อน +1

    Hey~ Spelling mistake on the subject title~

    • @PixelEasel
      @PixelEasel  4 หลายเดือนก่อน

      thx!

  • @MatiasRabaglia
    @MatiasRabaglia 3 หลายเดือนก่อน

    Can this work as product placement using the same data training ?

  • @kobiverbrater6061
    @kobiverbrater6061 3 หลายเดือนก่อน

    got the error "Error occurred when executing LoRA Caption Load". Any solutions?

    • @PixelEasel
      @PixelEasel  3 หลายเดือนก่อน

      the most important thing, is the folder path, and the name of the data folder, check it again

    • @VuTCNguyenArtist
      @VuTCNguyenArtist 26 วันที่ผ่านมา

      @@PixelEasel My problem with WD14 Tagger node, maybe the node I used was different, it only takes ONE image at a time... so when Lora Caption Load sends a list of file to it, it broke... I had to use another node in between to send each file to the WD14 Tagger

  • @ismgroov4094
    @ismgroov4094 4 หลายเดือนก่อน

    nice sir, resect you.

  • @blademarketing
    @blademarketing หลายเดือนก่อน

    יפה מאוד, זה יעבוד לי גם ל FLUX ?

  • @mr.entezaee
    @mr.entezaee 3 หลายเดือนก่อน

    ModuleNotFoundError: No module named 'transformers.modeling_outputs'

    • @PixelEasel
      @PixelEasel  2 หลายเดือนก่อน +1

      Ensure you have the transformers library installed and updated to the latest version. You can do this by running: pip install --upgrade transformers

    • @mr.entezaee
      @mr.entezaee 2 หลายเดือนก่อน

      @@PixelEasel ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      datasets 2.13.1 requires dill=0.3.0, which is not installed.
      yolov5 7.0.13 requires seaborn>=0.11.0, which is not installed.
      optimum 1.18.0 requires transformers[sentencepiece]=4.26.0, but you have transformers 4.42.3 which is incompatible.

  • @SedidNewEnvironment
    @SedidNewEnvironment 2 หลายเดือนก่อน

    I have this error:
    Lora-Training-in-Comfy/sd-scripts/train_network.py
    The following values were not passed to `accelerate launch` and had defaults used instead:
    `--num_processes` was set to a value of `1`
    `--num_machines` was set to a value of `1`
    `--mixed_precision` was set to a value of `'no'`
    `--dynamo_backend` was set to a value of `'no'`

  • @DDBM2023
    @DDBM2023 4 หลายเดือนก่อน

    I got error message like this: The following values were not passed to `accelerate launch` and had defaults used instead:
    `--num_processes` was set to a value of `1`
    `--num_machines` was set to a value of `1`
    `--dynamo_backend` was set to a value of `'no'`
    To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
    E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
    torch.utils._pytree._register_pytree_node(
    Do you know how to fix? Thank you!

    • @PixelEasel
      @PixelEasel  4 หลายเดือนก่อน

      nop, ill try to search for an answer

    • @---Nikita--
      @---Nikita-- 2 หลายเดือนก่อน

      @@PixelEasel same here. Any news?

  • @MaghrabyANO
    @MaghrabyANO 3 หลายเดือนก่อน

    I got an error saying: Error occurred when executing LoRA Caption Save:
    list index out of range on the LoRA Caption Save node, any help? @pixeleasel

    • @PixelEasel
      @PixelEasel  3 หลายเดือนก่อน

      You have to pay close attention to the path of the folder, and the name given to the folder, it should be in this format 1_name

  • @windows13zumba-od7lu
    @windows13zumba-od7lu หลายเดือนก่อน

    work with SDXL?