{"id":22337485,"url":"https://github.com/vubacktracking/fast-api-deep-learning-model","last_synced_at":"2025-07-29T22:32:57.713Z","repository":{"id":231652779,"uuid":"781847887","full_name":"VuBacktracking/fast-api-deep-learning-model","owner":"VuBacktracking","description":"Deploy Deep Learning Model With FastAPI","archived":false,"fork":false,"pushed_at":"2024-04-07T14:47:38.000Z","size":11124,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-10T01:13:12.385Z","etag":null,"topics":["api","deel-learning","deploy","fastapi","image-classification","image-processing","python","pytorch","resnet"],"latest_commit_sha":null,"homepage":"","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/VuBacktracking.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":"2024-04-04T06:44:18.000Z","updated_at":"2024-06-05T09:00:26.000Z","dependencies_parsed_at":"2024-04-07T15:48:17.737Z","dependency_job_id":null,"html_url":"https://github.com/VuBacktracking/fast-api-deep-learning-model","commit_stats":null,"previous_names":["vubacktracking/deploy-deep-learning-model-with-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VuBacktracking%2Ffast-api-deep-learning-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VuBacktracking%2Ffast-api-deep-learning-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VuBacktracking%2Ffast-api-deep-learning-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VuBacktracking%2Ffast-api-deep-learning-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VuBacktracking","download_url":"https://codeload.github.com/VuBacktracking/fast-api-deep-learning-model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228054458,"owners_count":17862129,"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":["api","deel-learning","deploy","fastapi","image-classification","image-processing","python","pytorch","resnet"],"created_at":"2024-12-04T06:10:00.666Z","updated_at":"2024-12-04T06:10:01.720Z","avatar_url":"https://github.com/VuBacktracking.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Deep Learning Model with FastAPI\n## Project Overview\n\n![Overview](assets/inference.jpeg)\n\nPneumonia is a severe lung infection that can be life-threatening if not diagnosed and treated promptly. Chest X-ray imaging plays a crucial role in the early detection and diagnosis of Pneumonia. However, interpreting these images accurately requires specialized knowledge and expertise. This project addresses this challenge by developing a deep learning model capable of analyzing chest X-ray images and classifying them as either showing signs of Pneumonia or being normal.\n\n---\n\n### Directory Structure\n```\nroot/\n├── config/\n│   ├── pneumonia_cfg.py\n│   └── logging_cfg.py\n├── logs/\n├── middleware/\n│   ├── __init__.py\n│   ├── cors.py\n|   └── http.py\n├── models/\n│   ├── weights/\n│   │   └── pneumonia_weights.pt\n│   ├── dataset.py\n│   ├── pneumonia_model.py\n│   └── pneumonia_predictor.py\n├── routes/\n│   ├── base.py\n│   └── pneumonia_route.py\n├── schemas/\n│   └── pneumonia_schema.py\n├── utils/\n│   └── logger.py\n├── app.py\n├── requirements.txt\n└── server.py\n\n```\n\n---\n\n### How to run?\n\nClone the project\n```\n$ git clone https://github.com/VuBacktracking/Deploy-Deep-Learning-Model-With-FastAPI.git\n```\n\nInstall the requirements\n```\n$ pip install -r requirements.txt\n```\n\nRun the server.py\n```\n$ python3 server.py\n```\n\nResult\n![Result](assets/result.png)\n\nThis will start the FastAPI application in development mode, and you can access the API at\n`http://0.0.0.0:8000/docs`\n\n---\n\n### Demo\n![Image](assets/img1.png)\n\n![Image](assets/img2.png)\n\n![Image](assets/img3.png)\n\n![Log](assets/predictor_log.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvubacktracking%2Ffast-api-deep-learning-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvubacktracking%2Ffast-api-deep-learning-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvubacktracking%2Ffast-api-deep-learning-model/lists"}