Code Monkey home page Code Monkey logo

llcv's Introduction

LLCV — An Extensible Framework for Low-Latency Computer Vision Research

#fc4903 Research-oriented — flexible interfaces and dynamic modules

#3865cf Latency-oriented — efficient implementation and various types of timing support

Features:

  • Training auto-resume after interruption
  • Support for DataParellel & DistributedDataParallel
  • Tensorboard integration

Supported tasks:

  • Image classification
  • Object detection

Notable models:

  • ResNet-18 on CIFAR-10 (Top-1 95.62%)
  • ResNet-50 on ImageNet (Top-1 76.56%, Top-5 93.02%)
  • Faster R-CNN on COCO (AP 37.0, through torchvision)

Note that this repo is currently under active development and compatibility is not guaranteed. While there are many standard techniques for faster implementations, this repo mostly focuses on the research aspect of reducing training and inference cost.

Installation

PyPI version

Install PyTorch (>= 1.1) and run:

pip install llcv

If you prefer to install it in develop mode:

git clone https://github.com/mtli/llcv
cd llcv
pip install -e .

Getting Started

Check out the scripts in the samples/ for various tasks.

To use this framework for your own projects, you can either fork this repo, or using this repo as a dependency through dynamic modules.

You can find more details about the framework's design here.

Model Zoo

Note that latency and throughput are measured on Geforce GTX 1080 Ti GPUs, unless otherwise stated.


CIFAR-10 (Classification)

ID Method Epc Top-1 (%) E2E (ms) Inf (ms) Train BS Train TP Train Time Ckpt Log Script
1 ResNet-18 200 95.62 - 3.05 ± 0.302 128 2081Hz 1h22m ckpt log script

In the above table, timings are measured on a single GPU for both training and testing.


ImageNet (Classification)

ID Method Epc Top-1 (%) Top-5 (%) E2E (ms) Inf (ms) Train BS Train TP Train Time Ckpt Log Script
1 ResNet-50 90 76.56 93.02 - 9.82 ± 3.59 256 504.8Hz 2d16h ckpt log script

In the above table, timings are measured on 4 GPUs for training and a single GPU for testing.


COCO (Detection)

ID Method Epc AP E2E (ms) Inf (ms) Train BS Train TP Train Time Ckpt Log Script
1 Faster R-CNN R50 FPN (torchvision) - 37.0 - 75.2 ± 54.4 - - - - - script

In the above table, timings are measured on 8 GPUs for training and a single GPU for testing.

llcv's People

Contributors

mtli avatar

Stargazers

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