{"id":18860219,"url":"https://github.com/modelzoo/imageclassification","last_synced_at":"2025-04-14T12:30:37.816Z","repository":{"id":86735309,"uuid":"151757927","full_name":"ModelZoo/ImageClassification","owner":"ModelZoo","description":"Image Classification Model implemented by ModelZoo","archived":false,"fork":false,"pushed_at":"2019-11-16T19:04:31.000Z","size":14,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T01:48:53.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/ModelZoo.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-10-05T17:48:01.000Z","updated_at":"2022-09-06T08:56:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"917535b7-ef0d-4089-ad99-b7f43457d51b","html_url":"https://github.com/ModelZoo/ImageClassification","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/ModelZoo%2FImageClassification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelZoo%2FImageClassification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelZoo%2FImageClassification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelZoo%2FImageClassification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModelZoo","download_url":"https://codeload.github.com/ModelZoo/ImageClassification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881267,"owners_count":21176823,"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-08T04:22:40.773Z","updated_at":"2025-04-14T12:30:37.807Z","avatar_url":"https://github.com/ModelZoo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageClassification\n\nImage Classification Model implemented by [ModelZoo](https://github.com/ModelZoo/ModelZoo).\n\n\n## Installation\n\nFirstly you need to clone this repository and install dependencies with pip:\n\n```\npip3 install -r requirements.txt\n```\n\n## Dataset\n\nWe use Fashion Mnist dataset for example.\n\n## Usage\n\nWe can run this model like this:\n\n```\npython3 train.py\n```\n\nOutputs like this:\n\n```\nEpoch 1/20\n1874/1875 [============================\u003e.] - ETA: 0s - loss: 0.4318 - acc: 0.8427\n1875/1875 [==============================] - 80s 43ms/step - loss: 0.4318 - acc: 0.8427 - val_loss: 0.3753 - val_acc: 0.8644\nEpoch 2/20\n1873/1875 [============================\u003e.] - ETA: 0s - loss: 0.3295 - acc: 0.8777\nEpoch 00002: saving model to checkpoints/model.ckpt\n1875/1875 [==============================] - 82s 44ms/step - loss: 0.3295 - acc: 0.8777 - val_loss: 0.3684 - val_acc: 0.8716\nEpoch 3/20\n1872/1875 [============================\u003e.] - ETA: 0s - loss: 0.2982 - acc: 0.8887\n1875/1875 [==============================] - 70s 37ms/step - loss: 0.2984 - acc: 0.8887 - val_loss: 0.3563 - val_acc: 0.8726\nEpoch 4/20\n1873/1875 [============================\u003e.] - ETA: 0s - loss: 0.2872 - acc: 0.8952\nEpoch 00004: saving model to checkpoints/model.ckpt\n1875/1875 [==============================] - 53s 28ms/step - loss: 0.2873 - acc: 0.8952 - val_loss: 0.3418 - val_acc: 0.8775\nEpoch 5/20\n1872/1875 [============================\u003e.] - ETA: 0s - loss: 0.2679 - acc: 0.9000\n1875/1875 [==============================] - 61s 33ms/step - loss: 0.2678 - acc: 0.9000 - val_loss: 0.3331 - val_acc: 0.8831\n```\n\nOK, we've finished training. Just so quickly.\n\n## TensorBoard\n\nGo to `events` folder, and run TensorBoard:\n\n```\ncd events\ntensorboard --logdir=.\n```\n\n![](https://ws3.sinaimg.cn/large/006tNbRwgy1fvyhyl3daej31kw0rytcw.jpg)\n\n## Performance\n\nHere is the benchmark of implemented models:\n\n| Models | Eval Accuracy | Eval Loss |\n| ------ | ------------- | --------- |\n| FashionMnistModel | 0.8630 | 0.3945 |\n\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelzoo%2Fimageclassification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelzoo%2Fimageclassification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelzoo%2Fimageclassification/lists"}