Code Monkey home page Code Monkey logo

label_studio_ml_backend's Introduction

YOLOv8 ML backend for the Label Studio

This project contains an ML backend for classifying pills in Label Studio. It uses the YOLOv8 model and can segment and classify pills as capsules or tablets.

Project Structure

The repository contains the following files and directories:

  • Dockerfile: The Dockerfile for building the backend container.

  • docker-compose.yml: The docker-compose file for running the backend.

  • model.py: The Python code for the ML backend model.

  • best.pt: The pre-trained YOLOv8 model for pill classification.

  • uwsgi.ini: The uWSGI configuration file for running the backend.

  • supervisord.conf: The supervisord configuration file for running the backend processes.

  • requirements.txt: The list of Python dependencies for the backend.

Getting Started

  1. Clone the Label Studio Machine Learning Backend git repository. From the command line, run the following:

    git clone https://github.com/seblful/label-studio-yolov8-backend.git

  2. Paste you Label Studio API key in model.py

  3. To use this backend, you'll need to have Docker and docker-compose installed. Then, run the following command to start the backend:

    docker-compose up

This will start the backend on localhost:9090.

Check if it works:

$ curl http://localhost:9090/health

{"status":"UP"}

  1. Connect running backend to Label Studio:

    label-studio start --init new_project --ml-backends http://localhost:9090

  2. Start the labeling process.

Training

Model training is not included in this project. This will probably be added later.

Contributing

Contributions to this project are welcome. To contribute, please submit an issue or pull request.

label_studio_ml_backend's People

Contributors

seblful avatar nrww 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.