GithubHelp home page GithubHelp logo

qiuxiaoming / mmdetection-distiller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pppppm/mmdetection-distiller

0.0 0.0 0.0 13.96 MB

This is a knowledge distillation toolbox based on mmdetection.

License: Apache License 2.0

Python 99.90% Shell 0.08% Dockerfile 0.03%

mmdetection-distiller's Introduction

mmdetection-distiller

This project is based on mmdetection(v-2.9.0), all the usage is the same as mmdetection including training , test and so on.

Distiller Zoo

Installation

  • Set up a new conda environment: conda create -n distiller python=3.7

  • Install pytorch

  • Install mmcv ( 1.2.4 <= mmcv-full < 1.3 )

  • Install mmdetection-distiller

    git clone https://github.com/pppppM/mmdetection-distiller.git
    cd mmdetection-distiller
    pip install -r requirements/build.txt
    pip install -v -e .

Train

#single GPU
python tools/train.py configs/distillers/cwd/cwd_retina_rx101_64x4d_distill_retina_r50_fpn_2x_coco.py

#multi GPU
bash tools/dist_train.sh configs/distillers/cwd/cwd_retina_rx101_64x4d_distill_retina_r50_fpn_2x_coco.py 8

Test

#single GPU
python tools/test.py configs/distillers/cwd/cwd_retina_rx101_64x4d_distill_retina_r50_fpn_2x_coco.py $CHECKPOINT --eval bbox

#multi GPU
bash tools/dist_train.sh configs/distillers/cwd/cwd_retina_rx101_64x4d_distill_retina_r50_fpn_2x_coco.py $CHECKPOINT 8 --eval bbox

Lisence

This project is released under the Apache 2.0 license.

mmdetection-distiller's People

Contributors

hellock avatar zwwwayne avatar yhcao6 avatar xvjiarui avatar oceanpang avatar hhaandroid avatar thangvubk avatar myownskyw7 avatar johnson-wang avatar erotemic avatar v-qjqs avatar jshilong avatar tianyuandu avatar shinya7y avatar ryanxli avatar yuzhj avatar mxbonn avatar melikovk avatar daavoo avatar wswday avatar runningleon avatar aemikachow avatar wangruohui avatar chrisfsj2051 avatar korabelnikov avatar pppppm avatar liaopeiyuan avatar gt9505 avatar lindahua avatar michaelisc 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.