Api session items neuralnetworks: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 180: Line 180:
ZIPSMILE:  
ZIPSMILE:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
==Api Model DataType==
API Enumeration description of DataType
{|class=wikitable
!Name
!Description
|-
|FLOAT
|
|-
|DOUBLE
|
|-
|INT8
|
|-
|INT16
|
|-
|INT32
|
|-
|INT64
|
|-
|BOOL
|
|-
|STRING
|
|-
|UINT8
|
|-
|FLOAT16
|
|-
|BFLOAT16
|
|-
|UNKNOWN
|
|}
==Api Model DefaultNeuralNetwork==
==Api Model DefaultNeuralNetwork==
API Model description of DefaultNeuralNetwork
API Model description of DefaultNeuralNetwork
Line 234: Line 278:
|warnings
|warnings
|String
|String
|
|}
==Api Model LegendEntry==
API Model description of LegendEntry
{|class=wikitable
!Name
!Type
!Description
|-
|color
|TColor
|
|-
|entryName
|String
|
|-
|id
|int
|
|-
|value
|float
|
|
|}
|}
Line 287: Line 356:
|warnings
|warnings
|String
|String
|
|}
==Api Model TColor==
API Model description of TColor
{|class=wikitable
!Name
!Type
!Description
|}
==Api Model Tensor==
API Model description of Tensor
{|class=wikitable
!Name
!Type
!Description
|-
|dimensions
|int[]
|
|-
|input
|boolean
|
|-
|name
|String
|
|-
|normalize
|boolean
|
|-
|type
|DataType
|
|
|}
|}

Revision as of 14:06, 20 April 2026

Api session items Neural Networks Endpoints.

Edit items with event: editorneuralnetwork.

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"
  } ],
  "uploadDate" : 1734698290534,
  "uploaderName" : "Tygron",
  "version" : 2,
  "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"
  } ],
  "uploadDate" : 1734697444307,
  "uploaderName" : "Tygron",
  "version" : 3,
  "warnings" : ""
} ]

Limit Queries

version=100:

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

Show Queries

max version:

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

size:

https://engine.tygron.com/api/session/items/neuralnetworks/size/?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 DefaultNeuralNetwork

API Model description of DefaultNeuralNetwork

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

Api Model LegendEntry

API Model description of LegendEntry

Name Type Description
color TColor
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
legendEntries LegendEntry[]
name String
producer String
tensors Tensor[]
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