{"id":21070697,"url":"https://github.com/microbit-foundation/micropython-ml4f-poc","last_synced_at":"2025-03-14T02:42:33.448Z","repository":{"id":239203051,"uuid":"798335486","full_name":"microbit-foundation/micropython-ml4f-poc","owner":"microbit-foundation","description":"Experiment integrating ML4F into MicroPython for micro:bit V2","archived":false,"fork":false,"pushed_at":"2024-06-04T18:54:31.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:56:37.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microbit-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T15:16:13.000Z","updated_at":"2024-06-04T18:54:34.000Z","dependencies_parsed_at":"2024-11-19T18:48:31.585Z","dependency_job_id":"7f248688-9c0a-48ea-a02a-e36da76b2ecf","html_url":"https://github.com/microbit-foundation/micropython-ml4f-poc","commit_stats":null,"previous_names":["microbit-carlos/micropython-ml4f","microbit-foundation/micropython-ml4f-poc"],"tags_count":0,"template":false,"template_full_name":"microbit-foundation/micropython-cpp-module-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fmicropython-ml4f-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fmicropython-ml4f-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fmicropython-ml4f-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fmicropython-ml4f-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microbit-foundation","download_url":"https://codeload.github.com/microbit-foundation/micropython-ml4f-poc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513790,"owners_count":20303006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:47:52.226Z","updated_at":"2025-03-14T02:42:33.423Z","avatar_url":"https://github.com/microbit-foundation.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ML4F MicroPython module proof of concept\n\nAn experiment to integrate ML4F into MicroPython.\n\n\n## Build instructions\n\nClone this repository and initialise the git submodules (recursive submodule\ninit will unnecessarily initialise all submodules from all MicroPython ports):\n\n```bash\ngit clone https://github.com/microbit-foundation/micropython-ml4f-poc.git\ncd micropython-ml4f-poc\ngit submodule update --init\ngit -C micropython-microbit-v2 submodule update --init\ngit -C ml-module/pxt-ml-runner-poc submodule update --init\n```\n\nChanges to the micro:bit MicroPython port are required for this experiment:\n\n```bash\ngit -C micropython-microbit-v2 apply ../micropython-microbit-v2.patch\n```\n\nBuild MicroPython's mpy-cross:\n\n```bash\nmake -C micropython-microbit-v2/lib/micropython/mpy-cross\n```\n\nAnd build MicroPython with the ML module (and example model) included:\n\n```bash\nmake -C micropython-microbit-v2/src USER_C_MODULES=../../..\n```\n\nCopy the hex file to the micro:bit:\n```bash\ncp micropython-microbit-v2/src/build/MICROBIT.hex /Volumes/MICROBIT\n```\n\nTransfer the example Python code into the board with\n[microFS](https://github.com/ntoll/microfs):\n\n```bash\nufs put ml-module/model-example/main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fmicropython-ml4f-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrobit-foundation%2Fmicropython-ml4f-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fmicropython-ml4f-poc/lists"}