{"id":20694950,"url":"https://github.com/heedrox/fastai-selfie-counter","last_synced_at":"2025-03-11T02:28:50.952Z","repository":{"id":80788254,"uuid":"223601918","full_name":"heedrox/fastai-selfie-counter","owner":"heedrox","description":"A People in Selfie Counter made with fastai after lesson2","archived":false,"fork":false,"pushed_at":"2023-05-01T21:17:14.000Z","size":93202,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T18:03:07.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/heedrox.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":"2019-11-23T14:27:56.000Z","updated_at":"2019-11-24T14:22:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc8371ae-9d85-478d-9a34-66f015834d24","html_url":"https://github.com/heedrox/fastai-selfie-counter","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/heedrox%2Ffastai-selfie-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ffastai-selfie-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ffastai-selfie-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ffastai-selfie-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heedrox","download_url":"https://codeload.github.com/heedrox/fastai-selfie-counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242958581,"owners_count":20212836,"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-17T00:07:22.835Z","updated_at":"2025-03-11T02:28:50.940Z","avatar_url":"https://github.com/heedrox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# People in selfie counter - made with fast.ai\n\nReturns how many people are in a selfie: 0, 1, 2, 3, 4-more\n\nA fast.ai model trained by Jordi Martí.\n\nThanks to fast.ai for its courses - https://course.fast.ai/\n\nReally practical courses for developers and anxious people like me. Really, thanks!\n\n# Starlette\n\nWith python3:\n\n```\npython3 -m venv venv\nsource venv/bin/activate\n\npip3 install fastai\npip3 install aiohttp\npip3 install starlette\npip3 install uvicorn\n```\n\nRun it with uvicorn:\n```\nuvicorn index:app\n```\n\nUsage: http://127.0.0.1:8000/classify-url?url=(encoded-url)\n\n# Google Cloud Platform\n\nThanks to:\n- https://forums.fast.ai/t/productionizing-models-thread/28353/124\n- https://forums.fast.ai/t/attributeerror-relu-object-has-no-attribute-threshold/50489\n\nDeploy google cloud function:\n\nIf you have the default project ready:\n```\ngcloud config set gcloudignore/enabled true\ngcloud functions deploy classify --runtime python37 --trigger-http\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheedrox%2Ffastai-selfie-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheedrox%2Ffastai-selfie-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheedrox%2Ffastai-selfie-counter/lists"}