mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-27 09:27:24 +08:00
Compare commits
4 Commits
b633244635
...
97f58baaaf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97f58baaaf | ||
|
|
e8e8fee224 | ||
|
|
e9c311b245 | ||
|
|
e6e0936128 |
@ -1,2 +1,2 @@
|
|||||||
# Admins
|
# Admins
|
||||||
* @comfyanonymous @kosinkadink @guill
|
* @comfyanonymous @kosinkadink @guill @alexisrolland @rattus128
|
||||||
|
|||||||
@ -342,6 +342,12 @@ def model_lora_keys_unet(model, key_map={}):
|
|||||||
key_map["base_model.model.{}".format(key_lora)] = k # Official base model loras
|
key_map["base_model.model.{}".format(key_lora)] = k # Official base model loras
|
||||||
key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = k # LyCORIS/LoKR format
|
key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = k # LyCORIS/LoKR format
|
||||||
|
|
||||||
|
if isinstance(model, comfy.model_base.ErnieImage):
|
||||||
|
for k in sdk:
|
||||||
|
if k.startswith("diffusion_model.") and k.endswith(".weight"):
|
||||||
|
key_lora = k[len("diffusion_model."):-len(".weight")]
|
||||||
|
key_map["transformer.{}".format(key_lora)] = k
|
||||||
|
|
||||||
return key_map
|
return key_map
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -290,7 +290,7 @@ class VideoFromFile(VideoInput):
|
|||||||
alphas = []
|
alphas = []
|
||||||
alpha_channel = True
|
alpha_channel = True
|
||||||
break
|
break
|
||||||
if frame.format.name in ("yuvj420p", "rgb24", "rgba", "pal8"):
|
if frame.format.name in ("yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"):
|
||||||
process_image_format = lambda a: a.float() / 255.0
|
process_image_format = lambda a: a.float() / 255.0
|
||||||
if alpha_channel:
|
if alpha_channel:
|
||||||
image_format = 'rgba'
|
image_format = 'rgba'
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
comfyui-frontend-package==1.42.15
|
comfyui-frontend-package==1.42.15
|
||||||
comfyui-workflow-templates==0.9.63
|
comfyui-workflow-templates==0.9.65
|
||||||
comfyui-embedded-docs==0.4.4
|
comfyui-embedded-docs==0.4.4
|
||||||
torch
|
torch
|
||||||
torchsde
|
torchsde
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user