Skip to navigation

Create version

Overview

Saves what a dataset holds right now as a numbered version, for example Cats@v2. The saved version doesn’t change afterwards, while the dataset itself stays editable: imports, labeling, and other nodes keep adding to it under its own name.

Nodes wired to this node’s output read the saved version, so a training run downstream sees the same data every time. Saving is cheap: it records references to the assets, not copies of their files.

Turn on Only if changed in a flow that runs on a schedule: a run that brought nothing new passes on the last version instead of saving an identical one, so the version list shows only real changes.

Dataset Create version Train

How it works

1

Reads the selected dataset and checks that it’s the dataset itself, not one of its older versions.

2

With Only if changed on, compares the dataset’s assets and annotations with the last saved version and, when they are the same, passes on that version.

3

Otherwise saves the dataset’s current assets and annotations as the next numbered version.

4

Returns the saved version, its number and a badge such as v3 saved or no changes, v2. The dataset keeps its name and stays open for changes.

FAQ

The input names a saved version such as Cats@v1 rather than the dataset. Saving an older version would bring its contents back over the dataset, so the node refuses. Pick the dataset itself in the input. To bring an older version back on purpose, use Restore version.

A node wired to the output of this node reads the saved version and always gets the same contents. A node wired to the output of any other node, or set to the dataset rather than one of its versions in its picker, reads the dataset as it is when that node runs, including changes made after the version was saved.

No. It stores references to the existing assets, so the version stays complete only while those assets exist in OvalBee.

Any asset or annotation that was added or removed since the last saved version. A new annotation on an asset counts too, for example after its tags were fixed and imported again. The first run of a dataset without saved versions always saves one.

No, it’s optional.

Inputs

Dataset
datasetRequired

Dataset to save a version of. Its assets and annotations are recorded as they are at the moment the node runs. Key: DATASET.

Description
string

Note shown next to this version, to help you recognise it later. Key: DESCRIPTION.

Only if changed
booleanDefaults to false

Save a version only when the dataset’s assets or annotations differ from the last saved version. Otherwise the node passes on that version, so a flow that runs on a schedule does not pile up identical versions. Key: ONLY_IF_CHANGED.

Outputs

Saved version
dataset

The saved version. Nodes that read it always get these exact contents, even after the dataset changes. Key: DATASET.

Version number
integer

Number of the saved version, as shown on the dataset page. Key: VERSION.

Status
string

Short badge saying whether this run saved a new version or passed on the last one unchanged. Shown on the node as a badge. Key: STATUS.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Create version",
"description": "Saves the current contents of a dataset as a numbered version that does not change afterwards. The dataset itself stays editable: imports, labeling and other nodes keep working on it. Nodes wired to this node's output read the saved version, not the live dataset.",
"category": "Datasets",
"namespace": "ovalbee",
"templateKey": "dataset_ops/create_version",
"version": "v1",
"inputs": [
{
"key": "DATASET",
"label": "Dataset",
"type": "dataset",
"description": "Dataset to save a version of. Its assets and annotations are recorded as they are at the moment the node runs.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"creatable": false
}
},
{
"key": "DESCRIPTION",
"label": "Description",
"type": "string",
"description": "Note shown next to this version, to help you recognise it later.",
"required": false,
"default": null,
"visibleWhen": null
},
{
"key": "ONLY_IF_CHANGED",
"label": "Only if changed",
"type": "boolean",
"description": "Save a version only when the dataset's assets or annotations differ from the last saved version. Otherwise the node passes on that version, so a flow that runs on a schedule does not pile up identical versions.",
"required": false,
"default": false,
"visibleWhen": null
}
],
"outputs": [
{
"key": "DATASET",
"label": "Saved version",
"type": "dataset",
"description": "The saved version. Nodes that read it always get these exact contents, even after the dataset changes.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "VERSION",
"label": "Version number",
"type": "number",
"description": "Number of the saved version, as shown on the dataset page.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false,
"options": {
"type": "integer"
}
},
{
"key": "STATUS",
"label": "Status",
"type": "string",
"description": "Short badge saying whether this run saved a new version or passed on the last one unchanged.",
"artifact": false,
"badge": true,
"badgeOpens": null,
"hidden": false
}
]
}