🔎Yoloworld Model Loader:
This node prepares a YOLO-World model for use in a connected workflow. It passes your selected model identifier to the YOLOWorld constructor from inference.models and makes the resulting model object available to later nodes. This lets you choose a model variant at the loading stage without changing the rest of your workflow. The provided source does not show how model files are obtained or how inference runs, so this node should be understood as a model loader, not as a node that analyzes an image by itself.
🔎Yoloworld Model Loader Input Parameters:
yolo_world_model
Selects the model identifier passed to YOLOWorld(model_id=yolo_world_model). The available options are yolo_world/l, yolo_world/m, and yolo_world/s. Your choice determines which identifier the constructor receives and therefore which variant the node attempts to prepare. This is a choice field, so a numeric minimum and maximum do not apply. The source lists the options in the order shown but does not declare an explicit widget default; do not assume that the first option is a guaranteed default. The provided source also does not establish performance or hardware requirements for each variant, so test an available option against your own workflow and hardware rather than relying on a fixed GPU recommendation.
🔎Yoloworld Model Loader Output Parameters:
yolo_world_model
A YOLOWORLDMODEL value containing the object returned by constructing YOLOWorld with the selected model identifier. Connect this output to a downstream node that accepts YOLOWORLDMODEL. It represents the prepared model object, not an image, detection result, or list of recognized objects; those results would require other steps in the workflow.
🔎Yoloworld Model Loader Usage Tips:
- Choose one of the three listed identifiers before running the workflow. If you are comparing variants, change only
yolo_world_modelbetween runs so you can assess their behavior in the same downstream setup. - Connect the output to a node whose input type is
YOLOWORLDMODEL. This loader does not accept an image or produce detections on its own. - If a selected variant cannot be prepared on your hardware, try another listed option and check the error details. The provided node source specifies no device selector, memory threshold, or variant-specific hardware requirement.
- Keep the complete identifier, including the
yolo_world/prefix, when selecting or reproducing a configuration.
🔎Yoloworld Model Loader Common Errors and Solutions:
ModuleNotFoundError: No module named 'inference'
- Explanation: The environment cannot find the package that provides
YOLOWorld. This is a possible setup error, not a message confirmed by an executed test of this node. - Solution: Check the installation instructions for the node package and install its required dependencies in the same environment that runs the workflow.
ImportError: cannot import name 'YOLOWorld' from 'inference.models'
- Explanation: The installed
inferencepackage may not expose the class at the path this node expects. The error wording can vary by environment. - Solution: Check the node package’s supported dependency versions and align the installed
inferenceversion with those requirements.
Invalid yolo_world_model selection
- Explanation: A saved or edited workflow may specify an identifier outside the three options declared by this node. The interface may reject it before the constructor runs.
- Solution: Reopen the selector and choose
yolo_world/l,yolo_world/m, oryolo_world/s.
Error while constructing YOLOWorld(model_id=yolo_world_model)
- Explanation: The node passes the selected identifier to an external constructor. Its internal behavior and exact error messages are not included in the provided source, so a failure at this point cannot be diagnosed from this node alone.
- Solution: Note the full error text, confirm the selected identifier, and consult the installed
inferencepackage’s documentation or logs for the specific cause. Do not assume a particular download location or authentication setting from this node’s code.
Device or memory error
- Explanation: Preparing or using a model may fail if the surrounding environment lacks suitable resources, but this node’s source specifies no device setting or hardware minimum. The exact message depends on the external package and environment.
- Solution: Check the full error and your available hardware resources. If appropriate, try another offered variant; choose device settings only where your surrounding workflow or environment actually provides them.
Output type mismatch involving YOLOWORLDMODEL
- Explanation: The next node may expect a different kind of input. This loader returns a model object rather than an image or detection result.
- Solution: Connect the output to a compatible
YOLOWORLDMODELinput, then use downstream nodes for image processing and results.
