Supported plugins
List of plugins available through the CLI
transform module
Applies a batch operation to a dataset and produces a new dataset.
Learn more about transform
To get help, run:
datum transform -h
To get help by class and modules, run:
RenameRenames items in the dataset
datum transform -t rename -- -h
RemapLabelsChanges labels in the dataset.
datum transform -t remap_labels -- -h
ProjectLabelsChanges the order of labels in the dataset from the existing to the desired one, removes unknown labels and adds new labels. Updates or removes the corresponding annotations.
datum transform -t project_labels -- -h
ResizeTransformResizes images and annotations in the dataset to the specified size.
datum transform -t resize -- -h
RemoveItemsAllows to remove specific dataset items from dataset by their ids.
datum transform -t remove_items -- -h
RemoveAnnotationsAllows to remove annotations on specific dataset items.
datum transform -t remove_annotations -- -h
RemoveAttributesAllows to remove item and annotation attributes in a dataset.
datum transform -t remove_attributes -- -h
NDRRemoves near-duplicated images in subset. Remove duplicated images from a dataset.
datum transform -t ndr -- -h
-
datum transform -t split -- -h
-
RandomSamplerSampler that keeps no more than required number of items in the dataset.
datum transform -t random_sampler -- -h
LabelRandomSamplerSampler that keeps at least the required number of annotations of each class in the dataset for each subset separately.
datum transform -t label_random_sampler -- -h