Coder Social home page Coder Social logo

shadimsaleh / joint-pruning-monodepth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from selkerdawy/joint-pruning-monodepth

0.0 0.0 0.0 21.22 MB

Lightweight Monocular Depth Estimation Model by Joint End-to-End Filter pruning.

Python 100.00%

joint-pruning-monodepth's Introduction

joint-pruning-monodepth

Lightweight Monocular Depth Estimation Model by Joint End-to-End Filter pruning.

Demo

Sample video showing the pruned vgg model and the baseline monodepth vgg running on GTX 1080 Ti with 60 and 33 frame per second respectively; The demo is slowed down for demonstration only. The demo shows that even with more than 80% compression rate, the pruned network shows both qualitatively and quantitatively small drop in accuracy compared to the baseline network.

Inference

Sample code for inference using the pruned vgg model trained on eigen split is provided, usage:

python sample_code.py --dir PATH/TO/KITTI/2011_09_26/2011_09_26_drive_0064_sync/image_02/data/ --checkpoint_path model/model-0.data-00000-of-00001

Environment virtualenv is recommended and install requirements from req.txt:

virtualenv -p python3 .env
source .env/bin/activate
pip install -r req.txt

Training code will be added soon.

Supplementary materials

Full depth metrics disrcarded from original paper due to space, details on the number of filters per layer in the pruned network, and comparison between weights sparsity vs masks sparsity.

joint-pruning-monodepth's People

Contributors

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