Coder Social home page Coder Social logo

rihabfekii / wildfire-smoke-detector Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 7.0 20.09 MB

Training a YOLOv8 model for wildfire smoke detection.

Home Page: https://rihab-feki.medium.com/ml-project-using-yolov8-roboflow-dvc-and-mlflow-on-dagshub-3e5c0b026297

Makefile 15.49% Python 84.51%
data-pipeline dvc machine-learning mlflow-tracking

wildfire-smoke-detector's Introduction

wildfire-smoke-detector

ML project for wildfire smoke detection with YOLOv8.

Follow this article as a detailed guide.

This project is connected to a repository on DagsHub.

DagsHub is a GitHub for Machine Learning projects. It eases MLOps practices by enabling data scientists and machine learning engineers to version their data, models, experiments, and code, through its integration with DVC and MLflow.

Project Organization

├── Makefile           <- Makefile with commands like `make env` or `make requirements`.
├── README.md          <- Documentation for using this project.
├── params.yaml        <- configuration parameters e.g for training 
├── data
│   ├── processed      <- Processed dataset.
│   └── raw            <- The original dataset (immutable data).
│
├── models             <- Trained and serialized models, model predictions, or model summaries
├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures        <- Generated graphics and figures to be used in reporting
│   └── train_metrics.csv    <- Relevant metrics after evaluating the model.
│   └── train_params.yaml    <- Params for training the model.
│
├── requirements.txt   <- The requirements file for reproducing the environment.
│
├── src                <- Source code for use in this project.
│   ├── __init__.py    <- Makes src a Python module
│   ├── train.py       <- Scripts to train the model 
│   ├── predict.py     <- Script to make predictions on test data
│   └──utils.py       <- Utility functions 
│
├── dvc.lock           <- The version definition of each dependency, stage, and output from the 
│                         DVC data pipeline.
└── dvc.yaml           <- Defining the data pipeline stages, dependencies, and outputs.

Run the project locally

  1. Clone the project:
git clone https://github.com/RihabFekii/
  1. Set up a virtual python environment, by running the following commands:
make env
source env/bin/activate .
  1. Install requirements, by running this command:
make requirements
  1. Pull the data
dvc pull

Run experiments with DVC

  1. You can experiment with the different models of YOLOv8 and edit its hyperparameters by editing the params.yaml file.

  2. Since the data pipeline is created with dvc, you can easily reproduce experiments by runing:

dvc exp run 
  1. Visualize experiments by running:
dvc exp show

wildfire-smoke-detector's People

Contributors

rihabfekii avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.