Retrieves available transfer learning models

Retrieves available transfer learning models

Retrieves available transfer learning models

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/optimize/transfer-learning-models
Path parameters
projectId*integer

Project ID

Response

Block info

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

models*object
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/transfer-learning-models', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "models": {
    "image": [
      {
        "name": "text",
        "shortName": "text",
        "abbreviatedName": "text",
        "description": "text",
        "hasNeurons": false,
        "hasDropout": false,
        "defaultDropout": 0,
        "defaultLearningRate": 0,
        "defaultTrainingCycles": 0,
        "hasImageAugmentation": false,
        "type": "dense",
        "learnBlockType": "anomaly",
        "repositoryUrl": "text",
        "author": "text",
        "blockType": "official",
        "customParameters": [
          {
            "name": "Scale axes",
            "value": "text",
            "defaultValue": "text",
            "type": "text",
            "help": "Divide axes by this number",
            "param": "scale-axes",
            "selectOptions": [
              {
                "value": "text",
                "selected": false,
                "optionLabel": "text"
              }
            ],
            "readonly": false,
            "shouldShow": false,
            "showIf": {
              "parameter": "text",
              "operator": "eq",
              "value": "text"
            },
            "invalidText": "text",
            "section": "advanced",
            "multiline": false,
            "required": false
          }
        ],
        "displayCategory": "classical"
      }
    ],
    "objectDetection": [
      {
        "name": "text",
        "shortName": "text",
        "abbreviatedName": "text",
        "description": "text",
        "hasNeurons": false,
        "hasDropout": false,
        "defaultDropout": 0,
        "defaultLearningRate": 0,
        "defaultTrainingCycles": 0,
        "hasImageAugmentation": false,
        "type": "dense",
        "learnBlockType": "anomaly",
        "repositoryUrl": "text",
        "author": "text",
        "blockType": "official",
        "customParameters": [
          {
            "name": "Scale axes",
            "value": "text",
            "defaultValue": "text",
            "type": "text",
            "help": "Divide axes by this number",
            "param": "scale-axes",
            "selectOptions": [
              {
                "value": "text",
                "selected": false,
                "optionLabel": "text"
              }
            ],
            "readonly": false,
            "shouldShow": false,
            "showIf": {
              "parameter": "text",
              "operator": "eq",
              "value": "text"
            },
            "invalidText": "text",
            "section": "advanced",
            "multiline": false,
            "required": false
          }
        ],
        "displayCategory": "classical"
      }
    ],
    "kws": [
      {
        "name": "text",
        "shortName": "text",
        "abbreviatedName": "text",
        "description": "text",
        "hasNeurons": false,
        "hasDropout": false,
        "defaultDropout": 0,
        "defaultLearningRate": 0,
        "defaultTrainingCycles": 0,
        "hasImageAugmentation": false,
        "type": "dense",
        "learnBlockType": "anomaly",
        "repositoryUrl": "text",
        "author": "text",
        "blockType": "official",
        "customParameters": [
          {
            "name": "Scale axes",
            "value": "text",
            "defaultValue": "text",
            "type": "text",
            "help": "Divide axes by this number",
            "param": "scale-axes",
            "selectOptions": [
              {
                "value": "text",
                "selected": false,
                "optionLabel": "text"
              }
            ],
            "readonly": false,
            "shouldShow": false,
            "showIf": {
              "parameter": "text",
              "operator": "eq",
              "value": "text"
            },
            "invalidText": "text",
            "section": "advanced",
            "multiline": false,
            "required": false
          }
        ],
        "displayCategory": "classical"
      }
    ],
    "regression": [
      {
        "name": "text",
        "shortName": "text",
        "abbreviatedName": "text",
        "description": "text",
        "hasNeurons": false,
        "hasDropout": false,
        "defaultDropout": 0,
        "defaultLearningRate": 0,
        "defaultTrainingCycles": 0,
        "hasImageAugmentation": false,
        "type": "dense",
        "learnBlockType": "anomaly",
        "repositoryUrl": "text",
        "author": "text",
        "blockType": "official",
        "customParameters": [
          {
            "name": "Scale axes",
            "value": "text",
            "defaultValue": "text",
            "type": "text",
            "help": "Divide axes by this number",
            "param": "scale-axes",
            "selectOptions": [
              {
                "value": "text",
                "selected": false,
                "optionLabel": "text"
              }
            ],
            "readonly": false,
            "shouldShow": false,
            "showIf": {
              "parameter": "text",
              "operator": "eq",
              "value": "text"
            },
            "invalidText": "text",
            "section": "advanced",
            "multiline": false,
            "required": false
          }
        ],
        "displayCategory": "classical"
      }
    ],
    "classification": [
      {
        "name": "text",
        "shortName": "text",
        "abbreviatedName": "text",
        "description": "text",
        "hasNeurons": false,
        "hasDropout": false,
        "defaultDropout": 0,
        "defaultLearningRate": 0,
        "defaultTrainingCycles": 0,
        "hasImageAugmentation": false,
        "type": "dense",
        "learnBlockType": "anomaly",
        "repositoryUrl": "text",
        "author": "text",
        "blockType": "official",
        "customParameters": [
          {
            "name": "Scale axes",
            "value": "text",
            "defaultValue": "text",
            "type": "text",
            "help": "Divide axes by this number",
            "param": "scale-axes",
            "selectOptions": [
              {
                "value": "text",
                "selected": false,
                "optionLabel": "text"
              }
            ],
            "readonly": false,
            "shouldShow": false,
            "showIf": {
              "parameter": "text",
              "operator": "eq",
              "value": "text"
            },
            "invalidText": "text",
            "section": "advanced",
            "multiline": false,
            "required": false
          }
        ],
        "displayCategory": "classical"
      }
    ]
  }
}

Last updated