Import model
Overview
Registers a model trained in Supervisely as an OvalBee model asset.
The node pulls the checkpoint from Supervisely Team Files and reads the experiment files next to it, so the framework, task type, and class names come across without you retyping them.
Prerequisites
How it works
Reads experiment_info.json from the experiment folder, two levels above the checkpoint path, and stops there when it names no model, framework or task type — nothing is downloaded.
Collects the class names from model_meta.json, falling back to the checkpoint itself when that file is missing.
FAQ
Which path goes into Checkpoint Path?
The full Team Files path of the checkpoint, for example /experiments/12_animals/checkpoints/best.pth. The experiment folder is taken two levels above that path, so a checkpoint stored anywhere else means the experiment files are not found.
Where do the class names come from?
Three sources, in order: model_meta.json in the experiment folder, then the path experiment_info.json points at, then the checkpoint state itself. The run fails when none of them yields class names, because a model without classes cannot be applied.
What happens when experiment_info.json is missing?
The run fails: the framework, task type and model name are what the model is registered under, and none of them can be guessed from a checkpoint file. Export the experiment from Supervisely with its info file.
Which framework and task type does the model end up with?
OvalBee’s own keys, not Supervisely’s wording: YOLOv8 is registered as yolo and object detection as object_detection, because the model pickers of the predict, train and export nodes match those keys exactly. A task Supervisely trains but OvalBee has no node for, such as pose estimation, fails the run instead of being imported unusable.
Which files end up in the model asset?
The checkpoint, marked as the one to load, plus experiment_info.json when it exists and the training config when one of training_config.yaml, model_config.yml, or custom_config.yml is found next to it.
Can I import several checkpoints from one experiment?
Run the node once per checkpoint. Each run imports the single file named in Checkpoint Path and registers it as its own model asset.
How do I tell imported models apart later?
An imported model is marked imported in the registry, and the version records the Supervisely path it came from next to the framework, task type and model name that were detected.
Inputs
Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.
Supervisely team whose Team Files hold the checkpoint, as a numeric ID. Key: SLY_TEAM_ID.
Path to the checkpoint file in Supervisely Team Files (e.g. /experiments/…/checkpoints/best.pth). The experiment directory is inferred automatically. Key: CKPT_PATH.
Outputs
Reference to the registry version created for the imported checkpoint, as <model id>@<version id>. It wires into the Model input of a predict, serve or evaluate node and pins it to exactly these weights, and the nodes that take a checkpoint asset - Export, Apply model - accept it too. Shown as an artifact. Key: MODEL.
JSON config
Machine-readable node interface for automation and advanced usage.