mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-16 04:49:35 +08:00
Compare commits
No commits in common. "97f58baaaf89e2232b735fab2a3f2d4e24d134c3" and "b633244635e577e199944cd4f027df79afa16dbf" have entirely different histories.
97f58baaaf
...
b633244635
@ -1,2 +1,2 @@
|
|||||||
# Admins
|
# Admins
|
||||||
* @comfyanonymous @kosinkadink @guill @alexisrolland @rattus128
|
* @comfyanonymous @kosinkadink @guill
|
||||||
|
|||||||
@ -342,12 +342,6 @@ 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", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"):
|
if frame.format.name in ("yuvj420p", "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.65
|
comfyui-workflow-templates==0.9.63
|
||||||
comfyui-embedded-docs==0.4.4
|
comfyui-embedded-docs==0.4.4
|
||||||
torch
|
torch
|
||||||
torchsde
|
torchsde
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user