Remove assets
Overview
Removes images and videos, together with their annotations, from a dataset. The assets themselves stay in OvalBee, only their membership in that dataset is dropped.
Use it after filtering or sampling when a flow needs to drop a known batch from the working dataset.
When a second dataset is provided, the node removes only assets present in both datasets.
If it is not provided, the node removes every image and video from the source dataset.
How it works
FAQ
What does the node remove without an assets dataset?
Every image and video in the source dataset, plus the annotations linked to them.
Does removing an asset also remove its annotations?
Yes. The annotations linked to each removed asset leave the dataset with it. The badge counts the removed images and videos, not the annotations.
Are the assets deleted from OvalBee?
No. They lose their membership in the source dataset, but the underlying assets and files stay in OvalBee.
Can I undo a removal?
Not from a version. The node changes the source dataset in place and doesn’t create a new dataset version first. The removed assets still exist in OvalBee, so if another dataset still holds them, such as the assets dataset, Copy can add them back.
What happens when nothing matches?
The node stops the flow and leaves the source dataset unchanged.
Inputs
Dataset that loses the assets. Annotations attached to them are removed as well. Key: SRC_DATASET.
Dataset naming which assets to remove: only the ones it shares with the source are taken out. Leave empty to remove everything from the source dataset. Key: ASSETS_DATASET.
Outputs
ID of the source dataset after removal. Key: DATASET.
Short badge with the number of assets removed in the latest run. Shown on the node as a badge. Key: LAST_REMOVED_ASSETS_COUNT.
JSON config
Machine-readable node interface for automation and advanced usage.