Add build-custom-learning-blocks experimental skill - #7
Merged
Conversation
Authoring guide for Edge Impulse custom learning blocks: the training container CLI contract, data directory formats (classification, object detection, anomaly), output artifacts, parameters.json for machine-learning blocks, Dockerfile rules, Keras/PyTorch skeletons, local testing with the blocks runner, and the init/push workflow. Distilled from docs.edgeimpulse.com custom-learning-blocks pages and the official example-custom-ml-block-keras, example-custom-ml-block- pytorch, and ml-block-yolov5 repositories.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
skills/.experimental/build-custom-learning-blocks, an authoring guide for Edge Impulse custom learning blocks (custom ML blocks), plus its row in the README experimental catalog table.Source
Distilled from the official documentation and example repositories:
All linked repositories confirmed public and not archived; all linked docs URLs confirmed resolving.
Intended use
Agents asked to scaffold, modify, test, or push a custom learning block: the training-container CLI contract, data directory formats (classification, object detection, anomaly), output artifact requirements,
parameters.jsonformachine-learningblocks, Dockerfile rules, Keras/PyTorch train-script skeletons, local testing withedge-impulse-blocks runner, and the init/push workflow.Overlap analysis
Complements the stable
build-custom-deployment-blocksskill (deployment blocks:deployment-metadata.jsonin,deploy.zipout) — no overlap in contract; the two block types share only theedge-impulse-blocksCLI. No other skill covers training containers. Thefirmware-*skills consume exported models and sit downstream of this one.Validation performed
skills-ref validatepasses at the same pinned commit CI uses (38a2ff8);git diff --checkclean.--info-filevs--input-file, one-hot vs structured Y arrays, commit-vs-gitignore guidance for.ei-block-config).