Closed jokero3answer closed 3 months ago
@kijai
Same problem
Same problem
same problem
Same problem
https://github.com/KwaiVGI/LivePortrait/blob/main/src/utils/resources/mask_template.png Copy this to the corresponding place, everyone, it's fixed for me
this is different repo, also what is this mystery corresponding place ?
Obviously the src/utils are the exact place here. Just copy this png to your alert in https://github.com/kijai/ComfyUI-LivePortraitKJ/tree/main/liveportrait/utils/resources.
@YacratesWyh Many Thanks ! It Works !
OK man that was it, wow... hey the png in this repo is borked and corrupted, it makes the whole code collapse so when you copy it from that other repo - it works D:\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortrait\liveportrait\utils\resources
Yeah this is defo not png https://github.com/kijai/ComfyUI-LivePortraitKJ/blob/main/liveportrait/utils/resources/mask_template.png
This makes no sense, I haven't touched the PNG since initial upload and it's worked for others, very weird. I'm away for a while but I'll look at it later.
I face the same error, It looks like a Git LFS issue when cloning the repo:
git clone https://github.com/kijai/ComfyUI-LivePortraitKJ
Cloning into 'ComfyUI-LivePortraitKJ'...
remote: Enumerating objects: 128, done.
remote: Counting objects: 100% (128/128), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 128 (delta 36), reused 95 (delta 15), pack-reused 0
Receiving objects: 100% (128/128), 56.53 KiB | 2.17 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Downloading assets/examples/driving/d0.mp4 (3.0 MB)
Error downloading object: assets/examples/driving/d0.mp4 (63f6f99): Smudge error: Error downloading assets/examples/driving/d0.mp4 (63f6f9962e1fdf6e6722172e7a18155204858d5d5ce3b1e0646c150360c33bed): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Errors logged to ComfyUI-LivePortraitKJ/.git/lfs/logs/20240705T125710.208442011.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: assets/examples/driving/d0.mp4: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
As a result, all the files stored in LFS are not fetched correctly.
This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
@kijai :-)
https://github.com/KwaiVGI/LivePortrait/blob/main/src/utils/resources/mask_template.png Copy this to the corresponding place, everyone, it's fixed for me
That works for me
this is different repo, also what is this mystery corresponding place ?
Obviously the src/utils are the exact place here. Just copy this png to your alert in https://github.com/kijai/ComfyUI-LivePortraitKJ/tree/main/liveportrait/utils/resources. It's solved,Thanks.
Fixed in #16 you can redownload the repo
So to elaborate what happened: The original repo had marked all the media files to use LFS, which I honestly have never used so I was unaware, people cloning this repo filled my quota hard:
Thus after it was full it failed to download the media files, which included the mask_template.png, causing cv2 to error out when receiving empty image.
Diagnostics-1720161440.log