From d40f7efa32dbde0e59a0dd7ca851d7d4b0b9c24b Mon Sep 17 00:00:00 2001 From: kijai Date: Fri, 24 Nov 2023 01:59:23 +0200 Subject: [PATCH] h w... w h? makes more sense to me --- comfyui_svd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfyui_svd.py b/comfyui_svd.py index 930206b..3ebf1bb 100644 --- a/comfyui_svd.py +++ b/comfyui_svd.py @@ -125,7 +125,7 @@ class SVDimg2vid: w, h = image.shape[2], image.shape[1] if h % 64 != 0 or w % 64 != 0: - raise ValueError(f"SVD: ERROR: Your image is of size {h}x{w} which is not divisible by 64") + raise ValueError(f"SVD: ERROR: Your image is of size {w}x{h} which is not divisible by 64") #since this is so memory intensive, try to get everything free comfy.model_management.cleanup_models() @@ -159,7 +159,7 @@ class SVDimg2vid: shape = (num_frames, C, H // F, W // F) if (H, W) != (576, 1024): print( - "WARNING: The conditioning frame you provided is not 576x1024. This leads to suboptimal performance as model was only trained on 576x1024. Consider increasing `cond_aug`." + "WARNING: The conditioning frame you provided is not 1024x576. This leads to suboptimal performance as model was only trained on 1024x576. Consider increasing `cond_aug`." ) if motion_bucket_id > 255: print(