How to Bring Portraits to Life Using AI | ComfyUI LivePortrait Tutorial

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 72

  • @MDMZ
    @MDMZ  Месяц назад +11

    Few tips:
    1- if you encounter this error: [Errno 2] No such file or directory....Download these models bit.ly/3LrGFVx
    and place under ComfyUI\models\liveportrait\base_models (you'll need to create the base_models folder)
    2- You can actually use a non-square video, I recommend you use an image with the same aspect ratio
    if you come across other issues, please comment below👇or head over to my discord for more help: bit.ly/4bRF0DB

    • @Omniversal-Entertainment
      @Omniversal-Entertainment Месяц назад

      Brother, thank you for this. Grateful I found this comment

    • @borisrin3775
      @borisrin3775 Месяц назад

      Hi there, I fixed several errors but in the end after installing inswapper_128.onnx manually I still got this error AttributeError: 'INSwapper' object has no attribute 'taskname'
      Cannot move beyond that, please help

    • @MDMZ
      @MDMZ  Месяц назад

      @@borisrin3775 hey, at which part did you decide you needed to install inswapper_128.onnx manually ? I don't remember having to do that

    • @borisrin3775
      @borisrin3775 Месяц назад

      @@MDMZ in insightface troubleshooting it says to ake it if you have another error (that I also had) so I downloaded it and was able to move to next node where I got this mistake( I went through 3 different tutorials to no avail

    • @MDMZ
      @MDMZ  Месяц назад

      @@borisrin3775 can you share your workflow and the input files on discord? i will look into it

  • @DwaynePaisleyMarshall
    @DwaynePaisleyMarshall Месяц назад +1

    Anyone else getting
    Error occurred when executing LivePortraitNode:
    Torch not compiled with CUDA enabled

  • @richayadav5114
    @richayadav5114 Месяц назад +1

    Please make more tutorials on this for videos as well, this is truly amazing

    • @MDMZ
      @MDMZ  Месяц назад

      More to come!

  • @3ull
    @3ull Месяц назад +1

    This is pure awesome. Thank you!

    • @MDMZ
      @MDMZ  Месяц назад

      You're very welcome!

  • @lakshayyadav676
    @lakshayyadav676 Месяц назад +1

    Man this is awesome, drop more sauce like this.

    • @MDMZ
      @MDMZ  Месяц назад

      Thanks! Will do!

  • @davimak4671
    @davimak4671 Месяц назад +1

    thanks, bro. Make vid2vid version, please, it will be good continue

  • @mckoringa
    @mckoringa Месяц назад +1

    Top

    • @MDMZ
      @MDMZ  Месяц назад

      🙏

  • @123playwright
    @123playwright Месяц назад +1

    Need the v2v tutorial....that stuff is juicy

    • @MDMZ
      @MDMZ  Месяц назад

      Noted!

  • @CoreyMcKinneyJr_CMJR
    @CoreyMcKinneyJr_CMJR 26 дней назад

    Why is there always one node missing :(
    the Liveportraitnode stays red and when i install and update that node with the manager and restart it still comes out red. I followed the directions. idk what i did :(

    • @alirezakhademi6093
      @alirezakhademi6093 20 дней назад +1

      same here

    • @MGKday
      @MGKday 17 дней назад

      Same here, tried to update, install again the module, but doesn't work... Unsure what to do.

    • @MGKday
      @MGKday 17 дней назад

      So it looks as if the repo is down, or have a python conflict in local machine. But this module in particular cannot be installed properly. If anyone finds a solution please share

  • @user-jn5pi6zc6q
    @user-jn5pi6zc6q Месяц назад

    Hello! Please tell me how to fix the error.
    (Error occurred when executing LivePortraitProcess:
    LivePortraitProcess.process() missing 1 required positional argument: 'crop_info')
    Thank you

    • @MDMZ
      @MDMZ  Месяц назад

      hi, I didnt come across this one yet, check the pinned comment

    • @user-jn5pi6zc6q
      @user-jn5pi6zc6q Месяц назад

      @@MDMZ Thanks for your reply. Your scheme works.
      Have a nice day.Thanks for your reply. Your scheme works.
      Have a nice day.

  • @leoboy_bharat
    @leoboy_bharat Месяц назад

    Hey Brother... I did the same but I'm facing this error - 'NoneType' object is not subscriptable
    I dont know how to counter it... tried reinstalling older transformers (someone on reddit advised ) but that didn't help

    • @MDMZ
      @MDMZ  Месяц назад

      can you share the video and image you're trying to use as input? drop them on discord

  • @orionconstellation2
    @orionconstellation2 25 дней назад

    the missing nodes doesnt show in the manager, how i fix this?

    • @MDMZ
      @MDMZ  18 дней назад

      make sure your comfyui is up to date

  • @urcnncdkk2293
    @urcnncdkk2293 Месяц назад

    I’m looking for video clips with different facial expressions from your videos, please.

  • @IamalegalAlien
    @IamalegalAlien Месяц назад

    I don't need a video with changing expressions; I need a photo with a changed expression. Is this also possible?

    • @MDMZ
      @MDMZ  Месяц назад

      I think you're describing what the video is about, did you watch ?

    • @IamalegalAlien
      @IamalegalAlien Месяц назад

      Yes I watched, Currently, when you input a face photo and a video with different facial expressions, the output is a video, right?
      What I'm asking is if you can input a face photo and another photo with a different facial expression, can the output be a photo with the changed facial expression?

  • @vanmanson7387
    @vanmanson7387 Месяц назад +1

    Please please please do a video to video workflow!

    • @MDMZ
      @MDMZ  Месяц назад +1

      noted!

  • @syntartica
    @syntartica Месяц назад

    MDMZ Thank you! Is it possible to film yourself with the webcam and move the avatar in real time?

    • @MDMZ
      @MDMZ  Месяц назад

      I haven't explored that yet, i'm sure something like that will be available soon, if not already

  • @michaldemcak
    @michaldemcak Месяц назад

    velmi komplikovane

  • @Wish_Vlad
    @Wish_Vlad Месяц назад

    Error occurred when executing LivePortraitNode:
    No face detected in the source image!
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 65, in map_node_over_list
    results.append(getattr(obj, func)(**input_data_all))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\live_portrait.py", line 382, in run
    live_portrait_pipeline.execute(args)
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\LivePortrait\src\live_portrait_pipeline.py", line 83, in execute
    crop_info = self.cropper.crop_single_image(img_rgb,src_face=crop_info)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\User\Downloads\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
    odes\LivePortrait\src\utils\cropper.py", line 137, in crop_single_image
    raise Exception("No face detected in the source image!")

    • @MDMZ
      @MDMZ  Месяц назад +1

      the error says "No face detected in the source image!"

  • @Maltebyte2
    @Maltebyte2 Месяц назад

    I pressed Clear button and everything is different now! how do i get this setup back?

    • @MDMZ
      @MDMZ  Месяц назад

      simply re-import the workflow

  • @Antilopax
    @Antilopax Месяц назад

    This is a great tutorial! Thank you so much! But I have one question: What is the advantage of using Comfy UI with Life Portrait? Why not just Life Portrait itself?

    • @MDMZ
      @MDMZ  Месяц назад +1

      it's really just a choice, there are many people like me who have comfyui and like using it, you can also customize the workflow to your liking and get much more creative

  • @namithkumar9987
    @namithkumar9987 Месяц назад +1

    We need tutorial Bro❤❤❤❤

    • @MDMZ
      @MDMZ  Месяц назад

      You're watching it 😂

  • @BryantTrejo432
    @BryantTrejo432 12 дней назад

    Can I do this but with a live video camera?

    • @MDMZ
      @MDMZ  8 дней назад

      there are few solutions that you can use for that, maybe i will cover it on my channel

  • @tonymak1214
    @tonymak1214 Месяц назад

    Can Mac do this? Or what spec pc can make it work?

    • @MDMZ
      @MDMZ  Месяц назад

      Installing comfyui and getting it to work on mac is very tricky, that being said some people do manage to get it to work, but i heard it's very slow, if you plan to use it much, u almost definitely need and nvidia gpu

  • @Ceeed100
    @Ceeed100 Месяц назад

    Hey I saw a lot of people having the settings for eyeretargeting etc in the LIVEPortrait Process tab. But I don't have this setting with webcam^^

    • @MDMZ
      @MDMZ  Месяц назад +1

      they were probably using a different workflow, will see if i can make videos on more advanced use cases of LivePortrait

    • @Ceeed100
      @Ceeed100 Месяц назад

      @@MDMZ Yeah thx^^ but I will wait until there is a way to get it to run in realtime with webcam. The auto queing already works good but it's not usable for streams etc. At least for now :D

  • @Wish_Vlad
    @Wish_Vlad Месяц назад

    Thanks for great video tutorial!!! But, i have some errors...

    • @MDMZ
      @MDMZ  Месяц назад +1

      hi, check the pinned comment

  • @REVELLIOM
    @REVELLIOM Месяц назад

    Bro, Change your youtube cover to CR7 screenshot and you sure get more views!

    • @MDMZ
      @MDMZ  Месяц назад

      U mean the thumbnail ? I'm running an A/B test, the cr7 version isn't really winning 😅

  • @nenu_Ne_Neurons
    @nenu_Ne_Neurons Месяц назад

    NoneType' object is not subscriptable , Any one?

    • @MDMZ
      @MDMZ  Месяц назад

      can u share more info on discord? including your workflow and input files

  • @pawansahurj21
    @pawansahurj21 Месяц назад

    How to make in mobile please one more video

  • @mikemarx9360
    @mikemarx9360 Месяц назад

    Buddy, you know your links don't work?

    • @MDMZ
      @MDMZ  Месяц назад +1

      they work for me, plz try another browser and lmk

  • @salt806
    @salt806 Месяц назад

    Could make a tutorial for Mac users?

    • @MDMZ
      @MDMZ  Месяц назад +1

      I avoided covering this on the channel because it doesn't always work for everyone, i dont recommend running comfyui on a mac

  • @Vanced2Dua
    @Vanced2Dua Месяц назад

    Can you share workflow file json

    • @MDMZ
      @MDMZ  Месяц назад +1

      hey, I explain where to find it in the video

  • @ping3488
    @ping3488 10 дней назад

    To complicated

    • @MDMZ
      @MDMZ  8 дней назад

      one of the simplest comfyUI workflows out there