{"id":13420191,"url":"https://github.com/sh1r0/caffe-android-lib","last_synced_at":"2025-03-15T06:32:05.200Z","repository":{"id":70792819,"uuid":"23116836","full_name":"sh1r0/caffe-android-lib","owner":"sh1r0","description":"Porting caffe to android platform","archived":false,"fork":false,"pushed_at":"2018-12-11T10:12:03.000Z","size":272,"stargazers_count":508,"open_issues_count":17,"forks_count":205,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-07-31T22:53:54.529Z","etag":null,"topics":["android-platform","caffe"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sh1r0.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}},"created_at":"2014-08-19T16:13:03.000Z","updated_at":"2024-05-11T09:45:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"db703a57-6dab-4e44-813d-72d33e6ff982","html_url":"https://github.com/sh1r0/caffe-android-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh1r0%2Fcaffe-android-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh1r0%2Fcaffe-android-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh1r0%2Fcaffe-android-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh1r0%2Fcaffe-android-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sh1r0","download_url":"https://codeload.github.com/sh1r0/caffe-android-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221548309,"owners_count":16840988,"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":["android-platform","caffe"],"created_at":"2024-07-30T22:01:28.358Z","updated_at":"2024-10-26T15:31:51.463Z","avatar_url":"https://github.com/sh1r0.png","language":"Shell","readme":"Caffe-Android-Lib\n===============\n\n## Goal\nPorting [caffe](https://github.com/BVLC/caffe) to android platform\n\n### Support\n* Up-to-date caffe ([d91572d](https://github.com/BVLC/caffe/commit/d91572da2ea5e63c9eaacaf013dfbcbc0ada5f67))\n* CPU only\n* No support for hdf5\n\n## Build\n\n### RECOMMENDED: Using Docker\n```sh\ngit clone --recursive https://github.com/sh1r0/caffe-android-lib.git\ncd caffe-android-lib\n# build image\ndocker build -t caffe-android-lib .\n# run a container for building your own caffe-android-lib, e.g.,\ndocker run --rm --name caffe-android-builder \\\n    -e ANDROID_ABI=x86_64 \\\n    -e N_JOBS=2 \\\n    -v $(pwd)/android_lib/x86_64:/caffe-android-lib/android_lib \\\n    caffe-android-lib ./build.sh\n```\n\n### On local machine\n\nTested with Android NDK r11c and cmake 3.5.2 on Ubuntu 14.04\n\n```sh\ngit clone --recursive https://github.com/sh1r0/caffe-android-lib.git\ncd caffe-android-lib\nexport ANDROID_ABI=x86_64\nexport NDK_ROOT=/path/to/ndk\n./build.sh\n```\n\n### NOTE: OpenBLAS\nOpenBLAS is the only supported BLAS choice now, and the supported ABIs are the following:\n\n* `armeabi`\n* `armeabi-v7a`\n* `arm64-v8a` (default)\n* `x86`\n* `x86_64`\n\n## Issues\n\nAny comments, issues or PRs are welcomed.\nThanks.\n\n## TODO\n- [ ] Integrate using CMake's ExternalProject\n- [ ] Support HDF5\n- [ ] OpenCL support\n- [ ] CUDA suuport\n\n## Optional\n`.envrc` files are for [direnv](http://direnv.net/)\n\u003e direnv is an environment variable manager for your shell. It knows how to hook into bash, zsh and fish shell to load or unload environment variables depending on your current directory. This allows to have project-specific environment variables and not clutter the \"~/.profile\" file.\n","funding_links":[],"categories":["TODO scan for Android support in followings","\u003ca name=\"Tools\"\u003e\u003c/a\u003e6. Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh1r0%2Fcaffe-android-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsh1r0%2Fcaffe-android-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh1r0%2Fcaffe-android-lib/lists"}