Data processing flow optimization method and system and storage medium
A technology for data processing and process optimization, applied in the field of data processing, can solve the problems of long calculation time and low calculation efficiency of data processing process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiment 1 provides a data processing flow optimization method, such as figure 1 shown, including the following steps:
[0052] In the S100 step, the data processing task includes a preprocessing task, an inference task and a postprocessing task; for the data processing task, mark the start time points in the data processing task according to the preprocessing task, the inference task and the postprocessing task respectively; preprocessing The task is generally the initialization part of the system code, such as in C++ / Python, it is generally the initialization part of the main() function; the reasoning task is reasoning based on the deep learning reasoning framework, and the running time of the task is a reasoning framework such as TensorFlow / TensorRT / PyTorch. There are obvious recognition statements in the program, such as Session.run(data) for TensorFlow, doinference(data) for TensorRT, and net(data) for PyTorch; post-processing tasks are generally running codes af...
Embodiment 2
[0068] Embodiment 2 provides a data processing flow optimization system, such as figure 2 As shown, the data processing flow optimization system 100 includes:
[0069] Task identification unit 1: used to add identifications to the preprocessing tasks, reasoning tasks and post-processing tasks in the data processing application, so that the boundaries of each task are clear, and it is convenient to determine the running time of each task and set the queue;
[0070] Thread estimation unit 2: used to respectively determine the running time of the pre-processing task, the reasoning task and the post-processing task according to the identifier, and respectively estimate the pre-processing task, the reasoning task and the post-processing task according to the running time. Describe the number of threads required for post-processing tasks; among them, since the inference task is mainly handled by the GPU, the CPU only needs to allocate one thread to be responsible for scheduling the...
Embodiment 3
[0076] Embodiment 3 provides a computer-readable storage medium, the storage medium is used to store the computer software instructions used to implement the data processing flow optimization method described in the above embodiment 1, which includes instructions for performing the above-mentioned data processing flow optimization The program designed by the method; specifically, the executable program can be built into the data processing flow optimization system 100, so that the data processing flow optimization system 100 can realize the data processing of the first embodiment by executing the built-in executable program Process optimization methods.
[0077] In addition, the computer-readable storage medium provided in this embodiment may use any combination of one or more readable storage media, where the readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or Any combination of the above.
[0078] ...
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