Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading pre-trained YOLO models from Ultralytics repository for AI art projects.
The UltralyticsModelLoader node is designed to facilitate the loading of pre-trained YOLO (You Only Look Once) models from the Ultralytics repository. This node simplifies the process of downloading and loading these models, making it easier for you to integrate advanced object detection capabilities into your AI art projects. By leveraging this node, you can quickly access a variety of YOLO models, each tailored for different performance and accuracy needs, without worrying about the underlying technical complexities. The main goal of this node is to streamline the model loading process, ensuring you can focus on creating and experimenting with AI-driven art.
The model_name
parameter allows you to specify which YOLO model you want to load. This parameter accepts a list of pre-defined model names, such as yolov5nu.pt
, yolov5su.pt
, yolov8n.pt
, and others. If no model name is provided, the node defaults to loading yolov8s.pt
. The choice of model can impact the performance and accuracy of your object detection tasks, with different models optimized for various use cases. There are no minimum or maximum values for this parameter, but it must be one of the predefined options.
The ULTRALYTICS_MODEL
output parameter provides the loaded YOLO model object. This model can then be used for performing object detection tasks on images or videos. The output is crucial as it encapsulates the trained weights and architecture of the specified YOLO model, enabling you to apply advanced object detection techniques in your projects.
yolov5n.pt
is a lightweight model suitable for real-time applications, while yolov8x.pt
offers higher accuracy at the cost of increased computational requirements.<model_name>
already loaded. Returning cached model.<model_name>
...<model_name>
already downloaded. Loading model.<model_name>
'models/ultralytics
directory. If not, ensure the model name is correct and allow the node to download it.© Copyright 2024 RunComfy. All Rights Reserved.