data
) is used to specify project and its datasets that will participate in data transformation process. Let's take a look at the example below:my_proj
from all its datasets (because of *
symbol in "src": ["my_proj/*"]
). We will name this data as variable $data
(because of "dst": "$data"
). And we perform default classes mapping (because of "classes_mapping": "default"
) — will keep all annotated objects and their classes without any changes."person":"__default__"
means that we will keep all objects of class "person" as is."car": "vehicle"
means that for all objects of class "car" we will rename class to "vehicle"."bus": "vehicle"
means that for all objects of class "bus" we will rename class to "vehicle"."__other__":"__ignore__"
means that objects of all other classes (that are not in ["person", "car", "bus"]) will be ignored. In other words, when data (image + annotation) will pass through this layer, objects of other classes (that are not in ["person", "car", "bus"]) will be deleted from annotations. For example, we also can map other classes to one class with: "__other__":"my_super_class"