Keras information
Last updated
Was this helpful?
Last updated
Was this helpful?
Get information about a Keras block, such as its dependencies. Use the impulse blocks to find the learnId.
/api/{projectId}/training/keras/{learnId}
Project ID
Learn Block ID, use the impulse functions to retrieve the ID
curl -L \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/training/keras/{learnId}' \
--header 'x-api-key: YOUR_API_KEY'
{
"success": true,
"error": "text",
"dependencies": {
"featureCount": 1,
"sampleCount": 1,
"classes": [
"text"
],
"blockNames": [
"text"
]
},
"trained": true,
"name": "text",
"type": "anomaly",
"script": "text",
"minimumConfidenceRating": 1,
"selectedModelType": "int8",
"trainingCycles": 1,
"learningRate": 1,
"batchSize": 1,
"defaultBatchSize": 1,
"shape": "text",
"trainTestSplit": 1,
"autoClassWeights": true,
"useLearnedOptimizer": true,
"augmentationPolicyImage": "none",
"augmentationPolicySpectrogram": {
"enabled": true,
"warping": true,
"freqMasking": "none",
"timeMasking": "none",
"gaussianNoise": "none"
},
"profileInt8": true,
"skipEmbeddingsAndMemory": true,
"akidaEdgeLearningConfig": {
"enabled": true,
"additionalClasses": 1,
"neuronsPerClass": 1
},
"customValidationMetadataKey": "text",
"showAdvancedTrainingSettings": true,
"showAugmentationTrainingSettings": true,
"anomalyCapacity": "low",
"lastShownModelVariant": "int8",
"lastShownModelEngine": "tflite-eon",
"blockParameters": {
"backbone": "text",
"numLayers": 1,
"poolSize": 1,
"samplingRatio": 1,
"numNearestNeighbors": 1
},
"mode": "visual",
"visualLayers": [
{
"type": "dense",
"neurons": 1,
"kernelSize": 1,
"dropoutRate": 1,
"columns": 1,
"stack": 1,
"enabled": true,
"organizationModelId": 1
}
],
"transferLearningModels": [
{
"name": "text",
"shortName": "text",
"abbreviatedName": "text",
"description": "text",
"hasNeurons": true,
"hasDropout": true,
"defaultNeurons": 1,
"defaultDropout": 1,
"defaultLearningRate": 1,
"defaultTrainingCycles": 1,
"hasImageAugmentation": true,
"type": "dense",
"learnBlockType": "anomaly",
"organizationModelId": 1,
"implementationVersion": 1,
"repositoryUrl": "text",
"author": "text",
"blockType": "official",
"displayCategory": "classical",
"customParameters": [
{
"name": "Scale axes",
"value": "text",
"defaultValue": "text",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"readonly": true,
"shouldShow": true,
"invalidText": "text",
"multiline": true,
"required": true,
"hint": "text",
"placeholder": "text",
"section": "advanced",
"showIf": {
"parameter": "text",
"value": "text",
"operator": "eq"
},
"selectOptions": [
{
"value": "text",
"selected": true,
"optionLabel": "text"
}
]
}
]
}
],
"customParameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
OK