{"id":23080738,"url":"https://github.com/chen0040/keras-image-classifier-web-api","last_synced_at":"2026-05-07T18:43:15.508Z","repository":{"id":85884611,"uuid":"103504579","full_name":"chen0040/keras-image-classifier-web-api","owner":"chen0040","description":"Keras image classifier provided as web api","archived":false,"fork":false,"pushed_at":"2018-03-14T05:54:14.000Z","size":87261,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T13:48:00.093Z","etag":null,"topics":["flask","image-classifier","keras","keras-image-classifier","ml-web","multi","train-classifier"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/chen0040.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":"2017-09-14T08:07:42.000Z","updated_at":"2018-04-15T13:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"59438abf-2635-4e16-8ab3-d974375bb1da","html_url":"https://github.com/chen0040/keras-image-classifier-web-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chen0040/keras-image-classifier-web-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fkeras-image-classifier-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fkeras-image-classifier-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fkeras-image-classifier-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fkeras-image-classifier-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chen0040","download_url":"https://codeload.github.com/chen0040/keras-image-classifier-web-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen0040%2Fkeras-image-classifier-web-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32751756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["flask","image-classifier","keras","keras-image-classifier","ml-web","multi","train-classifier"],"created_at":"2024-12-16T13:16:14.820Z","updated_at":"2026-05-07T18:43:15.503Z","avatar_url":"https://github.com/chen0040.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keras-image-classifier-web-api\n\nThis provides keras DCNN-based image classifiers codes with flask as the web api server for the image classifiers.\n\n# Usage\n\nRun the following command to install the keras, flask and other dependency modules:\n\n```bash\nsudo pip install -r requirements.txt\n```\n\n## Training (Optional)\n\nAs the trained models are already included in the [demo/models](demo/models) folder in the project, the training is\nnot required. However, if you like to tune the parameters and retrain the models, you can use the \nfollowing command to run the training:\n\n```bash\ncd demo\npython cnn_cifar10_train.py\n```\n\nThe above commands will train dcnn model on the cifar10 dataset \ndataset and store the trained model in [demo/models/cnn_cifar10_**](demo/models)\n\nIf you like to train other models, you can use the same command above on another train python scripts:\n\n* cnn_bi_classifier.py: a simple cnn bi-class classifier trained using data in the [demo/bi-classifier_data](demo/bi_classifier_data) folder\n\n## Running Web Api Server\n\nGoto demo_web directory and run the following command:\n\n```bash\npython flaskr.py\n```\n\nNow navigate your browser to http://localhost:5000 and you can try out various predictors built with the following\ntrained classifiers:\n\n* binary classifier on \"cats vs dogs\" data\n* multi-class DCNN classifier trained with CIFAR-10 data\n* multi-class VGG16 classifier trained with ImageNet data\n* multi-class VGG19 classifier trained with ImageNet data\n* multi-class Residual Network classifier trained with ImageNet data\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen0040%2Fkeras-image-classifier-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen0040%2Fkeras-image-classifier-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen0040%2Fkeras-image-classifier-web-api/lists"}