Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.14 KB

Data-free Knowledge Distillation for Segmentation using Data-Enriching GAN

This repository is the official implementation of Data-free Knowledge Distillation for Segmentation using Data-Enriching GAN .

Deployment pipelines

Banner

(Top row) A deployment pipeline where a large model is initially trained on some dataset. Later for mobile deployment when the model needs to be compressed, the dataset needs to be accessed again causing privacy concerns.

(Bottom row) We present a deployment pipeline where no access to data is required. Instead we use a proxy dataset to generate representative samples to perform model compression.

Data-Enriching GAN architecture

Architecture

Requirements

To install requirements:

pip install pytorch-lightning==0.7.0
pip install tensorboard

Training and evaluation

To train the DeGAN network

python -m code.segmentation.degan_trainer

To train the student network

python -m code.segmentation.datafree_kd_trainer

Contributing

Create a issue or a pull request if you wish to contribute :)