I use CVAT video 1.1 annotation format, and I want to change the label name. I modified the example from the documentation, but I lose some attributes like:
track id
keyframe
outside
My code:
from datumaro.components.dataset import Dataset
dataset = Dataset.import_from('task_test-2021_04_06_11_14_34-cvat for video 1.1', 'cvat')
dataset.transform('remap_labels',
{'test': 'renamed'},
default='delete')
dataset.export('task_test-2021_04_06_11_14_34-cvat for video 1.1 renamed', 'cvat')
I use CVAT video 1.1 annotation format, and I want to change the label name. I modified the example from the documentation, but I lose some attributes like:
One more point: after
dataset.transform
all flags are still there.Source annotation XML file: task_test-2021_04_06_11_14_34-cvat for video 1.1.zip Remapped annotation XML file: task_test-2021_04_06_11_14_34-cvat for video 1.1 renamed.zip Maybe I should use another flag for saving annotation in CVAT video 1.1 annotation format?