{"id":18835275,"url":"https://github.com/mlpack/onnx-mlpack","last_synced_at":"2025-04-14T05:30:33.974Z","repository":{"id":243328994,"uuid":"809581906","full_name":"mlpack/onnx-mlpack","owner":"mlpack","description":"onnx to mlpack converter (Under construction)","archived":false,"fork":false,"pushed_at":"2025-02-23T14:13:54.000Z","size":163382,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T19:21:40.804Z","etag":null,"topics":["mlpack","mlpack-library","mobilenet-ssd","mobilenetv2","neural-networks","object-detection","onnx","onnx-models"],"latest_commit_sha":null,"homepage":"","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/mlpack.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-06-03T03:42:15.000Z","updated_at":"2025-03-17T06:11:26.000Z","dependencies_parsed_at":"2025-02-14T14:39:52.754Z","dependency_job_id":null,"html_url":"https://github.com/mlpack/onnx-mlpack","commit_stats":null,"previous_names":["kumarutkarsh1248/onnx-mlpack-converter","mlpack/onnx-mlpack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fonnx-mlpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fonnx-mlpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fonnx-mlpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fonnx-mlpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlpack","download_url":"https://codeload.github.com/mlpack/onnx-mlpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248826442,"owners_count":21167693,"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":["mlpack","mlpack-library","mobilenet-ssd","mobilenetv2","neural-networks","object-detection","onnx","onnx-models"],"created_at":"2024-11-08T02:15:30.332Z","updated_at":"2025-04-14T05:30:28.963Z","avatar_url":"https://github.com/mlpack.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ONNX-mlpack Translator\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"http://mlpack.org\"\u003e\n    \u003cimg src=\"img/onnx-mlpack.png\" alt=\"ONNX-mlpack Translator\" height=\"70%\" width=\"70%\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ch2\u003eUnlock the Power of Other Frameworks in mlpack\u003c/h2\u003e\n\u003c/div\u003e\n\n\nThis repository contains a converter for certain machine learning models from\nonnx to mlpack format. Currently this repository is still under construction\nand might undergo some major refactoring, please use with cautios.\n\n### The repository is in developing phase and its been tested on the following models.\n\n| Models              | Graph Generation | Weight Transfer |\n| ------------------- | ---------------- | --------------- |\n| mobileNet           | ✔️               | ✔️              |\n| yolo-tiny v2        | ✔️               | ✔️              |\n| Iris classification | ✔️               | ✔️              |\n\n## ONNX-mlpack Repository Setup Guide:\n\n### Prerequisites\n\n1. **MLPack Installation:**\n    - Ensure that MLPack is installed on your local system. Follow the [official MLPack build instructions](https://github.com/mlpack/mlpack#:~:text=3.%20Installing%20and%20using%20mlpack%20in%20C%2B%2B) to complete this step.\n    \n1. **ONNX Installation:**\n    - If you don't have Protobuf installed, ONNX will internally download and build Protobuf during its build process. You only need to build ONNX. Refer to the [official ONNX build instructions](https://github.com/onnx/onnx#:~:text=conda%2Dforge%20onnx-,Build%20ONNX%20from%20Source,-Before%20building%20from) for more details.\n    - However, to avoid potential version issues in the future, we have provided a zipped format of ONNX in the `build_onnx` repository along with a script that will directly install ONNX on your system.\n    - \nfollow the below instruction to build onnx and make the repository running:\n\n\n### Steps to Build ONNX\n\n1. **Clone the Repository:**\n    - Clone the `onnx-mlpack` repository to your local system and navigate to the repository directory.\n    \n2. **Build ONNX:**\n    - Run the following commands to build ONNX:\n        `chmod +x run.sh` \n\t    `./run.sh`\n        \n    - This will generate all the necessary build files for ONNX inside the `build_onnx` folder.\n    \n3. **Verify mlpack and ONNX Build:**\n    - With both ONNX and mlpack built, it's time to test the setup with an example repository.\n\n### Running the Example Repository\n\n1. Go to the `example/iris-classification` folder.\n    \n2. In the Makefile, update the mlpack header path to match your mlpack build path. For example:\n      `-I/home/your_username/mlpack/build/installdir/include`\n        \n3. Run the make command and check the console output to verify that everything is working correctly.\n   If everythig goes fine you can similarly run the other example as well.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlpack%2Fonnx-mlpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlpack%2Fonnx-mlpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlpack%2Fonnx-mlpack/lists"}