The present invention discloses a containerized and virtualized
convolutional neural network layered training method and
system, belonging to the field of
machine learning technology, including a segmented
machine learning framework, an abstract modular template, POD,
virtual machine creation scheduling, and a monitoring platform; the segmented
machine learning framework is used to provide a
machine learning program with communication capabilities and generate complete
machine learning model code based on the template; the abstract modular template, based on the layered characteristics of the
convolutional neural network structure, provides standard abstract templates for each module of the
convolutional neural network, and uses a declarative definition method to define the structure of each layer of the convolutional neural network; POD,
virtual machine creation scheduling includes
machine learning code generation, POD,
virtual machine creation, and POD,
virtual machine scheduling. The present invention can fully utilize the performance of computing equipment, reduce the cost of model training for model designers, improve the
reuse rate of cloud service providers' equipment, and simplify the
design process of convolutional neural network models.