Supported file formats and runtimes
This section introduces the development environments, file formats, and runtimes for PyTorch applications in general and Detectron2 applications specifically. It then uses simple examples to explain these concepts.
Development environments, file formats, and runtimes
There are three main concepts to grasp while developing and deploying deep learning models: the development environment and programming languages, the model file formats, and the runtime environments. Figure 12.1 illustrates these three concepts and examples of each.
Figure 12.1: Development environments, file formats, and deployment environments
The development environment and programming languages or frameworks such as PyTorch or Python, in general, prioritize ease of use and customizations. However, the Python language and PyTorch framework may have runtime issues at deployment. For instance, they are relatively slow compared to other runtime environments...