curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/config \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"name": "<string>",
"targetLatency": 0,
"targetDevice": {
"name": "cortex-m4f-80mhz",
"ram": 1024,
"rom": 1024
},
"compiler": [
"<string>"
],
"precision": [
"<string>"
],
"trainingCycles": 5,
"tuningMaxTrials": 2,
"tuningWorkers": 1,
"initialTrials": 5,
"optimizationRounds": 3,
"trialsPerOptimizationRound": 3,
"minMACCS": 123,
"maxMACCS": 123,
"tuningAlgorithm": "random",
"notificationOnCompletion": true,
"importProjectMetrics": true,
"importResourceMetrics": true,
"numImportProjectMetrics": 123,
"numImportResourceMetrics": 123,
"enableSEM": true,
"accuracySEM": 123,
"latencySEM": 123,
"optimizationObjectives": [
{
"objective": "<string>",
"label": "<string>",
"weight": 123
}
],
"rawObjectives": "<string>",
"optimizationPrecision": "float32",
"earlyStopping": true,
"earlyStoppingWindowSize": 123,
"earlyStoppingImprovementBar": 123,
"MOMF": true,
"verboseLogging": true,
"disableConstraints": true,
"disableDeduplicate": true,
"maxTotalTrainingTime": 123,
"tunerSpaceOptions": {},
"space": [
{
"parameters": {},
"inputBlocks": [
{}
],
"dspBlocks": [
{}
],
"learnBlocks": [
[
{}
]
]
}
],
"searchSpaceTemplate": {
"identifier": "speech_keyword",
"classification": true,
"anomaly": true,
"regression": true
},
"searchSpaceSource": {
"type": "template",
"templateTitle": "<string>",
"runTitle": "<string>",
"impulseTitle": "<string>"
},
"device": {}
}
Get config
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/config \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"name": "<string>",
"targetLatency": 0,
"targetDevice": {
"name": "cortex-m4f-80mhz",
"ram": 1024,
"rom": 1024
},
"compiler": [
"<string>"
],
"precision": [
"<string>"
],
"trainingCycles": 5,
"tuningMaxTrials": 2,
"tuningWorkers": 1,
"initialTrials": 5,
"optimizationRounds": 3,
"trialsPerOptimizationRound": 3,
"minMACCS": 123,
"maxMACCS": 123,
"tuningAlgorithm": "random",
"notificationOnCompletion": true,
"importProjectMetrics": true,
"importResourceMetrics": true,
"numImportProjectMetrics": 123,
"numImportResourceMetrics": 123,
"enableSEM": true,
"accuracySEM": 123,
"latencySEM": 123,
"optimizationObjectives": [
{
"objective": "<string>",
"label": "<string>",
"weight": 123
}
],
"rawObjectives": "<string>",
"optimizationPrecision": "float32",
"earlyStopping": true,
"earlyStoppingWindowSize": 123,
"earlyStoppingImprovementBar": 123,
"MOMF": true,
"verboseLogging": true,
"disableConstraints": true,
"disableDeduplicate": true,
"maxTotalTrainingTime": 123,
"tunerSpaceOptions": {},
"space": [
{
"parameters": {},
"inputBlocks": [
{}
],
"dspBlocks": [
{}
],
"learnBlocks": [
[
{}
]
]
}
],
"searchSpaceTemplate": {
"identifier": "speech_keyword",
"classification": true,
"anomaly": true,
"regression": true
},
"searchSpaceSource": {
"type": "template",
"templateTitle": "<string>",
"runTitle": "<string>",
"impulseTitle": "<string>"
},
"device": {}
}
Project ID
OK
The response is of type object
.