Getting Started
Welcome to Image ML Pod, a framework for building modular machine learning applications on image datasets. This guide will help you set up your environment and introduce the essential tools integrated into the pod.
🚀 Setup
Follow these steps to prepare your environment:
Create a Virtual Environment
Use Python’svenv
or Conda to isolate your development environment. For example, withvenv
:python -m venv .env
Clone the Repository
Clone the repository to your local machine using Git.Install the Package
Install the project in editable mode for development flexibility:pip install -e .
Install Dependencies
Use the providedrequirements.txt
file to install all dependencies:pip install -r requirements.txt
You’re now ready to start exploring the pod!
🛠 Workflow Management with Kedro
We’ve chosen Kedro as the backbone for workflow management due to its modular structure and intuitive pipeline design. With Kedro, you can easily manage:
- Data workflows: Organize data inputs and outputs.
- Pipeline modularity: Create reusable and scalable pipelines.
- Seamless collaboration: Maintain clear separation of concerns.
📚 Learn More: Explore the Kedro documentation for a comprehensive overview.
✅ Pre-commit Hooks
To keep your project clean and automated, we’ve configured pre-commit hooks for:
- Linting: Enforces consistent code style and formatting. Learn more here.
- Testing: Automates tests to ensure code reliability. Learn more here.
- Automatic Documentation Generation: Keeps your documentation synchronized with your codebase.
Install the Hooks
Activate the pre-commit hooks by running:
pre-commit install
From this point forward, these hooks will automatically check your code on each commit, ensuring high standards across the board.