Code Monkey home page Code Monkey logo

det2's Introduction

Inference wrapper for Detectron2

Dependencies

  • detectron2:
./install_detectron2_dep.sh && python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
# (add --user if you don't have permission)

# Or, to install it from a local clone:
git clone https://github.com/facebookresearch/detectron2.git
cd detectron2 && python3 -m pip install -e .

# Or if you are on macOS
# CC=clang CXX=clang++ python -m pip install -e .
  • cv2

Installation

  • In the main project folder, install det2 as a python package using pip or as an editable package if you like (-e flag after pip)
cd det2 && pip3 install .
  • Or, download .whl file in this repo's releases

Docker

  • Get docker:docker pull levan92/det2 OR Build your own docker from Dockerfile, you will need the tensorrt installation deb file
  • Use docker: ./run_docker.sh look into the script to change paths accordingly

Example usage

See files in example_scripts/.

Get weights

cd example_scripts/weights
./get_weights.sh

det2's People

Contributors

levan92 avatar

Watchers

James Cloos avatar  avatar DH_2017 avatar

det2's Issues

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.