Api session items neuralnetworks: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 4: Line 4:


Default Query:
Default Query:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?f=JSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/?token=API_TOKEN</syntaxhighlight>
Example Response:
Example Response:
<syntaxhighlight lang="text" copy>[ {
<syntaxhighlight lang="text" copy>[ {
Line 84: Line 84:
     "type" : "FLOAT"
     "type" : "FLOAT"
   } ],
   } ],
  "type" : "RCNN",
   "uploadDate" : 1734698290534,
   "uploadDate" : 1734698290534,
   "uploaderName" : "Tygron",
   "uploaderName" : "Tygron",
Line 152: Line 153:
     "type" : "FLOAT"
     "type" : "FLOAT"
   } ],
   } ],
  "type" : "RCNN",
   "uploadDate" : 1734697444307,
   "uploadDate" : 1734697444307,
   "uploaderName" : "Tygron",
   "uploaderName" : "Tygron",
   "version" : 2,
   "version" : 7,
   "warnings" : ""
   "warnings" : ""
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
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==
max version:  
Attributes:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/attributes/?token=API_TOKEN</syntaxhighlight>
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>
Specific Item by ID:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/neuralnetworks/{id}/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  
Line 224: Line 230:
|}
|}


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


{|class=wikitable
{|class=wikitable
Line 262: Line 268:
| tensors
| tensors
| Tensor<nowiki>[]</nowiki>
| Tensor<nowiki>[]</nowiki>
|
|-
| type
| Type
|
|-
| uploadDate
| long
|
|-
| uploaderName
| String
|
|-
| version
| int
|
|-
| warnings
| String
|
|}
==Api Model Diffusion==
API Model description of Diffusion
{|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 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 GenAI==
API Model description of GenAI
{|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
|
|-
| upgradeID
| int
| [[Neural Network]] ID
|-
|-
| uploadDate
| uploadDate
Line 308: Line 518:
==Api Model NeuralNetwork==
==Api Model NeuralNetwork==
API Model description of NeuralNetwork
API Model description of NeuralNetwork
{|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 RCNN==
API Model description of RCNN


{|class=wikitable
{|class=wikitable
Line 340: Line 599:
| tensors
| tensors
| Tensor<nowiki>[]</nowiki>
| Tensor<nowiki>[]</nowiki>
|
|-
| type
| Type
|  
|  
|-
|-
Line 394: Line 657:
| type
| type
| DataType
| DataType
|
|}
==Api Model Type (NeuralNetwork)==
API Enumeration description of Type
{|class=wikitable
!Name
!Description
|-
| RCNN
|
|-
| LLM
|
|-
| EMBEDDING
|
|-
| DIFFUSION
|  
|  
|}
|}

Latest revision as of 10:20, 13 November 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/?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" : 1,
  "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" : 7,
  "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

Specific Item by ID:

https://engine.tygron.com/api/session/items/neuralnetworks/{id}/?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 Diffusion

API Model description of Diffusion

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 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 GenAI

API Model description of GenAI

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
upgradeID int Neural Network ID
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
DIFFUSION