Api session items neuralnetworks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (27 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/neuralnetworks/ | |||
Edit items with | 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" : | "version" : 6, | ||
"warnings" : "" | "warnings" : "" | ||
}, { | }, { | ||
| Line 152: | Line 153: | ||
"type" : "FLOAT" | "type" : "FLOAT" | ||
} ], | } ], | ||
"type" : "RCNN", | |||
"uploadDate" : 1734697444307, | "uploadDate" : 1734697444307, | ||
"uploaderName" : "Tygron", | "uploaderName" : "Tygron", | ||
"version" : | "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> | ||
== | ==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> | ||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 180: | Line 184: | ||
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 | ==Api Model DataType== | ||
API Model description of | API Enumeration description of DataType | ||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
| FLOAT | |||
| | |||
|- | |||
| DOUBLE | |||
| | |||
|- | |||
| INT8 | |||
| | |||
|- | |||
| INT16 | |||
| | |||
|- | |||
| INT32 | |||
| | |||
|- | |||
| INT64 | |||
| | |||
|- | |||
| BOOL | |||
| | |||
|- | |||
| STRING | |||
| | |||
|- | |||
| UINT8 | |||
| | |||
|- | |||
| FLOAT16 | |||
| | |||
|- | |||
| BFLOAT16 | |||
| | |||
|- | |||
| UNKNOWN | |||
| | |||
|} | |||
==Api Model DefaultRCNN== | |||
API Model description of DefaultRCNN | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| attributes | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| description | |||
| String | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| legendEntries | |||
| LegendEntry<nowiki>[]</nowiki> | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| override | |||
| boolean | |||
| | |||
|- | |||
| producer | |||
| String | |||
| | |||
|- | |||
| tensors | |||
| Tensor<nowiki>[]</nowiki> | |||
| | |||
|- | |||
| type | |||
| Type | |||
| | |||
|- | |||
| uploadDate | |||
| long | |||
| | |||
|- | |||
| uploaderName | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|- | |||
| warnings | |||
| String | |||
| | |||
|} | |||
==Api Model Embedding== | |||
API Model description of Embedding | |||
{|class=wikitable | |||
!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 | |||
{|class=wikitable | {|class=wikitable | ||
| Line 188: | Line 346: | ||
!Description | !Description | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |||
| description | |||
| String | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |- | ||
| | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
| | | producer | ||
| | | String | ||
| | | | ||
|- | |- | ||
| | | type | ||
| | | Type | ||
| | | | ||
|- | |- | ||
| | | uploadDate | ||
| | | long | ||
| | | | ||
|- | |- | ||
| | | uploaderName | ||
| | | String | ||
| | | | ||
|- | |- | ||
| | | version | ||
| | | int | ||
| | | | ||
|- | |- | ||
| | | warnings | ||
| | | String | ||
| | | | ||
|} | |||
==Api Model LegendEntry== | |||
API Model description of LegendEntry | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |- | ||
| | | color | ||
| | | TColor | ||
| | | [[Color]] | ||
|- | |- | ||
| | | entryName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
| | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
| | | value | ||
| | | float | ||
| | | | ||
|} | |} | ||
| Line 245: | Line 420: | ||
!Description | !Description | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | 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 | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| attributes | |||
| Map<String,double[]> | |||
| | |||
|- | |- | ||
|description | | description | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|legendEntries | | legendEntries | ||
|LegendEntry<nowiki>[]</nowiki> | | LegendEntry<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|producer | | producer | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|tensors | | tensors | ||
|Tensor<nowiki>[]</nowiki> | | Tensor<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|uploadDate | | type | ||
|long | | Type | ||
| | | | ||
|- | |||
| uploadDate | |||
| long | |||
| | |||
|- | |||
| uploaderName | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|- | |||
| warnings | |||
| 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 | |||
| | |||
|} | |||
==Api Model Type (NeuralNetwork)== | |||
API Enumeration description of Type | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |- | ||
| | | RCNN | ||
| | |||
| | |||
|- | |- | ||
| | | LLM | ||
| | |||
| | |||
|- | |- | ||
| | | EMBEDDING | ||
| | |||
| | |||
|} | |} | ||
| Line 295: | Line 578: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
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_TOKENExample 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_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/neuralnetworks/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/neuralnetworks/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/neuralnetworks/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/neuralnetworks/?f=ZIPSMILE&token=API_TOKENApi 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 |