Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.29 KB

README.md

File metadata and controls

71 lines (57 loc) · 2.29 KB

Dataset

Dataset layer places every image that it sees to the dataset with a specified name.

Settings

  • Keep original datasets — Keep original datasets names. In this case, input field name will be hidden.
  • Name — Set the name of the resulting dataset. This setting is available only if Keep original datasets is disabled.

Example 1. Keep original datasets

For example, we have a project with two datasets: cats and dogs. We will use Dataset layer and set Keep original datasets rule. As a result, all images will be placed to the same dataset names as they were before (in new project).

Original datasets Result: keep original datsets structure
Original datasets Result datasets

Example 2. Set new dataset name

In this example we will use Dataset layer and set new dataset name "cats and dogs dataset". As a result, all images will be placed to the dataset with name "cats and dogs dataset" (in new project).

Original datasets Result: set new dataset name
Original datasets Result datasets

JSON views

save original dataset name
{
  "action": "dataset",
  "src": ["$if_9__true"],
  "dst": "$dataset_10",
  "settings": {
    "rule": "save_original"
  }
}
set new dataset name
{
  "action": "dataset",
  "src": ["$if_9__true"],
  "dst": "$dataset_10",
  "settings": {
    "name": "cats and dogs dataset"
  }
}