fix: PreviewBridgeLatent

- ignore latent mismatch if vae_opt is given
This commit is contained in:
Dr.Lt.Data
2024-06-16 15:23:34 +09:00
parent f7205868a1
commit 8cfc91b05a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ class PreviewBridgeLatent:
latent_channels = latent['samples'].shape[1]
preview_method_channels = 16 if 'SD3' in preview_method or 'SC-Prior' in preview_method else 4
if latent_channels != preview_method_channels:
if vae_opt is None and latent_channels != preview_method_channels:
print(f"[PreviewBridgeLatent] The version of latent is not compatible with preview_method.\nSD3, SD1/SD2, SDXL, SC-Prior, and SC-B are not compatible with each other.")
raise Exception("The version of latent is not compatible with preview_method.<BR>SD3, SD1/SD2, SDXL, SC-Prior, and SC-B are not compatible with each other.")
+1 -1
View File
@@ -1,7 +1,7 @@
import configparser
import os
version_code = [5, 13, 1]
version_code = [5, 13, 2]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
dependency_version = 21
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-impact-pack"
description = "This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
version = "5.13.1"
version = "5.13.2"
license = "LICENSE"
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]