{"id":16299743,"url":"https://github.com/koji/tensorflowjs-and-keras","last_synced_at":"2026-01-21T14:08:17.137Z","repository":{"id":91475357,"uuid":"139504144","full_name":"koji/tensorflowjs-and-keras","owner":"koji","description":"tensorflowjs and keras","archived":false,"fork":false,"pushed_at":"2022-12-09T00:38:39.000Z","size":15487,"stargazers_count":3,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T09:27:17.451Z","etag":null,"topics":["javascript","keras","machine-learning","nodejs","tensorflowjs"],"latest_commit_sha":null,"homepage":"https://sleepy-maker.github.io/tensorflowjs-and-keras/image_classification/webcam/app/public/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-02T23:17:40.000Z","updated_at":"2023-03-09T04:04:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd54a295-e922-45ec-8590-402241f80c0b","html_url":"https://github.com/koji/tensorflowjs-and-keras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/koji/tensorflowjs-and-keras","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Ftensorflowjs-and-keras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Ftensorflowjs-and-keras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Ftensorflowjs-and-keras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Ftensorflowjs-and-keras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koji","download_url":"https://codeload.github.com/koji/tensorflowjs-and-keras/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koji%2Ftensorflowjs-and-keras/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28634790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","keras","machine-learning","nodejs","tensorflowjs"],"created_at":"2024-10-10T20:49:19.443Z","updated_at":"2026-01-21T14:08:17.120Z","avatar_url":"https://github.com/koji.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tensorflowjs and Keras\n\n## setup\n```zsh\n$ pip install tensorflowjs\n```\n\n## convert Keras model to Tensorflowjs model with command\n```zsh\n$ tensorflowjs_converter --input_format keras models/mobilenet_v2.h5 models4js/mobilenet_v2\n```\n\n\n## convert Keras model to Tensorflowjs model\n```zsh\nfor VGG16\n$ python keras2tensorflow_forVGG16.py\n\nfor MobileNet V2\n$ python keras2tensorflow_formobilenet.py\n```\nIn terms of mobilenet_v2, if you got an error, you would need to update Keras\n```zsh\n$ pip install -U keras\n```\nmodel.json is a meta-data file.  \n\n\n \n## How to try this\n```zsh\n\nclone this repo\n$ git clone https://github.com/sleepy-maker/tensorflowjs-and-keras.git\n\n$ cd image_classification/app\n\n$ npm install\n\n$ node server.js\n\n```\n\n#### demo\nimage_uploader version\nhttps://sleepy-maker.github.io/tensorflowjs-and-keras/image_classification/image_uploader/app/public/     \nwebcam version    \nhttps://sleepy-maker.github.io/tensorflowjs-and-keras/image_classification/webcam/app/public/      \n\n## ToDo\n- [x] Add a function which allows users to select a model(VGG16/MobileNet)\n- [x] Optimize model loading process  \n- [x] Add webcam function \n- [ ] Rewrite with reactjs with typescript\n- [ ] Add new functions  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Ftensorflowjs-and-keras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoji%2Ftensorflowjs-and-keras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoji%2Ftensorflowjs-and-keras/lists"}