An End to End Segmentation project using YOLOv8 model by Ujjwal Deep.
This application allows you to upload images of grocery shelves and predicts the blank spaces on the shelves using YOLOv8 model.
Follow these steps to run the project:
-
Clone the repository:
git clone https://github.com/your-username/YOLOv8-End-to-End-Project.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
The notebook for training the model is available on the cloud at link.
To use a pre-trained model:
- Train the model on the cloud platform and download the
best.pt
. - Copy the downloaded
best.pt
file into theweights
folder of this project.
Alternatively, you can:
- Uncomment the model training sections in the notebook and follow the folder structure to train the model.
Please ensure you have the necessary dataset and annotations for training the model.
src/
: Root directory containing project source code.components/
: Houses modules responsible for specific project components.data_aquisation.py
: Module managing data acquisition processes.data_check.py
: Module handling data validation and checks.model_trainer.py
: Module dedicated to training the model.
constant/
: Stores constants and configurations for the project.parameters/
: Subdirectory holding constants and paths related to the training pipeline.
entity/
: Manages entity-related classes or structures for the project.artifacts.py
: Module responsible for handling artifacts.config_entity.py
: Module defining the configuration entity.
exception/
: Handles exception-related functionality for the project.logger/
: Contains functionality related to logging in the project.pipeline/
: Houses modules relevant to the project's pipeline.Training_pipeline.py
: Module managing and orchestrating the training pipeline.
utils/
: Stores utility functions and helper modules for the project.