Giter Site home page Giter Site logo

dynamicguy / ainized-detectron2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gkswjdzz/ainized-detectron2

0.0 1.0 0.0 1.71 MB

api server for detectron2

Home Page: https://hanjeonglee.substack.com/p/ainized-detectron2-eng

License: Apache License 2.0

Python 91.65% Dockerfile 8.35%

ainized-detectron2's Introduction

Run on Ainize

Ainized-Detectron2

Detectron2 is the object detection open source project based on the pytorch made in the Facebook AI Research (FAIR). With modular design, Detectron2 is more flexible, extensible than the existing Detectron. Detectron2 provides models of object detection such as panoptic segmentation, DensePose, Cascade RCNN, and more based on a variety of backbones.

In this Ainize project, you can receive the inferred result image after selecting one of the inference models. All the inference models used Resnet 50 + FPN (Feature Pyramid Network) as a backbone.

The inference using server is done in the following steps:

  1. User publishes an image file
  2. server returns a inferred image or json which is information of detected objects.

Note that the server is implemented in Node.js.

You can see the demo server from below site

https://ainize.ai/deployments/github.com/gkswjdzz/ainized-detectron2

How to deploy

this server is dockerized, so it can be built and run using docker commands.

Docker build

docker build -t detectron2 -f Dockerfile-cpu .

or

docker build -t detectron2 -f Dockerfile-gpu .

Run Docker

docker run -p 80:80 -it detectron2

Now the server is available at http://localhost.

Note that the docker image can be deployed using any docker-based deploy platform (e.g. ainize.ai).

References

  1. facebookresearch/detectron2

ainized-detectron2's People

Contributors

gkswjdzz avatar minho-comcom-ai 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.