Coder Social home page Coder Social logo

its-jd / custom-yolov8-auto-annotation-cvat-blueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kurkurzz/custom-yolov8-auto-annotation-cvat-blueprint

0.0 0.0 0.0 5.95 MB

Integrate custom YOLOv8 model into CVAT for automatic annotation blueprint.

Python 100.00%

custom-yolov8-auto-annotation-cvat-blueprint's Introduction

Integrate custom YOLOv8 model into CVAT for automatic annotation.

screenshot

Installation (Linux Ubuntu)

Generally would follow this documentation (https://opencv.github.io/cvat/docs/administration/advanced/installation_automatic_annotation/)

In the CVAT directory, run:

  1. Stop all containers first, if any.

    docker compose down
    
  2. Start CVAT together with the plugin use for AI automatic annotation assistant.

    docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d
    
  3. Install nuctl*

    wget https://github.com/nuclio/nuclio/releases/download/<version>/nuctl-<version>-linux-amd64
    
  4. After downloading the nuclio, give it a proper permission and do a softlink.*

    sudo chmod +x nuctl-<version>-linux-amd64
    sudo ln -sf $(pwd)/nuctl-<version>-linux-amd64 /usr/local/bin/nuctl
    
  5. Build the docker image and run the container. After it is done, you can use the model right away in the CVAT.

    ./serverless/deploy_cpu.sh path/to/this/folder/
    

Note: * is a one time step.

File Structure

  • function.yaml: Declare the model so it can be understand by CVAT. It includes setup the docker environment.

  • main.py: Contain the handle function that will serve as the endpoint used by CVAT to run detection.

  • custom-yolov8n.pt: Your custom yolov8 model.

References

  1. https://opencv.github.io/cvat/docs/manual/advanced/serverless-tutorial/#adding-your-own-dl-models

    Official documentation on how to add the custom model.

  2. https://stephencowchau.medium.com/journey-using-cvat-semi-automatic-annotation-with-a-partially-trained-model-to-tag-additional-8057c76bcee2

custom-yolov8-auto-annotation-cvat-blueprint's People

Contributors

its-jd avatar kurkurzz 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.