ComfyUI > Nodes > ComfyUI-Grounding > Grounding Model (down)Loader

ComfyUI Node: Grounding Model (down)Loader

Class Name

GroundingModelLoader

Category
grounding
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI-Grounding
Latest Updated
2025-12-22
Github Stars
0.03K

How to Install ComfyUI-Grounding

Install this extension via the ComfyUI Manager by searching for ComfyUI-Grounding
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Grounding 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

Grounding Model (down)Loader Description

GroundingModelLoader simplifies loading diverse grounding models for AI art object detection.

Grounding Model (down)Loader:

The GroundingModelLoader is a versatile node designed to streamline the process of loading various grounding models, which are essential for tasks involving object detection and scene understanding in AI art projects. This node supports a range of models, including GroundingDINO, MM-GroundingDINO, OWLv2, Florence-2, and YOLO-World, making it a unified solution for different grounding needs. By providing a centralized interface for model loading, it simplifies the workflow for artists and developers, allowing them to focus on creative aspects rather than technical intricacies. The node's primary goal is to facilitate the seamless integration of these models into your projects, ensuring that you can leverage their capabilities without needing deep technical knowledge about each model's specifics.

Grounding Model (down)Loader Input Parameters:

model

This parameter allows you to select the specific grounding model you wish to load from a list of available models. The choice of model can significantly impact the type of grounding and detection capabilities you can achieve. The default model is set to "Florence-2: Base (0.23B params)," which is a balanced choice for general purposes. Selecting the right model is crucial as it determines the performance and suitability for your specific task, whether it be detailed object detection or broader scene understanding.

keep_model_loaded

This is a boolean parameter that determines whether the model should remain loaded in VRAM after its initial loading. By default, it is set to True, meaning the model stays in memory, which allows for faster subsequent detections. However, if you are working with limited VRAM resources, you might choose to set this to False to free up memory after each detection, though this will result in slower performance as the model will need to be reloaded each time.

Grounding Model (down)Loader Output Parameters:

model

The output parameter model represents the loaded grounding model, ready for use in detection tasks. This output is crucial as it provides the necessary computational framework to perform grounding operations, enabling the identification and understanding of objects within a scene. The model output is integral to the workflow, as it directly influences the accuracy and efficiency of the grounding tasks you perform.

Grounding Model (down)Loader Usage Tips:

  • To optimize performance, keep the keep_model_loaded parameter set to True if you have sufficient VRAM, as this will reduce the time taken for repeated detections.
  • Experiment with different models available in the model parameter to find the one that best suits your specific artistic or technical needs, as each model has unique strengths and capabilities.

Grounding Model (down)Loader Common Errors and Solutions:

Model not found in registry

  • Explanation: This error occurs when the specified model is not available in the MODEL_REGISTRY. It might be due to a typo or the model not being installed.
  • Solution: Double-check the model name for any typos and ensure that the model is correctly installed and registered in the system.

Insufficient VRAM

  • Explanation: This error indicates that there is not enough VRAM available to load the model, especially if keep_model_loaded is set to True.
  • Solution: Try setting keep_model_loaded to False to free up VRAM after each detection, or close other applications to free up memory resources.

Grounding Model (down)Loader Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Grounding
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.