StableGen icon indicating copy to clipboard operation
StableGen copied to clipboard

"Value not in list: control_net_name" for ControlNets in subfolders

Open 3dmindscapper opened this issue 1 year ago • 6 comments

i get this error after selecting my controlnet and my model. even if i rename the models to match what it is looking for i still get it saying it has not found said name even if i can see it inside the list.

Log

got prompt Failed to validate prompt for output 25:

  • ControlNetLoader 201:
    • Value not in list: control_net_name: 'sdxl_promax.safetensors' not in ['Flux\FLUX.1-dev-ControlNet-Union-Pro-2.0.safetensors', 'SDXL\xinsir-controlnet-union-sdxl-1.0-promax.safetensors', 'instantid\diffusion_pytorch_model.safetensors', 'motion\controlnet_checkpoint.ckpt', 'motion\motion_checkpoint_less_motion.ckpt', 'motion\motion_checkpoint_more_motion.ckpt', 'motion\t2i-adapter-depth-midas-sdxl-1.0.safetensors', 'sd1.5\control_lora_rank128_v11f1e_sd15_tile_fp16.safetensors', 'sd1.5\control_sd15_canny.pth', 'sd1.5\control_sd15_depth.pth', 'sd1.5\control_sd15_normal.pth', 'sd1.5\control_v11f1e_sd15_tile.bin', 'sd1.5\control_v11f1p_sd15_depth_fp16.safetensors', 'sd1.5\control_v11p_sd15_canny_fp16.safetensors', 'sd1.5\control_v11p_sd15_inpaint_fp16.safetensors', 'sd1.5\control_v11p_sd15_normalbae_fp16.safetensors', 'sd1.5\control_v11p_sd15_openpose_fp16.safetensors', 'sd1.5\control_v1p_sd15_qrcode_monster_v2.safetensors', 'sd1.5\controlnetQRPatternQR_v2Sd15.safetensors', 'sd1.5\t2iadapter_style_sd14v1.pth']
  • CheckpointLoaderSimple 6:
    • Value not in list: ckpt_name: 'dreamshaperXLTurbo.safetensors' not in ['PartField\Partfield.ckpt', 'Partfield.ckpt', 'RetroDiffusion\RetroDiffusion128xModel.safetensors', 'RetroDiffusion\RetroDiffusion16xModel.safetensors', 'RetroDiffusion\RetroDiffusion24x-64xModel.safetensors', 'ltx video\ltxv-2b-0.9.6-distilled-04-25.safetensors', 'sd1_5\dreamshaper_8.safetensors', 'sd1_5\photon_v1.safetensors', 'sd1_5\realismByStableYogi_sd15V9LCM.safetensors', 'sdxl\BEST MODELS\Juggernaut_RunDiffusionPhoto2_Lightning_4Steps.safetensors', 'sdxl\BEST MODELS\dreamshaperXLTurbo.safetensors', 'sdxl\BEST MODELS\juggernautXL.safetensors', 'sdxl\BEST MODELS\realvisxlV50.safetensors', 'sdxl\Lightning and turbo models\juggernautXL_juggXILightningByRD.safetensors', 'sdxl\ilustration and comics\Illustrious-XL-v2.0.safetensors', 'svd_image_decoder.safetensors']
  • LoraLoader 26:
    • Value not in list: lora_name: 'sdxl_lightning_8step_lora.safetensors' not in (list of length 92) Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} got prompt Failed to validate prompt for output 25:
  • ControlNetLoader 201:
    • Value not in list: control_net_name: 'sdxl_promax.safetensors' not in ['Flux\FLUX.1-dev-ControlNet-Union-Pro-2.0.safetensors', 'SDXL\sdxl_promax.safetensors', 'instantid\diffusion_pytorch_model.safetensors', 'motion\controlnet_checkpoint.ckpt', 'motion\motion_checkpoint_less_motion.ckpt', 'motion\motion_checkpoint_more_motion.ckpt', 'motion\t2i-adapter-depth-midas-sdxl-1.0.safetensors', 'sd1.5\control_lora_rank128_v11f1e_sd15_tile_fp16.safetensors', 'sd1.5\control_sd15_canny.pth', 'sd1.5\control_sd15_depth.pth', 'sd1.5\control_sd15_normal.pth', 'sd1.5\control_v11f1e_sd15_tile.bin', 'sd1.5\control_v11f1p_sd15_depth_fp16.safetensors', 'sd1.5\control_v11p_sd15_canny_fp16.safetensors', 'sd1.5\control_v11p_sd15_inpaint_fp16.safetensors', 'sd1.5\control_v11p_sd15_normalbae_fp16.safetensors', 'sd1.5\control_v11p_sd15_openpose_fp16.safetensors', 'sd1.5\control_v1p_sd15_qrcode_monster_v2.safetensors', 'sd1.5\controlnetQRPatternQR_v2Sd15.safetensors', 'sd1.5\t2iadapter_style_sd14v1.pth']
  • CheckpointLoaderSimple 6:
    • Value not in list: ckpt_name: 'dreamshaperXLTurbo.safetensors' not in ['PartField\Partfield.ckpt', 'Partfield.ckpt', 'RetroDiffusion\RetroDiffusion128xModel.safetensors', 'RetroDiffusion\RetroDiffusion16xModel.safetensors', 'RetroDiffusion\RetroDiffusion24x-64xModel.safetensors', 'ltx video\ltxv-2b-0.9.6-distilled-04-25.safetensors', 'sd1_5\dreamshaper_8.safetensors', 'sd1_5\photon_v1.safetensors', 'sd1_5\realismByStableYogi_sd15V9LCM.safetensors', 'sdxl\BEST MODELS\Juggernaut_RunDiffusionPhoto2_Lightning_4Steps.safetensors', 'sdxl\BEST MODELS\dreamshaperXLTurbo.safetensors', 'sdxl\BEST MODELS\juggernautXL.safetensors', 'sdxl\BEST MODELS\realvisxlV50.safetensors', 'sdxl\Lightning and turbo models\juggernautXL_juggXILightningByRD.safetensors', 'sdxl\ilustration and comics\Illustrious-XL-v2.0.safetensors', 'svd_image_decoder.safetensors']
  • LoraLoader 26:
    • Value not in list: lora_name: 'sdxl_lightning_8step_lora.safetensors' not in (list of length 92) Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} got prompt Failed to validate prompt for output 25:
  • ControlNetLoader 201:
    • Value not in list: control_net_name: 'controlnet_depth_sdxl.safetensors' not in ['Flux\FLUX.1-dev-ControlNet-Union-Pro-2.0.safetensors', 'SDXL\xinsir-controlnet-union-sdxl-1.0-promax.safetensors', 'instantid\diffusion_pytorch_model.safetensors', 'motion\controlnet_checkpoint.ckpt', 'motion\motion_checkpoint_less_motion.ckpt', 'motion\motion_checkpoint_more_motion.ckpt', 'motion\t2i-adapter-depth-midas-sdxl-1.0.safetensors', 'sd1.5\control_lora_rank128_v11f1e_sd15_tile_fp16.safetensors', 'sd1.5\control_sd15_canny.pth', 'sd1.5\control_sd15_depth.pth', 'sd1.5\control_sd15_normal.pth', 'sd1.5\control_v11f1e_sd15_tile.bin', 'sd1.5\control_v11f1p_sd15_depth_fp16.safetensors', 'sd1.5\control_v11p_sd15_canny_fp16.safetensors', 'sd1.5\control_v11p_sd15_inpaint_fp16.safetensors', 'sd1.5\control_v11p_sd15_normalbae_fp16.safetensors', 'sd1.5\control_v11p_sd15_openpose_fp16.safetensors', 'sd1.5\control_v1p_sd15_qrcode_monster_v2.safetensors', 'sd1.5\controlnetQRPatternQR_v2Sd15.safetensors', 'sd1.5\t2iadapter_style_sd14v1.pth']
  • CheckpointLoaderSimple 6:
    • Value not in list: ckpt_name: 'dreamshaperXLTurbo.safetensors' not in ['PartField\Partfield.ckpt', 'Partfield.ckpt', 'RetroDiffusion\RetroDiffusion128xModel.safetensors', 'RetroDiffusion\RetroDiffusion16xModel.safetensors', 'RetroDiffusion\RetroDiffusion24x-64xModel.safetensors', 'ltx video\ltxv-2b-0.9.6-distilled-04-25.safetensors', 'sd1_5\dreamshaper_8.safetensors', 'sd1_5\photon_v1.safetensors', 'sd1_5\realismByStableYogi_sd15V9LCM.safetensors', 'sdxl\BEST MODELS\Juggernaut_RunDiffusionPhoto2_Lightning_4Steps.safetensors', 'sdxl\BEST MODELS\dreamshaperXLTurbo.safetensors', 'sdxl\BEST MODELS\juggernautXL.safetensors', 'sdxl\BEST MODELS\realvisxlV50.safetensors', 'sdxl\Lightning and turbo models\juggernautXL_juggXILightningByRD.safetensors', 'sdxl\ilustration and comics\Illustrious-XL-v2.0.safetensors', 'svd_image_decoder.safetensors']
  • LoraLoader 26:
    • Value not in list: lora_name: 'sdxl_lightning_8step_lora.safetensors' not in (list of length 92) Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

