Print unet config when model isn't detected.

This commit is contained in:
comfyanonymous 2023-08-13 01:39:48 -04:00
parent 8c730dc4a7
commit 585a062910
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ def model_config_from_unet_config(unet_config):
if model_config.matches(unet_config): if model_config.matches(unet_config):
return model_config(unet_config) return model_config(unet_config)
print("no match", unet_config)
return None return None
def model_config_from_unet(state_dict, unet_key_prefix, use_fp16): def model_config_from_unet(state_dict, unet_key_prefix, use_fp16):