Data training method and device, storage medium and electronic device
A technology of data training and training models, applied in the field of artificial intelligence, can solve problems such as difficult to implement, consume huge computing power, increase the input of network resources, etc., and achieve the effect of improving speed and solving low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] In this embodiment, a data training method is provided, figure 1 is a flowchart of a data training method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:
[0022] Step S102, determining sample data and available cluster resources;
[0023] Step S104, splitting the total training model into multiple sub-models;
[0024] Step S106, using cluster resources to train sample data in parallel on multiple sub-models.
[0025] Through the above steps, by splitting the total training model into multiple sub-models, and then training sample data in parallel on multiple sub-models, the technical problem of low efficiency of training sample data in related technologies is solved, without increasing network resources. , improving the speed of training sample data.
[0026] Optionally, the execution subject of the above steps may be a server, a data processing system, a cluster platform, etc., but is not lim...
Embodiment 2
[0042] In this embodiment, a data training device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0043] figure 2 is a structural block diagram of a data training device according to an embodiment of the present invention, such as figure 2 As shown, the device includes:
[0044] Determining module 20, configured to determine sample data and available cluster resources;
[0045] Split module 22, for splitting the total training model into multiple sub-models;
[0046] The training module 24 is configured to use cluster resources to train s...
Embodiment 3
[0050] This embodiment is an optional embodiment of the application, which is used to explain and illustrate the application in detail in combination with specific model examples:
[0051] In order to speed up the training of the deep learning model, a parallel computing method can be used, that is, a training is divided into multiple sub-parts, and each sub-part completes the calculation on different computing devices at the same time, so as to achieve the purpose of speeding up the training. In deep learning parallel computing, there are two types of parallel algorithms, data parallel and model parallel, and it is necessary to select an appropriate parallel algorithm according to the characteristics of the model and computing cluster.
[0052] This embodiment is such a method and system: it can select an appropriate parallel algorithm according to the characteristics of the deep learning model and the characteristics of the high-performance cluster, and automatically transfor...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com