March 9, 2021

162 words 1 min read



D2Go is a toolkit for efficient deep learning

repo name facebookresearch/d2go
repo link
language Python
size (curr.) 1249 kB
stars (curr.) 421
created 2021-02-12
license Apache License 2.0


D2Go is a production ready software system from FacebookResearch, which supports end-to-end model training and deployment for mobile platforms.

What’s D2Go

  • It is a deep learning toolkit powered by PyTorch and Detectron2.
  • State-of-the-art efficient backbone networks for mobile devices.
  • End-to-end model training, quantization and deployment pipeline.
  • Easy export to TorchScript format for deployment.


Install PyTorch Nightly (use CUDA 10.2 as example, see details at PyTorch Website):

conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly

Install Detectron2 (other installation options at Detectron2):

python -m pip install 'git+'

Install mobile_cv:

python -m pip install 'git+'

Install d2go:

git clone
cd d2go & python -m pip install .

Get Started


D2Go is released under the Apache 2.0 license.

comments powered by Disqus