Dataset formating

Convert to binary

Labels to binary

Create a binary file that is composed of what the OUTPUT of the model should look like.

Labels

Classification

"label": {
  "class": "dog"
}

Multi-label Classification

"label": {
  "class": "dog"
}

Object Detection

"label": {
  "objects": [
    {"class": "cat", "bbox": [x, y, width, height]},
    {"class": "dog", "bbox": [x, y, width, height]}
  ]
}

Segmentaion

"label": {
  "class": "cat",
  "mask": {
    "offset": 123456,
    "length": 65536,
    "format": "uint8",
    "shape": [256, 256]
  }
}

Time Series

"label": {
  "events": [
    {"type": "spike", "timestamp": 3.5},
    {"type": "baseline", "timestamp": 7.2}
  ]
}