Dummy
This layer (dummy) does nothing. Literally.
Dummy layer can be useful when you have many destinations of other layers you want to merge into one.
1
{
2
"action": "dummy",
3
"src": ["$input" ],
4
"dst": "$output",
5
"settings": {}
6
}
Copied!

Example

Merge together two projects with different class mapping and save it as a new project.
1
[
2
{
3
"dst": "$data1",
4
"src": [
5
"demo/*"
6
],
7
"action": "data",
8
"settings": {
9
"classes_mapping": "default"
10
}
11
},
12
{
13
"dst": "$data2",
14
"src": [
15
"mini_pascal/*"
16
],
17
"action": "data",
18
"settings": {
19
"classes_mapping": {
20
"dog": "dog",
21
"__other__": "__ignore__"
22
}
23
}
24
},
25
{
26
"action": "dummy",
27
"src": ["$data1", "$data2" ],
28
"dst": "$output",
29
"settings": {
30
"classes": ["human"]
31
}
32
},
33
{
34
"dst": "example_dummy",
35
"src": [
36
"$output"
37
],
38
"action": "supervisely",
39
"settings": {}
40
}
41
]
Copied!
Last modified 1yr ago
Copy link
Contents
Example