Giter Site home page Giter Site logo

edge-device-deployment's Introduction

Edge-device-deployment

contributions welcome Hits

General Pytorch Quantization Test

See quantization-pytorch for Pytorch Quantizatizationn Tests

D2Go for Instance Segmentation

See D2Go for Instance semgementaiton on custom Vegetable dataset.

  1. To Train on custom dataset run

    python veg_train_infer.py --train True

  2. To Validate and visualize the model

    python veg_train_infer.py --val True

  3. To Quantize the model

    python veg_train_infer.py --m_conversion True

  4. Visual results on original dataset

animated

  1. With Post taining quantization we observe the classification and object detection works well while we suffer significat drop in accuracy of Dense Prediction (masks)

animated

  1. With Quantization Aware Pruning we see negligible drop in accuracy. The size of final quantized model is total 7.4MB

animated

Android App for Instance Segmentation

For Android app for instance segmentaiton using MaskRCNN we added nearest Neighbout Interpolation for Masks and Canvas visualization of masks in Java. See D2Go/android-app for android app. On Huwawei P30 model runs at average of 140ms

References

1) See  D2G0 https://github.com/facebookresearch/d2go
2) See  Android App for Pytorch https://github.com/pytorch/android-demo-app

edge-device-deployment's People

Contributors

asad-ismail 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.