{"id":37069611,"url":"https://github.com/mr-ravin/auto_mlflow","last_synced_at":"2026-01-14T08:00:57.314Z","repository":{"id":217700244,"uuid":"744609999","full_name":"mr-ravin/auto_mlflow","owner":"mr-ravin","description":"Auto MLFlow is an open-source automated MLOps library for MLFlow in Python. While MLFlow provides a UI for tracking experiments, Auto MLFlow automates and simplifies the logging process, reducing manual effort and ensuring seamless integration with ML workflows.","archived":true,"fork":false,"pushed_at":"2025-03-04T18:46:25.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T19:24:42.821Z","etag":null,"topics":["architecture","auto-mlflow","automation","deep-learning","deployment","mlflow","mlflow-projects","mlops","mlops-project"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/auto-mlflow/","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/mr-ravin.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-01-17T16:45:06.000Z","updated_at":"2025-03-04T18:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"80ea4230-0dba-4278-98b1-15775f6e4b6d","html_url":"https://github.com/mr-ravin/auto_mlflow","commit_stats":null,"previous_names":["mr-ravin/auto_mlflow"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mr-ravin/auto_mlflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ravin%2Fauto_mlflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ravin%2Fauto_mlflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ravin%2Fauto_mlflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ravin%2Fauto_mlflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-ravin","download_url":"https://codeload.github.com/mr-ravin/auto_mlflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ravin%2Fauto_mlflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["architecture","auto-mlflow","automation","deep-learning","deployment","mlflow","mlflow-projects","mlops","mlops-project"],"created_at":"2026-01-14T08:00:48.001Z","updated_at":"2026-01-14T08:00:57.253Z","avatar_url":"https://github.com/mr-ravin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📦 **Auto MLFlow**\n\n## 🔹 **Overview**\nAuto MLFlow is an open-source automated MLOps library for MLFlow in Python. While MLFlow provides a UI for tracking experiments, Auto MLFlow automates and simplifies the logging process, reducing manual effort and ensuring seamless integration with ML workflows.\n\nWith Auto MLFlow, you can:\n- **Automatically log** experiment parameters, metrics, artifacts, and models.\n- **Store images, textual data, and logs** in MLFlow without additional configuration.\n- **Seamlessly integrate** with deep learning frameworks like PyTorch and TensorFlow.\n- **Simplify MLOps workflows** by handling experiment tracking with minimal code.\n- **Maintain reproducibility and transparency** in ML experiments.\n\nThis library is designed for researchers, data scientists, and ML engineers who want a streamlined approach to tracking and managing ML experiments.\n\n---\n## 🔧 **Development Details**\n- **👨‍💻 Developer:** [Ravin Kumar](https://mr-ravin.github.io)  \n- **📂 GitHub Repository:** [https://github.com/mr-ravin/auto_mlflow](https://github.com/mr-ravin/auto_mlflow)\n\n---\n## 📥 **Installation**\n\nInstall using pip:\n\n```sh\npip install auto_mlflow\n```\nor,\n\n```sh\npip install git+https://github.com/mr-ravin/auto_mlflow.git\n```\n\n---\n### 📌 **Dependencies:**\n- Python \u003e= 3.7, \u003c 3.13\n- mlflow: \u003e= 2.9.2, \u003c= 2.20.3\n- opencv-contrib-python: \u003e= 4.7.0.72\n- opencv-python: \u003e= 4.7.0.72\n- opencv-python-headless: \u003e= 4.8.0.74\n\n---\n\n## 🔄 **Example Usage**\n- Start a MLFlow Server.\n  ```  \n  mlflow server --host 127.0.0.1 --port 5555\n  ```\n- Use Auto MLFlow to log model and experiment related information.\n  ```python\n  import auto_mlflow\n  user_name = \"Ravin Kumar\"\n  project_name = \"Object Detection\"\n  experiment_name = \"Using Yolo approach\"\n  runName = \"using yolov3\"\n  total_epochs = 30\n  mlflow_server_uri = \"http://127.0.0.1:5555\" # IP address of the MLFlow Server.\n  \n  # initialisation \n  auto_mlflow.init_run(user_name, project_name, experiment_name, runName, mlflow_server_uri) # project, experiment, and run is created\n  \n  # below this line, whatever is printed in the terminal will also get logged in the MLFlow inside the file log.txt\n  auto_mlflow.write_param(param_dict={\"learning_rate\": \"0.001\", \"total_epochs\": str(total_epochs)}) # save training related information\n  \n  # storing train, val, and test loss values\n  model_architecture = get_model_architecture()\n  for epoch in range(total_epochs):\n    train_loss = ...\n    valid_loss = ...\n    test_loss = ...\n    metric_dict={\"train_loss\": train_loss, \"valid_loss\": valid_loss, \"test_loss\": test_loss}\n    auto_mlflow.write_metric(metric_dict, step = epoch)\n  \n  # storing an image in MLFlow Server\n  numpy_array_bgr = visualised_image(.....)\n  auto_mlflow.write_image(numpy_array_bgr, image_name=\"image.jpg\")\n  \n  # storing text in a file inside MLFlow Server\n  auto_mlflow.write_text(filename=\"additional_file.txt\", filedata=\"object detection model\")\n  \n  # storing already existing local file inside MLFlow Server\n  # example- incase one wants to save only weights, and not rely on model registry. This will get saved inside weights/ in MLFlow Sever\n  auto_mlflow.write_files(\"yolo_weights.pth\", filepath=\"weights\")\n  \n  # storing an entire directory present in local system, to the MLFlow Server\n  auto_mlflow.write_directory(\"./other_data\", mlflow_dir_path=\"artifacts\") # this will copy all the content of ./other_data to MLFlow inside artifacts/\n  \n  # Logging a model\n  auto_mlflow.log_model(model_architecture, model_run_path=\"models\") # the logged model can be used for model registry\n  \n  auto_mlflow.end_run() # all the information is successfully saved.\n  # complete \n  ```\n\n---\n\n## 📜 **Copyright License**\n```\nCopyright (c) 2024 Ravin Kumar\nWebsite: https://mr-ravin.github.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation \nfiles (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, \nmodify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the \nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the \nSoftware.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE \nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR \nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, \nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ravin%2Fauto_mlflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-ravin%2Fauto_mlflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ravin%2Fauto_mlflow/lists"}