Api session items neuralnetworks

From Tygron Support wiki
Jump to navigation Jump to search

API Endpoint: /api/session/items/neuralnetworks/

Edit items with events described at Api session event editor neuralnetwork.

Default Query:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=JSON&token=API_TOKEN

Example Response:

[ {
  "attributes" : {
    "BOX_OVERLAP" : [ 1.0 ],
    "INFERENCE_MODE" : [ 1.0 ],
    "MASK_THRESHOLD" : [ 0.9 ],
    "MAX_CELL_SIZE_M" : [ 0.25 ],
    "MAX_GT_INSTANCES" : [ 250.0 ],
    "MIN_CELL_SIZE_M" : [ 0.1 ],
    "PRIORITIZE_LABELS" : [ 0.0 ],
    "SCORE_THRESHOLD" : [ 0.2 ],
    "STRIDE_FRACTION" : [ 0.5 ],
    "VERSION" : [ 2.0241021E7 ]
  },
  "description" : "Test RCNN to detect to detect blue, gray and dark solar\n\t\t\tpanels panels, trained on data from Dutch Neighborhoods. Model is\n\t\t\tstill under heavy development.",
  "id" : 0,
  "legendEntries" : [ {
    "color" : {
      "argb" : 0
    },
    "entryName" : "Background",
    "id" : 0,
    "value" : 0.0
  }, {
    "color" : {
      "argb" : -16711681
    },
    "entryName" : "Blue solor panel",
    "id" : 1,
    "value" : 1.0
  }, {
    "color" : {
      "argb" : -3355444
    },
    "entryName" : "Gray solor panel",
    "id" : 2,
    "value" : 2.0
  }, {
    "color" : {
      "argb" : -13434829
    },
    "entryName" : "Black solar panel",
    "id" : 3,
    "value" : 3.0
  } ],
  "name" : "test_solar_panels",
  "override" : false,
  "producer" : "Tygron",
  "tensors" : [ {
    "dimensions" : [ 1, 3, 600, 600 ],
    "input" : true,
    "name" : "input_A:RGB_normalized",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1, 4 ],
    "input" : false,
    "name" : "boxes",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1 ],
    "input" : false,
    "name" : "labels",
    "normalize" : true,
    "type" : "INT64"
  }, {
    "dimensions" : [ -1 ],
    "input" : false,
    "name" : "scores",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1, 1, -1, -1 ],
    "input" : false,
    "name" : "masks",
    "normalize" : true,
    "type" : "FLOAT"
  } ],
  "type" : "RCNN",
  "uploadDate" : 1734698290534,
  "uploaderName" : "Tygron",
  "version" : 6,
  "warnings" : ""
}, {
  "attributes" : {
    "BOX_OVERLAP" : [ 1.0 ],
    "INFERENCE_MODE" : [ 1.0 ],
    "MASK_THRESHOLD" : [ 0.3 ],
    "MAX_CELL_SIZE_M" : [ 0.5 ],
    "MAX_GT_INSTANCES" : [ 250.0 ],
    "MIN_CELL_SIZE_M" : [ 0.1 ],
    "PRIORITIZE_LABELS" : [ 0.0 ],
    "SCORE_THRESHOLD" : [ 0.2 ],
    "STRIDE_FRACTION" : [ 0.5 ],
    "VERSION" : [ 2.0241111E7 ]
  },
  "description" : "Test RCNN to detect decideous trees, trained on data from\n\t\t\tDutch Neighborhoods. This model is not suitable for dense woods.",
  "id" : 1,
  "legendEntries" : [ {
    "color" : {
      "argb" : 0
    },
    "entryName" : "Background",
    "id" : 0,
    "value" : 0.0
  }, {
    "color" : {
      "argb" : -16711745
    },
    "entryName" : "Decideous tree",
    "id" : 1,
    "value" : 1.0
  } ],
  "name" : "test_deciduous_trees",
  "override" : false,
  "producer" : "Tygron",
  "tensors" : [ {
    "dimensions" : [ 1, 3, 400, 400 ],
    "input" : true,
    "name" : "input_A:RGB_normalized",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1, 4 ],
    "input" : false,
    "name" : "boxes",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1 ],
    "input" : false,
    "name" : "labels",
    "normalize" : true,
    "type" : "INT64"
  }, {
    "dimensions" : [ -1 ],
    "input" : false,
    "name" : "scores",
    "normalize" : true,
    "type" : "FLOAT"
  }, {
    "dimensions" : [ -1, 1, -1, -1 ],
    "input" : false,
    "name" : "masks",
    "normalize" : true,
    "type" : "FLOAT"
  } ],
  "type" : "RCNN",
  "uploadDate" : 1734697444307,
  "uploaderName" : "Tygron",
  "version" : 5,
  "warnings" : ""
} ]

Limit Queries

version=100:

https://engine.tygron.com/api/session/items/neuralnetworks/?version=100&token=API_TOKEN

Get Queries

attributes:

https://engine.tygron.com/api/session/items/neuralnetworks/attributes/?token=API_TOKEN

max version:

https://engine.tygron.com/api/session/items/neuralnetworks/version/?token=API_TOKEN

count:

https://engine.tygron.com/api/session/items/neuralnetworks/count/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPSMILE&token=API_TOKEN

Api Model DataType

API Enumeration description of DataType

Name Description
FLOAT
DOUBLE
INT8
INT16
INT32
INT64
BOOL
STRING
UINT8
FLOAT16
BFLOAT16
UNKNOWN

Api Model DefaultRCNN

API Model description of DefaultRCNN

Name Type Description
attributes Map<String,double[]>
description String
id int
legendEntries LegendEntry[]
name String
override boolean
producer String
tensors Tensor[]
type Type
uploadDate long
uploaderName String
version int
warnings String

Api Model Embedding

API Model description of Embedding

Name Type Description
attributes Map<String,double[]>
description String
id int
name String
producer String
type Type
uploadDate long
uploaderName String
version int
warnings String

Api Model LLM

API Model description of LLM

Name Type Description
attributes Map<String,double[]>
description String
id int
name String
producer String
type Type
uploadDate long
uploaderName String
version int
warnings String

Api Model LegendEntry

API Model description of LegendEntry

Name Type Description
color TColor Color
entryName String
id int
value float

Api Model NeuralNetwork

API Model description of NeuralNetwork

Name Type Description
attributes Map<String,double[]>
description String
id int
name String
producer String
type Type
uploadDate long
uploaderName String
version int
warnings String

Api Model RCNN

API Model description of RCNN

Name Type Description
attributes Map<String,double[]>
description String
id int
legendEntries LegendEntry[]
name String
producer String
tensors Tensor[]
type Type
uploadDate long
uploaderName String
version int
warnings String

Api Model TColor

API Model description of TColor

Name Type Description

Api Model Tensor

API Model description of Tensor

Name Type Description
dimensions int[]
input boolean
name String
normalize boolean
type DataType

Api Model Type (NeuralNetwork)

API Enumeration description of Type

Name Description
RCNN
LLM
EMBEDDING