curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/transfer-learning/{transferLearningId} \
--header 'x-api-key: <api-key>'{
"success": true,
"transferLearningBlock": {
"id": 123,
"name": "<string>",
"dockerContainer": "<string>",
"dockerContainerManagedByEdgeImpulse": true,
"created": "2023-11-07T05:31:56Z",
"description": "<string>",
"operatesOn": "object_detection",
"implementationVersion": 123,
"isPublic": true,
"isPublicForDevices": [
"<string>"
],
"isPublicEnterpriseOnly": true,
"parameters": [
{}
],
"indRequiresGpu": true,
"sourceCodeAvailable": true,
"sourceCodeDownloadStaffOnly": true,
"indBlockNoLongerAvailable": true,
"createdByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
},
"lastUpdated": "2023-11-07T05:31:56Z",
"lastUpdatedByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
},
"userId": 123,
"userName": "<string>",
"objectDetectionLastLayer": "mobilenet-ssd",
"publicProjectTierAvailability": "enterprise-only",
"enterpriseOnly": true,
"repositoryUrl": "<string>",
"imageInputScaling": "0..1",
"displayCategory": "classical",
"customModelVariants": [
{
"key": "<string>",
"name": "<string>",
"inferencingEntrypoint": "<string>",
"profilingEntrypoint": "<string>",
"modelFiles": [
{
"id": "<string>",
"name": "<string>",
"type": "binary",
"description": "<string>"
}
]
}
],
"blockNoLongerAvailableReason": "<string>"
},
"error": "<string>"
}Gets a transfer learning block.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/transfer-learning/{transferLearningId} \
--header 'x-api-key: <api-key>'{
"success": true,
"transferLearningBlock": {
"id": 123,
"name": "<string>",
"dockerContainer": "<string>",
"dockerContainerManagedByEdgeImpulse": true,
"created": "2023-11-07T05:31:56Z",
"description": "<string>",
"operatesOn": "object_detection",
"implementationVersion": 123,
"isPublic": true,
"isPublicForDevices": [
"<string>"
],
"isPublicEnterpriseOnly": true,
"parameters": [
{}
],
"indRequiresGpu": true,
"sourceCodeAvailable": true,
"sourceCodeDownloadStaffOnly": true,
"indBlockNoLongerAvailable": true,
"createdByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
},
"lastUpdated": "2023-11-07T05:31:56Z",
"lastUpdatedByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
},
"userId": 123,
"userName": "<string>",
"objectDetectionLastLayer": "mobilenet-ssd",
"publicProjectTierAvailability": "enterprise-only",
"enterpriseOnly": true,
"repositoryUrl": "<string>",
"imageInputScaling": "0..1",
"displayCategory": "classical",
"customModelVariants": [
{
"key": "<string>",
"name": "<string>",
"inferencingEntrypoint": "<string>",
"profilingEntrypoint": "<string>",
"modelFiles": [
{
"id": "<string>",
"name": "<string>",
"type": "binary",
"description": "<string>"
}
]
}
],
"blockNoLongerAvailableReason": "<string>"
},
"error": "<string>"
}Organization ID
Transfer learning ID
OK
Whether the operation succeeded
Show child attributes
object_detection, audio, image, regression, other Whether this block is publicly available to Edge Impulse users (if false, then only for members of the owning organization)
If isPublic is true, the list of devices (from latencyDevices) for which this model can be shown.
Whether this block is publicly available to only enterprise users
List of parameters, spec'ed according to https://docs.edgeimpulse.com/docs/tips-and-tricks/adding-parameters-to-custom-blocks
If set, requires this block to be scheduled on GPU.
Whether the source code is only available for staff users.
If set, then this block is no longer available for training; and blockNoLongerAvailableReason will be set.
mobilenet-ssd, fomo, yolov2-akida, yolov5, yolov5v5-drpai, yolox, yolov7, yolo-pro, tao-retinanet, tao-ssd, tao-yolov3, tao-yolov4, yolov11, yolov11-abs For public blocks, this indicates the project tiers for which this block is available.
enterprise-only, pro-or-enterprise, all-projects Whether this block is available to only enterprise users
URL to the source code of this custom learn block.
Normalization that is applied to images. If this is not set then 0..1 is used. "0..1" gives you non-normalized pixels between 0 and 1. "-1..1" gives you non-normalized pixels between -1 and 1. "0..255" gives you non-normalized pixels between 0 and 255. "-128..127" gives you non-normalized pixels between -128 and 127. "torch" first scales pixels between 0 and 1, then applies normalization using the ImageNet dataset (same as torchvision.transforms.Normalize()). "bgr-subtract-imagenet-mean" scales to 0..255, reorders pixels to BGR, and subtracts the ImageNet mean from each channel.
0..1, -1..1, -128..127, 0..255, torch, bgr-subtract-imagenet-mean Category to display this block in the UI.
classical, tao, developer-preview List of custom model variants produced when this block is trained. This is experimental and may change in the future.
Show child attributes
Unique identifier or key for this custom variant
Custom variant display name
The entrypoint command to run custom inferencing for this model variant, via the learn block container
The entrypoint command to run custom profiling for this model variant, via the learn block container
Show child attributes
Output artifact unique file ID, in kebab case
Output artifact file name
Output artifact file type
binary, json, text Output artifact file description
In Markdown format. Set if indBlockNoLongerAvailable is true, contains migration information for existing users of this block.
Optional error description (set if 'success' was false)
Was this page helpful?