ComfyUI > Nodes > ComfyUI-KEEP > Load KEEP Models

ComfyUI Node: Load KEEP Models

Class Name

KEEP_ModelLoader

Category
ComfyUI-KEEP
Author
wildminder (Account age: 4890days)
Extension
ComfyUI-KEEP
Latest Updated
2025-07-04
Github Stars
0.07K

How to Install ComfyUI-KEEP

Install this extension via the ComfyUI Manager by searching for ComfyUI-KEEP
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-KEEP in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load KEEP Models Description

Facilitates AI model loading and management in ComfyUI-KEEP for efficient image processing.

Load KEEP Models:

The KEEP_ModelLoader node is designed to facilitate the loading and management of various AI models within the ComfyUI-KEEP framework. Its primary purpose is to streamline the process of selecting and utilizing different model types, including detection and upscaling models, to enhance image processing tasks. By providing a centralized mechanism for model loading, this node ensures that users can easily access and deploy the necessary models for their specific needs, whether it be for face detection, background upscaling, or other image enhancement tasks. The node's architecture is built to handle model caching efficiently, reducing redundant loading times and optimizing performance. This makes it an invaluable tool for AI artists looking to integrate sophisticated model-based enhancements into their workflows without delving into the complexities of model management.

Load KEEP Models Input Parameters:

model

The model parameter specifies the type of KEEP model you wish to load. It is a required parameter and offers a selection from the available model types defined in the KEEP_MODEL_CONFIGS. The default value is the first model type in the list, or 'KEEP' if no models are available. This parameter determines the core functionality and architecture of the model being loaded, impacting the overall processing capabilities and results.

detection_model

The detection_model parameter allows you to choose a specific detection model from a predefined list, including options like retinaface_resnet50, retinaface_mobile0.25, YOLOv5l, and YOLOv5n. This required parameter defaults to retinaface_resnet50 and plays a crucial role in determining how the model will detect and process features within images, such as faces or objects, thereby influencing the accuracy and efficiency of the detection tasks.

bg_upscale_model

The bg_upscale_model is an optional parameter that specifies the model used for background upscaling. If provided, it enhances the resolution of the background in processed images, contributing to a more detailed and visually appealing output. The absence of this parameter means no background upscaling will be applied.

face_upscale_model

Similar to the bg_upscale_model, the face_upscale_model is an optional parameter that focuses on upscaling facial features within images. By providing a model for this parameter, you can achieve higher resolution and clarity in facial details, which is particularly beneficial for applications requiring detailed facial recognition or enhancement.

Load KEEP Models Output Parameters:

keep_model_pack

The keep_model_pack is the output parameter of the KEEP_ModelLoader node. It encapsulates the loaded model along with any specified detection and upscaling models, packaged into a KEEPModelPack object. This output is crucial as it contains all the necessary components for executing model-based tasks, ensuring that the selected models are ready for immediate use in subsequent processing steps.

Load KEEP Models Usage Tips:

  • To optimize performance, select the detection model that best suits your specific task requirements, such as YOLOv5l for larger objects or retinaface_mobile0.25 for mobile-friendly applications.
  • Utilize the optional upscaling models to enhance image quality, especially when working with low-resolution inputs or when high detail is required in the output.
  • Take advantage of the model caching feature to reduce loading times for frequently used models, improving workflow efficiency.

Load KEEP Models Common Errors and Solutions:

Unknown KEEP model type: <model_type_str>

  • Explanation: This error occurs when the specified model type is not recognized within the KEEP_MODEL_CONFIGS.
  • Solution: Ensure that the model parameter is set to a valid model type listed in the KEEP_MODEL_CONFIGS. Double-check for any typos or incorrect entries.

KEEP architecture class not found in ARCH_REGISTRY.

  • Explanation: This error indicates that the architecture class for the KEEP model is missing from the ARCH_REGISTRY.
  • Solution: Verify that the necessary architecture classes are correctly registered in the ARCH_REGISTRY. If missing, ensure that all required modules and dependencies are properly installed and configured.

Load KEEP Models Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-KEEP
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.