Deploying Detectron2 Models into Browsers and Mobile Environments
This chapter introduces the Open Neural Network Exchange (ONNX) framework. This framework helps share deep neural networks across multiple frameworks and platforms. It is extremely helpful when there is a need to deploy Detectron2 models into browsers or mobile environments. This chapter also describes D2Go, a framework for training, quantizing, and deploying models with minimal memory storage and computation requirements. Models created using this framework are extremely helpful for deploying into mobile or edge devices.
By the end of this chapter, you will understand the ONNX framework and when it is helpful. You can export custom Detectron2 models into this format and deploy them into the web or browser environments. You will also understand the advantage of the D2Go framework and know how to utilize pre-trained models on its Model Zoo or train custom models using D2Go. You can also perform quantization on a custom...