Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading custom Ultralytics models for AI tasks, enabling easy integration of pre-trained models.
The CustomUltralyticsModelLoader
node is designed to facilitate the loading of custom Ultralytics models for AI-based tasks, such as object detection and image analysis. This node allows you to specify a custom model path, making it highly flexible and adaptable to various use cases. By leveraging this node, you can easily integrate your own pre-trained models into your workflow, enabling more personalized and precise AI applications. The primary function of this node is to load a specified model from a directory, ensuring that you can work with models tailored to your specific needs without the hassle of manual loading and configuration.
The model_path
parameter specifies the relative path to the custom Ultralytics model file you wish to load. This parameter is crucial as it directs the node to the exact location of the model within the models/ultralytics
directory. The available options for this parameter are dynamically generated based on the .pt
files present in the specified directory. This ensures that you can easily select from the available models without manually typing the path. The model_upload
option is enabled, allowing you to upload new models directly into the directory. This parameter does not have minimum, maximum, or default values, as it depends on the files available in the directory.
The ULTRALYTICS_MODEL
output parameter represents the loaded Ultralytics model object. This output is essential as it provides the actual model that can be used for further inference tasks. The model object encapsulates all the necessary information and functionalities required to perform tasks such as object detection, classification, and more. By obtaining this output, you can seamlessly integrate the loaded model into your AI workflow, enabling you to leverage its capabilities for various applications.
models/ultralytics
directory to be recognized by the node.model_upload
feature to easily add new models to the directory without manually moving files.models/ultralytics
directory.model_path
parameter is accurately specified..pt
file..pt
extension.© Copyright 2024 RunComfy. All Rights Reserved.