A fast data reading method, device, electronic equipment and storage medium

A reading device and fast technology, applied in the field of deep learning, can solve the problem of slow data set reading, and achieve the effect of improving the reading speed, optimizing the organization form, and improving the reading rate

Active Publication Date: 2021-06-01
ZHEJIANG LAB +1
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a fast data reading method, device, electronic equipment and storage medium to solve the problem of slow data set reading in related technologies

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A fast data reading method, device, electronic equipment and storage medium
  • A fast data reading method, device, electronic equipment and storage medium
  • A fast data reading method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0039] figure 1 It is a flow chart of a fast data reading method shown according to an exemplary embodiment; the following takes ImageNet data set, Pytorch deep learning platform, and HDF5 storage middleware as examples to explain a kind of data fast reading method in detail, the Methods include:

[0040] Step S101, dividing the data set into severa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a fast data reading method, device, electronic equipment and storage medium. The method includes: dividing a data set into several picture subsets, performing normalization processing on each picture subset, and aggregating them respectively It is a file; assign a request number to each picture in the data set; by inheriting the abstract class of the data set of the deep learning platform, according to the request number, the file address where each picture is located and the file address described in the file are calculated by hashing. Offset information, so as to obtain the mapping of each picture to the file to which the picture belongs; according to the mapping, quickly read all the pictures in the data set. Aggregating each subset of the pictures into one file reduces the overhead of metadata management for a large number of small samples, optimizes the organizational form of the data set, and greatly improves the reading speed of pictures; when reading pictures, it uses multi-level addresses Mapping replaces the original inefficient random search process in massive images, greatly improving the reading rate.

Description

technical field [0001] The present invention relates to the field of deep learning, in particular to a fast data reading method, device, electronic equipment and storage medium. Background technique [0002] As a method to automatically describe objects, trends and anomalies, deep learning has been widely used in scientific and commercial fields. The specific process of deep learning is: 1. Set the loss function and initialize the model parameters. 2. Randomly read a certain batch of data from the selected training data set, input the model, perform forward propagation, and calculate the loss value. 3. Then use the backpropagation method to pass the corresponding loss value in the opposite direction layer by layer, and calculate the parameter error of each parameter. The model parameters are then updated using the model parameter update optimization method. 4. Repeat steps 2 and 3 until the loss value drops to an acceptable value and the model converges. [0003] During ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/16G06F16/14G06F3/06
CPCG06F3/061G06F3/0643G06F16/152G06F16/164
Inventor 陈刚王跃锋银燕龙陈伟剑毛旷杨弢何水兵曾令仿
Owner ZHEJIANG LAB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products