{"id":22900389,"url":"https://github.com/yomi4486/cat_discrimination","last_synced_at":"2026-05-06T19:32:10.442Z","repository":{"id":238509778,"uuid":"796708025","full_name":"yomi4486/cat_discrimination","owner":"yomi4486","description":"猫の種類の判別を行うAPIです。","archived":false,"fork":false,"pushed_at":"2024-11-28T06:36:23.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T03:25:04.266Z","etag":null,"topics":["adam-optimizer","ai","fastapi","keras","python3","tensorflow"],"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/yomi4486.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":"2024-05-06T13:31:16.000Z","updated_at":"2024-12-02T15:54:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e761ed54-79b5-4c49-a91b-c3a7440b22f9","html_url":"https://github.com/yomi4486/cat_discrimination","commit_stats":null,"previous_names":["yomi4486/cat_discrimination"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yomi4486%2Fcat_discrimination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yomi4486%2Fcat_discrimination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yomi4486%2Fcat_discrimination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yomi4486%2Fcat_discrimination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yomi4486","download_url":"https://codeload.github.com/yomi4486/cat_discrimination/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586048,"owners_count":20801026,"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":["adam-optimizer","ai","fastapi","keras","python3","tensorflow"],"created_at":"2024-12-14T01:19:35.723Z","updated_at":"2026-05-06T19:32:10.413Z","avatar_url":"https://github.com/yomi4486.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 画像から猫の種類を判別するAPIです\nIntel Xeon E3-1231v3(Core i7-4770と同等性能)で、0.3秒で判別できます。\u003cbr\u003e\nモデルはオックスフォード大学が公開しているペットのデータセットを利用して訓練しました。\u003cbr\u003e\nhttps://www.robots.ox.ac.uk/~vgg/data/pets/\u003cbr\u003e\n\n必要なライブラリのインストールは下記コマンドでできます\n```sh\nmake install\n```\n\n下記コマンドでimagesフォルダ内に配置した画像を仕分け（アノテーションを作成）して、学習を行います。\u003cbr\u003e\n```sh\nmake train\n```\nh5モデルが問題なく使用可能な状態になっていれば、下記コマンドでAPIの起動ができます。\n```sh\nmake run\n```\n\n`test.py`でAPIの動作確認ができます。判別したい画像を`test_img`フォルダに配置して、引数にその画像の名前を指定して実行すれば結果が瞬時に帰ってきます。\nテスト用の画像が1枚入っているので、下記コマンドで試してみてください。\n```sh\npython3 test.py 1.jpeg\n```\n\n参考記事\nhttps://qiita.com/study_ryoma/items/a61ba10a3cd79acc5749","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyomi4486%2Fcat_discrimination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyomi4486%2Fcat_discrimination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyomi4486%2Fcat_discrimination/lists"}