TECHNICAL FIELD

Embodiments of the present disclosure relate to a field of computer technology, and more particularly to a method and an apparatus for processing data, and a computer readable storage medium.

BACKGROUND

Face recognition technology is applied to people's work and life gradually, for example, may collect a face image to perform payment verification, unlocking verification, and may also perform face beauty processing on a captured face image. By the face recognition technology, detection may be performed on a face in an image, and it may also be recognized whether the face in the image belongs to a people's face, thus recognizing an identity of a user.

SUMMARY

Embodiments of the present disclosure provide a method and an apparatus for processing data, and a computer readable storage medium.

The method for processing data includes: obtaining a face recognition model stored in a first operation environment; and performing an initialization on the face recognition model in the first operation environment, and transmitting the face recognition model subjected to the initialization to a second operation environment for storing, in which, a storage space in the first operation environment is greater than a storage space in the second operation environment.

The apparatus for processing data includes: one or more processors, a memory storing instructions executable by the one or more processors, in which the one or more processors are configured to: obtain a face recognition model stored in a first operation environment; perform an initialization on the face recognition model in the first operation environment, and transmit the face recognition model subjected to the initialization to a second operation environment for storing, in which, a storage space in the first operation environment is greater than a storage space in the second operation environment.

The computer readable storage medium has a computer program stored thereon. The computer program is configured to implement a method for processing data described above when executed by a processor. The method includes: obtaining a face recognition model stored in a first operation environment; and performing an initialization on the face recognition model in the first operation environment, and transmitting the face recognition model subjected to the initialization to a second operation environment for storing, in which, a storage space in the first operation environment is greater than a storage space in the second operation environment.

