ComfyUI Fundamentals - Face Restoration

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • A tutorial covering the use of face restoration nodes and how to get them working, includes Impact Pack's face detailer and ReActor face swapping node.
    Discord:
    Join the community, friendly people, advice and even 1 on 1 tutoring is available.
    / discord
    workflow: drive.google.c...

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

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

    can´t thank you enough, 4 videos in and you kicked the door in towards understanding.

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

      :D happy to help

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

    Worth noting for beginners - the impact face detailler is part of a much large suite, the idea is when you pass a prompt you pass the POS and NEG conditionner for the FACE not for the whole image, otherwise you may get odd results. With this tool you can change clothing, too, in the same fashion, by reprompting on specific masks created by the 'detectors' (think of them as magic wand selectors in photoshop).

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

    The only channel where I force myself to watch the ads for revenue

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

      lol, i dont even get paid by google for ads, not yet anyway.

  • @Maisonier
    @Maisonier 5 หลายเดือนก่อน +2

    Amazing video! liked, shared and subscribed.

  • @AIAngelGallery
    @AIAngelGallery ปีที่แล้ว +1

    Thx, i respect u as my valuable teacher

  • @One_Stale_Donut
    @One_Stale_Donut ปีที่แล้ว +1

    Very useful and in-depth tutorials, thank you.

  • @is0sceles
    @is0sceles 11 หลายเดือนก่อน +2

    Incredible and extremely helpful, thank you!

  • @RuliKoto
    @RuliKoto ปีที่แล้ว +1

    Very comprehensive and Very helpful as always, thanks for the video 🤟

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

    something happened to Face Restore model and reactor? they appear missing even when installed

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

      try updating comfyUI and all your other nodes then restart your server and web browser. some people dont realise you have to restart the browser window to get new nodes to show up.
      If thats not the issue then im not sure I can help, unfortunately debugging custom nodes isn't something I can help with, the comfyUI reddit is pretty good at that though.

  • @APCOAG
    @APCOAG ปีที่แล้ว +1

    Great work, Thanks a lot for sharing this.

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

    I wish installing reactor wasn't such a train wreck. I've been at it for hours and it's just a mess.

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

      yeah, i had trouble with it then too, I don't use it much now, instead I just use stuff like codeformer and gpfgann, there really needs to be a better face replacer thats open source.

  • @Bolstered
    @Bolstered ปีที่แล้ว

    Thank you, great guide and workflow!

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

    As always, the best video on comfyui, thanks @Ferniclestix

  • @KratomSyndicate
    @KratomSyndicate ปีที่แล้ว +2

    getting FaceRestoreWithModel box is red, I have the retinaface_resnet50 is in the box, and I noticed in cmd missing {'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids'} , I downloaded all .pth and models, on civitai also,

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      you have an upscale model attached to it?

    • @APCOAG
      @APCOAG ปีที่แล้ว

      FaceRestoreWithModel is saved as upscaler and it requires upscaler_model..

    • @APCOAG
      @APCOAG ปีที่แล้ว

      @@ferniclestix FaceRestoreWithModel is saved as upscaler and it requires upscaler_model.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      sadly in future im probably going to caveat that I can't help debug custom nodes, people are going to have to go to the appropriate github pages with those issues.

  • @ecateau
    @ecateau ปีที่แล้ว +1

    Great tuto, very useful, thanks..

  • @hindihits9260
    @hindihits9260 ปีที่แล้ว +2

    please also make one for using multiple loras and how to use the LoraStacker node.. Thank you :)

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      sure, ill take a look at lorastacker in the next couple of days, im fairly sure you can just connect lora in series by the way, just put them between the model and cliptext.

    • @hindihits9260
      @hindihits9260 ปีที่แล้ว

      @@ferniclestix yeah but that's kind of annoying and confusing when working with large workflows that build pretty quickly.. so I'm curious about LoraStacker

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      th-cam.com/video/WFgf1I1aBxs/w-d-xo.html here, i had a look XD

  • @ArielBenichou
    @ArielBenichou ปีที่แล้ว

    Another good one!
    Embedding could be very interesting to know how to make work.
    In general, as a beginner I would like to see a quick guide of what is the difference between all the "models" in the comfyUI folder, hypernetworks, lora, embedding, lycoris, etc etc...
    thanks

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      mmm, wouldn't be all that useful to most people that one though. Loaders automatically point to the relevant folder.

    • @ArielBenichou
      @ArielBenichou ปีที่แล้ว

      @@ferniclestix well thanks anyway :D

  • @dougmaisner
    @dougmaisner ปีที่แล้ว +1

    great tutorial!

  • @sea_ftw
    @sea_ftw ปีที่แล้ว +1

    Is there a good solution for the resolution problem with Reactor/roof and SDXL?
    Guess the model those solutions use is just too lowres, so you don't get good results with the new higher resolutions SDXL provides. Faces always have less resolution than the rest of the image.
    Also the face mask seems to include part of the hair most of the time, which also gets lowres by the process.
    You can add additional steps with base or refiner afterwards, but if you use enough steps to fix the low resolution, the effect of roof is almost gone.
    Are there similar models with higher resolutions from other developers or could we implement the model with Facedetailer (instead of a text input), which at least allows more accurate image masks.
    Otherwise a good overview - found the same solutions when doing my research.

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

    Good one, but the Reactor face swap won't open for me. There seems to be a bug around that node.

    • @ferniclestix
      @ferniclestix  10 หลายเดือนก่อน +2

      ive had issues with it before as well, suggest heading to the reactor github page and checking if there is a specific bug there may be a solution, if not you can post there and they might be able to help you out.
      unfortunately due to the variability in comfyui installs, I can't really help much if a custom node is breaking for you. just make sure your comfyUI is fully up to date and your custom node is also up to date, and post whatever errors it throws up on the relevant github page.

  • @renderartist
    @renderartist ปีที่แล้ว +1

    Thanks! 👍🏼

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

    thanks so much !!!!!!!!!

  • @MrHannessie
    @MrHannessie ปีที่แล้ว

    Fantastic vid!!!

  • @mikelaing8001
    @mikelaing8001 ปีที่แล้ว

    i've inatalled ReActor but it doens't show when i load up comfyui. Impact is fine though, but it's the face swap i needed. running it on colab

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      have you checked out the github page for reactor? they fixed alot of the issues they did have.

  • @RiiahTV
    @RiiahTV ปีที่แล้ว +1

    hey love your work! i run into a issue when i upload your json files. it says i do.t have reactor notes. but i have it installed in the manager.why?

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      Reactor can be dificult to install, go to thier github page (you can click on the node name in manager to go there) there are some install instructions that may help if you are having issues. also obviously make sure you have restarted your server and browser after installing any custom nodes.

    • @RiiahTV
      @RiiahTV ปีที่แล้ว

      im going to try it again now
      @@ferniclestix

  • @loiclemarrec8467
    @loiclemarrec8467 ปีที่แล้ว

    The new version of Facedetailed is different from the one used in the video, there are 3 more options, "Guide_size_for", "noise_mask" and "force_inpaint". it blocks the rendering, because they are not connected and I don't know how to do it.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      huh, ill look into this for you.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      these are supposed to be widgets not inputs. right click on your node and switch them back to widgets, maybe they got accidently changed by accident.

  • @tilbill4129
    @tilbill4129 ปีที่แล้ว

    Thanks vor your work. Sadly i have big troubles with the node. install seems to be brocken. i have to reinstall comfy:(

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      ahh that sucks, yeah, ive had to reinstall comfy... twice now? while installing custom nodes.
      Sadly, I cant really teach how to python because im absolutely crap at it lol. I've fumbled my way through some fixes though, mostly its a result of nodes installing the wrong version of modules, conflicting with eachother or just plain installing to the wrong place. sigh, its so fiddly.

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

    Couldn't get reactor face swap to install correctly for ComfyUI. When I run its install.bat, it whines about Cython not being installed. Open source software really can be a mess sometimes lol

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

      true, if you have major issues, its a good idea to post any errors on the nodes github bug report thing, best way to get fixes and responses. sadly one of the things I can't really help much with is when a custom node doesnt work... you know, because it works for me so without knowing the ins and outs of the node and python cant really delve into it to find problems.

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

      @@ferniclestix thanks nonetheless

  • @PixelPoetryxIA
    @PixelPoetryxIA ปีที่แล้ว

    Amazing video! Could you make some tutorials about batch i2i for making animations from a real video?

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +3

      animations are on the list, not for a while though, ive got to do a couple other tutorials first... probably prompts then compositing, then I might be up for either animaton or an indepth tutorial on impact pack.

  • @donkeyplay
    @donkeyplay ปีที่แล้ว

    Awesome video again, I'm getting a "Error occurred when executing MMDetDetectorProvider: No module named 'gradio'" error, just wondering if this is some easy setting I have wrong or something.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      hmmm... looks like maybe impact pack has an install issue? mmdetectorprovider is an impact pack node. I've had plenty of errors but not this one before.

    • @donkeyplay
      @donkeyplay ปีที่แล้ว

      @@ferniclestix Thanks but it's something basic I think, it's happening when it tries to load any type of upscale model now. I 've had it before I think but...🤬

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      could be an install bug with gradio too, its a module in python so... maybe you have system path issues or something. I had issues liek that aaages ago, ended up reinstalling windows to make it shut up XD

  • @MasculineIndulgence
    @MasculineIndulgence ปีที่แล้ว

    needs a section on procuring the nodes first though, some links would be even lovelier

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      mm, I struggle with installing nodes sometimes, I generally stay away from the topic of how to get them going because in all honesty, I succckk at python and getting it to do what I say. I don't feel confident giving advice about installing nodes because of this and its so tedious debugging them when they break. Ill always now just say use ComfyUI manager and visit the relevant github page if it messes up.

    • @MasculineIndulgence
      @MasculineIndulgence ปีที่แล้ว

      @@ferniclestix ohhh, I get you, no worries big homie💯

    • @MasculineIndulgence
      @MasculineIndulgence ปีที่แล้ว

      @@ferniclestix how do you do multiple control nets i need it for a project. plz help

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      efficiency nodes has a node called control net stacker that can make it easier but you can connect them in series although you may have to balance the strength to get it to apply sanely.

  • @MM-qd2hw
    @MM-qd2hw ปีที่แล้ว

    FaceRestoreWithModel always error.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      many of the face restore nodes have issues. It's a result of using the portable install of comfyUI.
      the standards for comfyUI node makers arent high and many forget to add the possibility of embedded python or system python being options for comfyUI and sometimes hardcode installs to the wrong place. or when trying to install we mess it up by installing modules to the wrong place.

  • @Top5Ulke
    @Top5Ulke ปีที่แล้ว

    reactor is not coming help please

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      I'd need more of an explanation to help out

  • @avinashu118
    @avinashu118 ปีที่แล้ว

    thank you for this video ,i have one request , is it possible to make a video using cut-off region node by blender neko

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      Ill look into it, got a few things already lined up tutorial wise though.

    • @avinashu118
      @avinashu118 ปีที่แล้ว

      no problem ☺@@ferniclestix

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      th-cam.com/video/ZZ1bc5T094s/w-d-xo.html there, had a look, make sure your sampler is set to normal scheduler :P

    • @avinashu118
      @avinashu118 ปีที่แล้ว

      @@ferniclestix thank you so much for this.
      I was really struggling with this node.
      I didnt think the scheduler would be the culprit here😄.
      I tried to make it very complex, say for example, i tried to make an image having a family of 4 with different dressing styles with different colors, no matter what i did the colors would bleed into each other horribly.
      I am going to try it again, but this time change the scheduler.
      Thank you once again for this😊
      Thanks again

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว +1

      Np let me know if it doent stick, ill take a deeper look.

  • @ManosDanger
    @ManosDanger ปีที่แล้ว

    Im having trouble finding the VAE. Can anyone provide a link? :)

    • @ManosDanger
      @ManosDanger ปีที่แล้ว

      And also retinaface_resnet50 :(

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      I got it off hugging face but as its a non-standard version it may have been overwritten, there are a few different versions, the one im using is 'supposed' to reduce some artifacting, the vae that comes embedded with SDXL base should generally be fine.

    • @ManosDanger
      @ManosDanger ปีที่แล้ว

      @@ferniclestix Thank you. I got that part working I am happy to report. Any plans to maybe make a video about how to faceswap with roop?

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      technically reactor is a 'roop like' in that it is based on roop. I've tried to get roop nodes working but most are pretty busted.

    • @ManosDanger
      @ManosDanger ปีที่แล้ว

      @@ferniclestix Yeah, Ive had problems with roop. It wont even show up on Webui, just errors. I have been playing around with softwares like Deepfacelab and Faceswap but that stuff takes alot of time. Would it be possible for you to do a video on faceswapping in Stable Diffusion?

  • @BosmanKats
    @BosmanKats ปีที่แล้ว

    hi, great videos so far. I'm having trouble installing ReActorfaceswap, something during installation that wheel could not be build, Cython module is missing?

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      yeah, hang on, i got you fam, github.com/Gourieff/comfyui-reactor-node - down the bottom under troubleshooting, it tells you what to do. although the page is terrible at telling you.
      Visual Studio or VS C++ Build Tools needs to be installed. There is a prebuilt option although I'm not sure how to install it to comfyUI, so its better jsut to install visual studio and make sure you install the python and C++ module

    • @BosmanKats
      @BosmanKats ปีที่แล้ว

      ​@@ferniclestix hmm, still doesn't work. Problem appears to be Insightface (ModuleNotFoundError: No module named 'insightface'). Perhaps I'll try another method for faceswap.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      trust me, this is the fix, you need to install visual studio, I know this because I had the exact same error and thats what fixed it for me. ( think I also reinstalled the reactor node after I installed visual studio.

    • @BosmanKats
      @BosmanKats ปีที่แล้ว

      @@ferniclestix nope, did do the install end reinstalled reactor node, still an insightface error, and the reactor node won't start. Additionally it says: Error: OpenAI API key is invalid OpenAI features wont work for you. Is this related. Sorry, I am not very good at this Pythonstuff.

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      Im afraid I can't really walk you through a fix, I can only tell you what fixed it for me :( I think I had to do a module install using pip as well, I went to the node that reactor is based on and followed parts of those install instructions.
      Open AI key bug is from having the quality of life nodes and won't affect anything. Its to do with some of the prompt AI tools it uses (gpt and stuff) it needs the key so it can use gpt for prompting... mostly useless tbh, I ignore it.
      This is where I found the stuff that fixed my Reactor github.com/Gourieff/sd-webui-reactor - its part of the non comfyUI one, but the person who made the comfyUI version didn't bother doing a proper install instructions.

  • @Caleb-qr6lo
    @Caleb-qr6lo ปีที่แล้ว

    Stargate!

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      XD watching the series in chronological order.

  • @Irokz
    @Irokz ปีที่แล้ว

    when i try installing the thing, i have this error : module 'cv2.gapi.wip.draw' has no attribute 'Text'

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      you'll have to be more specific about what thing you refer to, haven't had this error myself, although error's in modules are usually due to an installation issue like not following install instructions correctly.

  • @bAEtman.
    @bAEtman. ปีที่แล้ว

    Great tutorial. Where did you get the face restore models like GFPAN or 4x-ultrasharp. Please share a link. Thanks

    • @ferniclestix
      @ferniclestix  ปีที่แล้ว

      ahh huggingface.co and you gotta kinda hunt for them. theres also civitai I think I got mine through the EasyDiffusion installer which lets you ez install it in settings somewhere... like aaaaages ago. 4x ultrasharp was definately hugging face, and it can be a real pain to find.
      Sorry I don't have links handy because my memory is that of a gold fish