{"id":25455143,"url":"https://github.com/rijoslal/braintumordetection_mlops","last_synced_at":"2026-01-24T22:32:31.246Z","repository":{"id":277298747,"uuid":"930791984","full_name":"RijoSLal/BrainTumorDetection_MLOPS","owner":"RijoSLal","description":"FastAPI-based Brain Tumor Detection system following MLOps principles, enabling efficient model deployment, automated data handling, and seamless API integration for real-time predictions","archived":false,"fork":false,"pushed_at":"2025-08-03T18:00:18.000Z","size":7234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T19:35:31.867Z","etag":null,"topics":["dagshub","dvc","fastapi","mlflow-tracking-server","mlops","tensorflow","vision-transformer"],"latest_commit_sha":null,"homepage":"https://dagshub.com/slalrijo2005/BTD","language":"Jupyter Notebook","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/RijoSLal.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,"zenodo":null}},"created_at":"2025-02-11T08:11:33.000Z","updated_at":"2025-08-03T18:00:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"44762dfe-6160-4cbf-833e-704a459d834e","html_url":"https://github.com/RijoSLal/BrainTumorDetection_MLOPS","commit_stats":null,"previous_names":["rijoslal/braintumordetection_mlops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RijoSLal/BrainTumorDetection_MLOPS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RijoSLal%2FBrainTumorDetection_MLOPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RijoSLal%2FBrainTumorDetection_MLOPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RijoSLal%2FBrainTumorDetection_MLOPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RijoSLal%2FBrainTumorDetection_MLOPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RijoSLal","download_url":"https://codeload.github.com/RijoSLal/BrainTumorDetection_MLOPS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RijoSLal%2FBrainTumorDetection_MLOPS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28738968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"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":["dagshub","dvc","fastapi","mlflow-tracking-server","mlops","tensorflow","vision-transformer"],"created_at":"2025-02-18T00:56:44.933Z","updated_at":"2026-01-24T22:32:31.241Z","avatar_url":"https://github.com/RijoSLal.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrainTumorDetection_MLOPS\n\n## Overview\nBrainTumorDetection_MLOPS is a FastAPI-based brain tumor detection system designed with MLOps principles for efficient model deployment, automated data handling, and seamless API integration. The system uses MLflow for model tracking, DVC for data versioning, and DAGsHub (https://dagshub.com/slalrijo2005/BTD) as the central server for both MLflow and DVC. It employs a Vision Transformer (ViT) model for accurate tumor detection from medical images.\n\n## Features\n- **FastAPI-based API** for real-time predictions.\n- **MLflow integration** to track model performance and experiments.\n- **DVC (Data Version Control)** for handling datasets efficiently.\n- **DAGsHub as a unified platform** for MLflow and DVC.\n- **Automated pipeline** for data processing and deployment.\n\n## Tech Stack\n- **FastAPI** - Web framework for serving the model.\n- **MLflow** - Model tracking and experiment logging.\n- **DVC** - Data versioning and management.\n- **DAGsHub** - Hosting and integration for MLflow and DVC.\n\n## Installation \u0026 Setup\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/RijoSLal/BrainTumorDetection_MLOPS.git\ncd BrainTumorDetection_MLOPS\n```\n\n### 2. Set Up Virtual Environment\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n### 3. Install Dependencies\n```bash\npip install -r requirements.txt\n```\n\n### 4. Configure MLflow \u0026 DVC\n#### Initialize DVC and Add Remote Storage\n```bash\ndvc init\ndvc remote add origin https://dagshub.com/yourusername/BrainTumorDetection_MLOPS.dvc\n```\n#### Set Up MLflow Tracking\n```bash\nexport MLFLOW_TRACKING_URI=https://dagshub.com/yourusername/BrainTumorDetection_MLOPS.mlflow\n```\n\n### 5. Run the FastAPI Server\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000\n```\n\n## API Endpoints\n\n### **Predict Tumor**\n- **Endpoint:** `/docs`\n- **Method:** `POST`\n- **Payload:**\n  ```json\n  {\n    \"image\": \"base64_encoded_image\"\n  }\n  ```\n- **Response:**\n  ```json\n  {\n    \"prediction\": \"No abnormal growth detected. However, consult a doctor for confirmation\"\n  }\n  ```\n\n## Contributing\nFeel free to contribute.\n\n## License\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frijoslal%2Fbraintumordetection_mlops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frijoslal%2Fbraintumordetection_mlops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frijoslal%2Fbraintumordetection_mlops/lists"}