Api session items neuralnetworks: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session items [[Neural Network]]s Endpoints.
API Endpoint: /api/session/items/neuralnetworks/


Edit items with event: [[Api session event editor neuralnetwork|editorneuralnetwork]].
Edit items with events described at [[Api session event editor neuralnetwork]].


Default Query:
Default Query:
Line 84: Line 84:
     "type" : "FLOAT"
     "type" : "FLOAT"
   } ],
   } ],
  "type" : "RCNN",
   "uploadDate" : 1734698290534,
   "uploadDate" : 1734698290534,
   "uploaderName" : "Tygron",
   "uploaderName" : "Tygron",
   "version" : 4,
   "version" : 6,
   "warnings" : ""
   "warnings" : ""
}, {
}, {
Line 152: Line 153:
     "type" : "FLOAT"
     "type" : "FLOAT"
   } ],
   } ],
  "type" : "RCNN",
   "uploadDate" : 1734697444307,
   "uploadDate" : 1734697444307,
   "uploaderName" : "Tygron",
   "uploaderName" : "Tygron",
   "version" : 2,
   "version" : 5,
   "warnings" : ""
   "warnings" : ""
} ]</syntaxhighlight>
} ]</syntaxhighlight>
Line 160: Line 162:
version=100:  
version=100:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?version=100&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?version=100&token=API_TOKEN</syntaxhighlight>
==Show Queries==
==Get Queries==
attributes:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/attributes/?token=API_TOKEN</syntaxhighlight>
max version:  
max version:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/version/?token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/version/?token=API_TOKEN</syntaxhighlight>
size:  
count:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/size/?token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/count/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  
Line 187: Line 191:
!Description
!Description
|-
|-
|FLOAT
| FLOAT
|
|  
|-
|-
|DOUBLE
| DOUBLE
|
|  
|-
|-
|INT8
| INT8
|
|  
|-
|-
|INT16
| INT16
|
|  
|-
|-
|INT32
| INT32
|
|  
|-
|-
|INT64
| INT64
|
|  
|-
|-
|BOOL
| BOOL
|
|  
|-
|-
|STRING
| STRING
|
|  
|-
|-
|UINT8
| UINT8
|
|  
|-
|-
|FLOAT16
| FLOAT16
|
|  
|-
|-
|BFLOAT16
| BFLOAT16
|
|  
|-
|-
|UNKNOWN
| UNKNOWN
|
|  
|}
|}


==Api Model DefaultNeuralNetwork==
==Api Model DefaultRCNN==
API Model description of DefaultNeuralNetwork
API Model description of DefaultRCNN


{|class=wikitable
{|class=wikitable
Line 232: Line 236:
!Description
!Description
|-
|-
|attributes
| attributes
|Map&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|description
| description
|String
| String
|
|  
|-
|-
|id
| id
|int
| int
|
|  
|-
|-
|legendEntries
| legendEntries
|LegendEntry<nowiki>[]</nowiki>
| LegendEntry<nowiki>[]</nowiki>
|
|  
|-
|-
|name
| name
|String
| String
|
|  
|-
|-
|override
| override
|boolean
| boolean
|
|  
|-
|-
|producer
| producer
|String
| String
|
|  
|-
|-
|tensors
| tensors
|Tensor<nowiki>[]</nowiki>
| Tensor<nowiki>[]</nowiki>
|
|  
|-
|-
|uploadDate
| type
|long
| Type
|
|  
|-
|-
|uploaderName
| uploadDate
|String
| long
|
|  
|-
|-
|version
| uploaderName
|int
| String
|
|  
|-
|-
|warnings
| version
|String
| int
|
|
|-
| warnings
| String
|
|}
 
==Api Model Embedding==
API Model description of Embedding
 
{|class=wikitable
!Name
!Type
!Description
|-
| attributes
| Map&lt;String,double[]&gt;
|
|-
| 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
 
{|class=wikitable
!Name
!Type
!Description
|-
| attributes
| Map&lt;String,double[]&gt;
|
|-
| description
| String
|
|-
| id
| int
|
|-
| name
| String
|
|-
| producer
| String
|
|-
| type
| Type
|
|-
| uploadDate
| long
|
|-
| uploaderName
| String
|
|-
| version
| int
|
|-
| warnings
| String
|  
|}
|}


Line 289: Line 395:
!Description
!Description
|-
|-
|color
| color
|TColor
| TColor
|
| [[Color]]
|-
|-
|entryName
| entryName
|String
| String
|
|  
|-
|-
|id
| id
|int
| int
|
|  
|-
|-
|value
| value
|float
| float
|
|  
|}
|}


Line 314: Line 420:
!Description
!Description
|-
|-
|attributes
| attributes
|Map&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|
|-
| description
| String
|
|-
| id
| int
|
|-
| name
| String
|
|-
| producer
| String
|
|-
| type
| Type
|  
|-
|-
|description
| uploadDate
|String
| long
|
|  
|-
|-
|id
| uploaderName
|int
| String
|
|  
|-
|-
|legendEntries
| version
|LegendEntry<nowiki>[]</nowiki>
| int
|
|  
|-
|-
|name
| warnings
|String
| String
|
|  
|}
 
==Api Model RCNN==
API Model description of RCNN
 
{|class=wikitable
!Name
!Type
!Description
|-
|-
|producer
| attributes
|String
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|tensors
| description
|Tensor<nowiki>[]</nowiki>
| String
|
|  
|-
|-
|uploadDate
| id
|long
| int
|
|  
|-
|-
|uploaderName
| legendEntries
|String
| LegendEntry<nowiki>[]</nowiki>
|
|  
|-
|-
|version
| name
|int
| String
|
|  
|-
|-
|warnings
| producer
|String
| String
|
|
|-
| tensors
| Tensor<nowiki>[]</nowiki>
|
|-
| type
| Type
|
|-
| uploadDate
| long
|
|-
| uploaderName
| String
|
|-
| version
| int
|
|-
| warnings
| String
|  
|}
|}


Line 376: Line 535:
!Description
!Description
|-
|-
|dimensions
| dimensions
|int[]
| int[]
|
|
|-
| input
| boolean
|  
|-
|-
|input
| name
|boolean
| String
|
|
|-
| normalize
| boolean
|  
|-
| type
| DataType
|
|}
 
==Api Model Type (NeuralNetwork)==
API Enumeration description of Type
 
{|class=wikitable
!Name
!Description
|-
|-
|name
| RCNN
|String
|  
|
|-
|-
|normalize
| LLM
|boolean
|  
|
|-
|-
|type
| EMBEDDING
|DataType
|  
|
|}
|}



Latest revision as of 07:06, 14 July 2026

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