3dmindscapper avatar May 19 '25 15:05 3dmindscapper

That seems like a significant issue with your ComfyUI dependency install. Required models are not present. Did you go through the dependency installation steps in the readme?

Edit: The models have to be present in their respective ComfyUI subdirectories and you also have to restart ComfyUI if you installed the models while it was running.

sakalond avatar May 19 '25 15:05 sakalond

so the models can be present inside folders in their subfolders? for example i have the checkpoints folder divided into sd 1.5 sdxl flux etc.

3dmindscapper avatar May 19 '25 15:05 3dmindscapper

Unfortunately not, but since there is only support for SDXL custom checkpoints, you can set the model directory to the SDXL subfolder.

sakalond avatar May 19 '25 15:05 sakalond

Hmm well i have done that. set it to A:\ComfyUI+Sage2\ComfyUI\models\checkpoints\sdxl\BEST MODELS . this is the folder where i have my most used sdxl models. sadly i still get the same errors. is it not possible to have it search the folders and subfolders for models and also loras and controlnets? i sugest this because it seems to be how kritaAI does it

3dmindscapper avatar May 19 '25 16:05 3dmindscapper

Yeah, I could implement it, won't be that difficult.

The error still persists probably because there were many more issues than just the SDXL checkpoint itself. If you want to use a custom ControlNet, you must also update the Controlnet Mapping in Blender's preferences > Add-ons > StableGen.

Custom LoRAs are not currently supported and if you wish to use the presets, you need to have the SDXL lighting 8 step LoRA installed and named according to the readme. You can also select None in Advanced Parameters > Core Generation Settings > LoRa Type to not use any LoRA.

Edit: Actually, you will also need the 8 step LoRA even if you want to use none, as it still gets applied to the workflow but with 0 strength. I know, it's not a good solution and I am going to implement custom LoRA support and fix this in the near future.

sakalond avatar May 19 '25 16:05 sakalond

alright i will keep that in mind. thank you for developing this program :)

3dmindscapper avatar May 19 '25 16:05 3dmindscapper