Network structure search method, device, equipment and storage medium

The neural network architecture search is optimized through the preset performance prediction model, which solves the problem of long search time in the existing technology, realizes rapid search and training of network structure, and improves efficiency.

CN113408692BActive Publication Date: 2024-10-18SF TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010180851.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-16
Publication Date
2024-10-18
Estimated Expiration
2040-03-16

AI Technical Summary

Technical Problem

Existing neural network architecture search algorithms have the problem of long search times, resulting in long training and search times for network structures.

Method used

Through the preset performance prediction model, the target performance of the network structure is determined, and the search strategy is updated according to the target performance, optimizing the search process of the network structure, and reducing training time and search time.

Benefits of technology

It achieves accurate prediction of network structure performance without increasing training data, thereby shortening the training and search time of network structure and improving search efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113408692B_ABST
    Figure CN113408692B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a method, device, equipment and storage medium for searching a network structure. The method for searching a network structure comprises: obtaining a first network structure according to a preset search strategy; determining a target network performance of the first network structure through a preset performance prediction model; updating the search strategy according to the target network performance, and obtaining a second network structure according to the updated search strategy until a preset stop search condition is met. The embodiments of the present application shorten the training time of the network structure, thereby shortening the search time of the network structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of machine learning technology, and specifically to a network structure search method, device, equipment and storage medium. Background Art

[0002] With the rapid development of deep learning technology, deep learning technology has been widely used, such as in image recognition, speech recognition, and so on.

[0003] However, it is very difficult to manually design a neural network with excellent performance. For example, the structural design, training strategies, and parameter adjustment methods of the neural network often require researchers to spend a lot of manpower and material resources on experimental exploration.

[0004] Currently, a neural network architecture search algorithm is proposed in the prior art, aiming to automatically complete the search of neural network architecture to solve the problems existing in manually designed neural networks. However, the existing neural network architecture search algorithm has the problem of long search time. Summary of the invention

[0005] The embodiments of the present application provide a network structure search method, apparatus, device and storage medium, which can shorten the instance training time of the network structure and thus shorten the search time of the network structure.

[0006] On the one hand, an embodiment of the present application provides a method for searching a network structure, the method comprising:

[0007] According to a preset search strategy, obtaining a first network structure;

[0008] Determining the target network performance of the first network structure through a preset performance prediction model;

[0009] The search strategy is updated according to the target network performance, and a second network structure is acquired according to the updated search strategy until a preset stop search condition is met.

[0010] In some embodiments of the present application, determining the target network performance of the first network structure by using a preset performance prediction model includes:

[0011] Determine a first network performance of the first network structure by using the performance prediction model, and obtain a second network performance of the first network structure, wherein the first network performance refers to the network performance of the first network structure predicted based on the performance prediction model, and the second network performance refers to the network performance of the first network structure determined based on a first training data set and a verification data set;

[0012] A target network performance of the first network structure is determined according to the first network performance and the second network performance.

[0013] In some embodiments of the present application, the acquiring the second network performance of the first network structure includes:

[0014] Obtain a first training data set and a validation data set;

[0015] Training the first network structure according to the first training data set to obtain a trained network structure;

[0016] According to the verification data set, the network performance of the trained network structure is obtained as the second network performance of the first network structure.

[0017] In some embodiments of the present application, the method further includes:

[0018] Obtaining an incentive value of a historical network structure, wherein the historical network structure refers to each network structure currently searched when a preset stop search condition is met;

[0019] Determining the objective function value of the historical network structure according to the incentive value and a preset objective function;

[0020] A target network structure is obtained from the historical network structure, where the target network structure refers to a network structure corresponding to the maximum value of the objective function.

[0021] In some embodiments of the present application, the step of obtaining the incentive value of the historical network structure includes:

[0022] Get preset demand performance;

[0023] An incentive value of the historical network structure is determined according to the demand performance and the network performance of the historical network structure.

[0024] In some embodiments of the present application, the obtaining of preset required performance includes:

[0025] Obtaining model accuracy performance and model speed performance, wherein the model accuracy performance refers to a preset accuracy requirement value for the network structure on a validation data set, and the model speed performance refers to a preset requirement value for the network structure in terms of prediction speed;

[0026] The required performance is determined according to the model accuracy performance and the model speed performance.

[0027] In some embodiments of the present application, the performance prediction model is obtained by the following steps:

[0028] Acquire a second training data set, where the second training data set includes a sample model and network performance of the sample model;

[0029] Training the initial model according to the second training data set;

[0030] The model that has completed training is determined as the performance prediction model.

[0031] On the other hand, an embodiment of the present application provides a network structure search device, the network structure search device comprising:

[0032] An acquisition unit, configured to acquire a first network structure according to a preset search strategy;

[0033] A processing unit is used to determine the target network performance of the first network structure obtained by the acquisition unit through a preset performance prediction model; update the search strategy according to the target network performance, and obtain the second network structure according to the updated search strategy until a preset stop search condition is met.

[0034] In some embodiments of the present application, the processing unit is further configured to:

[0035] Determine a first network performance of the first network structure by using the performance prediction model, and obtain a second network performance of the first network structure, wherein the first network performance refers to the network performance of the first network structure predicted based on the performance prediction model, and the second network performance refers to the network performance of the first network structure determined based on a first training data set and a verification data set;

[0036] A target network performance of the first network structure is determined according to the first network performance and the second network performance.

[0037] In some embodiments of the present application, the processing unit is further configured to:

[0038] Obtain a first training data set and a validation data set;

[0039] Training the first network structure according to the first training data set to obtain a trained network structure;

[0040] According to the verification data set, the network performance of the trained network structure is obtained as the second network performance of the first network structure.

[0041] In some embodiments of the present application, the network structure search device further includes a determination unit, and the determination unit is specifically configured to:

[0042] Obtaining an incentive value of a historical network structure, wherein the historical network structure refers to each network structure currently searched when a preset stop search condition is met;

[0043] Determining the objective function value of the historical network structure according to the incentive value and a preset objective function;

[0044] A target network structure is obtained from the historical network structure, where the target network structure refers to a network structure corresponding to the maximum value of the objective function.

[0045] In some embodiments of the present application, the determining unit is further configured to:

[0046] Get preset demand performance;

[0047] An incentive value of the historical network structure is determined according to the demand performance and the network performance of the historical network structure.

[0048] In some embodiments of the present application, the determining unit is further configured to:

[0049] Obtaining model accuracy performance and model speed performance, wherein the model accuracy performance refers to a preset accuracy requirement value for the network structure on a validation data set, and the model speed performance refers to a preset requirement value for the network structure in terms of prediction speed;

[0050] The required performance is determined according to the model accuracy performance and the model speed performance.

[0051] In some embodiments of the present application, the processing unit is further configured to:

[0052] Acquire a second training data set, where the second training data set includes a sample model and network performance of the sample model;

[0053] Training the initial model according to the second training data set;

[0054] The model that has completed training is determined as the performance prediction model.

[0055] On the other hand, an embodiment of the present application also provides a network structure search device, which includes a processor and a memory, in which a computer program is stored. When the processor calls the computer program in the memory, it executes the steps of any network structure search method provided in the embodiment of the present application.

[0056] On the other hand, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in the network structure search method.

[0057] In the embodiment of the present application, after searching for the first network structure, the target network performance of the first network structure is determined by a preset performance prediction model. On the one hand, the search device can continuously optimize the search strategy according to the determined target network performance of the first network structure, thereby ensuring that the optimal network structure can be searched. On the other hand, since the network performance of the first network structure can be predicted by the preset performance prediction model, it is not necessary to train the first network structure with a large amount of training data before determining the network performance of the first network structure, which shortens the training time of the network structure and thereby shortens the search time of the network structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 This is a schematic diagram of an embodiment of a method for searching a network structure provided in an embodiment of the present application;

[0060] Figure 2 This is a schematic diagram of a detailed process of step S20 in the embodiment of the present application;

[0061] Figure 3 This is another flow chart of the network structure search method provided in the embodiment of the present application;

[0062] Figure 4 This is a schematic diagram of the structure of an embodiment of a network structure search device provided in an embodiment of the present application;

[0063] Figure 5 It is a schematic diagram of the structure of an embodiment of a search device for a network structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0065] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0066] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.

[0067] First of all, before introducing the embodiments of the present application, the relevant content about the application background of the embodiments of the present application is introduced.

[0068] Deep learning technology has achieved excellent generalization performance in a variety of visual tasks in the field of machine learning (for example, object classification tasks, object detection tasks, object segmentation tasks, etc.). After the optimization goal is given, deep learning automates the process of feature learning, but the structural design, training strategy, parameter adjustment methods, etc. of the deep model often require researchers to spend a lot of manpower and material resources for experimental exploration. In recent years, automatic learning methods, such as neural network architecture search, have made it possible to automate some steps that require manual design.

[0069] However, in the existing neural network architecture search methods, after searching for the network structure, it is necessary to train the searched network structure to test the performance of the searched network structure, and then update the search strategy according to the performance of the searched network structure to search for the optimal network structure. However, it takes a lot of time to train the network structure, which leads to a long overall time for the network structure search; and training the network structure requires a lot of hardware resources.

[0070] Since the model can only show a network performance close to its true performance when it is trained to convergence, when testing the network performance of the model, in order to accurately detect the network performance of the model, the prior art generally considers training the model to convergence first, and then using the validation data set to test the model. Due to this limitation, after searching for a network structure, technicians in this field can easily think of training the searched network structure to convergence (the time required for network structure training is relatively long), and then testing the network performance of the network structure, which results in a longer search time for the network structure.

[0071] Based on the above-mentioned defects existing in the existing related technologies, an embodiment of the present application provides a method for searching a network structure. After searching the network structure, the network performance of the searched network structure can be predicted through a preset performance prediction model, thereby reducing the training time of the network structure and further shortening the search time of the network structure, thereby overcoming the defects existing in the existing related technologies at least to a certain extent.

[0072] The embodiment of the present application provides a method for searching a network structure. In the embodiment of the present application, the search for the network structure is performed based on reinforcement learning, wherein the network structure refers to a convolutional neural network (CNN).

[0073] Reinforcement learning is to obtain learning information and update model parameters by receiving rewards (feedback) from the environment for actions. Specifically, in reinforcement learning, the agent (also called the controller) acts as a learning system, obtains the current state information s of the external environment, takes a tentative action u on the environment, and obtains the evaluation r of this action and the new environmental state from the environmental feedback. If an action u of the agent leads to a positive reward from the environment, then the tendency of the agent to take this action in the future will be strengthened; otherwise, the tendency of the agent to take this action will be weakened. In the repeated interaction between the control behavior of the learning system and the state and evaluation of the environmental feedback, the mapping strategy from state to action is continuously modified in a learning manner to achieve the purpose of optimizing system performance.

[0074] In an embodiment of the present application, an intelligent agent (hereinafter referred to as a controller) is used to search for a network structure (i.e., an action in reinforcement learning). First, based on the network performance of the network structure searched by the controller, an incentive value (i.e., the evaluation r of the action in reinforcement learning) obtained by the controller when searching for the network structure is determined; then, based on the incentive value obtained by the controller when searching for the network structure, the decision parameters of the controller are updated; then, after the decision parameters of the controller are updated, the controller continues to search for the network structure until the conditions for stopping the search are met.

[0075] The executing entity of the network structure search method of the embodiment of the present application may be the network structure search device provided in the embodiment of the present application, or a server device, a physical host or a user equipment (UE) and other different types of network structure search devices integrated with the network structure search device, wherein the network structure search device may be implemented in hardware or software, and the UE may specifically be a terminal device such as a smart phone, a tablet computer, a laptop computer, a PDA, a desktop computer or a personal digital assistant (PDA).

[0076] The search device of the network structure can adopt a single-operation working mode, or it can also adopt a device cluster working mode. By applying the network structure search method provided in the embodiment of the present application, the training time of the network structure can be reduced, thereby shortening the search time of the network structure.

[0077] Next, we will begin to introduce the network structure search method provided in the embodiment of the present application. In the embodiment of the present application, the network structure search device is used as the execution subject. For the sake of simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments, or the network structure search device will be directly referred to as the search device. The network structure search method includes: obtaining a first network structure according to a preset search strategy; determining a target network performance of the first network structure through a preset performance prediction model; updating the search strategy according to the target network performance, and obtaining a second network structure according to the updated search strategy until a preset stop search condition is met.

[0078] Reference Figure 1 , Figure 1 A flowchart of a method for searching a network structure provided in an embodiment of the present application. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here. The method for searching a network structure includes steps S10 to S30, wherein:

[0079] S10. Acquire a first network structure according to a preset search strategy.

[0080] First, construct the search space of the network structure. Specifically, the search space of the network structure can be constructed through the Long Short-Term Memory (LSTM) network; the search space of the network structure defines the variables of the optimization problem (including the number of convolution kernels, the size of the convolution kernel, the presence or absence of residual operation, the convolution operation step size, the number of network layers, etc.).

[0081] Then, the first network structure is obtained based on the controller. Specifically, the controller determines the specific values ​​of each variable used to construct the first network structure based on the initial decision parameters and the search space of the network structure, and the search device constructs a CNN network based on the specific values ​​of each variable. At this point, a network structure search is completed. Among them, the first network structure refers to a CNN network constructed according to the specific values ​​of each variable.

[0082] Among them, the preset search strategy can be implemented in multiple ways, for example, searching for a network structure that conforms to a specific rule (such as a network structure with 5 convolutional layers and 3 fully connected layers, a total of 8 layers, or a network structure with 4 convolutional layers and 2 fully connected layers, a total of 6 layers). For another example, the implementation method adopted in the embodiment of the present application: the search device generates a CNN network based on reinforcement learning, specifically refers to the controller determining the specific values ​​of each variable used to construct the CNN network based on the initial decision parameters and the search space of the network structure, and the search device constructs the CNN network based on the specific values ​​of each variable; that is, searching for a network structure based on reinforcement learning.

[0083] In order to facilitate understanding of how to search for a network structure, a specific embodiment is used for explanation below. For example, the controller determines, based on the initial decision parameters and the search space of the network structure, that the variables used to construct the first network structure are: the number of convolution kernels is 3, the size of the convolution kernel is 5×5, and the convolution operation step is 1. Then the search device constructs a CNN network based on the variables, and the constructed CNN network is the searched network structure.

[0084] S20. Determine the target network performance of the first network structure through a preset performance prediction model.

[0085] Among them, network performance refers to an indicator to measure the performance of the network structure. The level of network performance is related to the prediction accuracy, prediction speed, etc. of the network structure; for example, the higher the prediction accuracy of the network structure, the higher the network performance of the network structure; the faster the prediction speed of the network structure, the higher the network performance of the network structure.

[0086] Since different performance measurement standards have different units of expression, in order to facilitate the measurement of the performance of the network structure, in the embodiment of the present application, a score is used to represent the network performance. For example, for prediction accuracy of 80%, 90%, and 100%, 8 points, 9 points, and 10 points are used to represent them respectively; for prediction speeds of slow, medium, and fast, 2 points, 4 points, and 6 points are used to represent them respectively. For a network structure with a prediction accuracy of "80%" and a prediction speed of "medium", its network performance is determined to be: 8+4=12 points; for a network structure with a prediction accuracy of "90%" and a prediction speed of "fast", its network performance is determined to be: 8+4=12 points.

[0087] The specific score value of the network performance is related to at least one of the prediction accuracy and prediction speed of the network structure. For example, if you only want to use the prediction accuracy of the network structure to measure the network performance of the network structure, you can directly determine the specific network performance value based on the prediction accuracy value of the network structure. If you want to measure the network performance of the network structure based on the prediction accuracy and prediction speed of the network structure at the same time, you can determine the specific network performance value based on the prediction accuracy value and prediction speed of the network structure at the same time. The specific setting can be based on actual needs.

[0088] The target network performance refers to the network performance of the first network structure. The preset performance prediction model refers to a model obtained through pre-training for predicting the network performance of the network structure. The specific determination method of the preset performance prediction model can refer to the following steps a1 to a3.

[0089] One implementation method of “determining the target network performance of the first network structure through a preset performance prediction model” is: inputting the network configuration code of the first network structure into the preset performance prediction model, so that the preset performance prediction model predicts the network performance of the first network structure according to the network configuration code of the first network structure and the prediction function in step a3, and uses the predicted network performance of the first network structure as the target network performance of the first network structure.

[0090] One implementation of “determining the target network performance of the first network structure through a preset performance prediction model” is: on the one hand, the network configuration code of the first network structure is input into the preset performance prediction model, so that the preset performance prediction model predicts the network performance of the first network structure according to the network configuration code of the first network structure and the prediction function in step a3. On the other hand, the first network structure is trained by a training data set, and the network performance of the trained first network structure is detected by a verification data set. Finally, based on the network performance of the first network structure predicted by the performance prediction model and the network performance of the first network structure (referring to the trained first network structure) detected by the verification data set, the target network performance of the first network structure is determined (for example, the average of the network performance predicted by the performance prediction model and the network performance detected by the verification data set is used as the target network performance of the first network structure).

[0091] In order to improve the accuracy of the network performance predicted by the performance prediction model, and thus provide a more accurate data basis for the subsequent update of the search strategy according to the network performance, in some embodiments of the present application, the performance prediction model is obtained through the following steps a1 to a3:

[0092] a1. Obtain a second training data set.

[0093] The second training data set includes a sample model and the network performance of the sample model.

[0094] Specifically, one implementation of "obtaining a second training data set" is: first, collect multiple existing (published or open-source) artificially designed deep network models as sample models. Then, collect the network performance of these existing artificially designed deep network models as the network performance of the sample models. Finally, the collected sample models and the network performance of the sample models are used as the second training data set.

[0095] Another implementation method of "obtaining a second training data set" is: first, collect multiple existing (published or open source) artificially designed deep network models as sample models. Then, perform multiple rounds of training on the existing artificially designed deep network models to obtain multiple trained deep network models, and use the multiple trained deep network models as sample models, and determine the network performance of all sample models (specifically, the network performance of the sample models can be tested through the verification data set). Finally, the collected sample models and the network performance of the sample models are used as the second training data set.

[0096] a2. Train the initial model according to the second training data set.

[0097] Specifically, one implementation of "training the initial model according to the second training data set" is: encoding the network configuration of each sample model and representing the network performance as vector data, and inputting the vector data into the initial model so that the initial model learns according to the vector data to determine the prediction function of the model performance.

[0098] Since the network performance of the same model may be different after training under different training data, in order to consider the impact of different training data on the network performance of the model, in some embodiments of the present application, another implementation method of "training the initial model according to the second training data set" is: the number of samples in the training data set, the distribution of sample categories, the mean and variance of the sample signal-to-noise ratio after disturbance, the average input of the sample, etc., as well as the network configuration encoding and network performance of each sample model are represented as vector data, and the vector data is input into the initial model, so that the initial model learns according to the vector data to determine the prediction function of the model performance.

[0099] a3. Determine the trained model as the performance prediction model.

[0100] When the network performance output by the trained initial model can meet the loss function or other target conditions, the model training is completed. At this time, the model can be used as a performance prediction model to predict the network performance of the network structure.

[0101] In order to facilitate understanding of how to collect and train the initial model based on the second training data set to obtain a performance prediction model, a specific embodiment is described below.

[0102] For example, collect the network configuration code A of the existing manually designed network model (published or open source), the number of training rounds I of the manually designed network model, and its performance f on the classification task p And the description vector D of the training data set is used as the second training data set. The second training data set is input into the initial model so that the initial model learns according to the second training data set, determines the prediction function of the network performance, and then obtains the performance prediction model. Among them, the prediction function of the network performance is as follows:

[0103] f p =f(D,A,I) Formula (1)

[0104] Among them, D represents the description vector obtained by describing the training data set of the artificially designed network model (i.e., the sample model) by combining the number of samples, the distribution of sample categories, the mean and variance of the signal-to-noise ratio of the samples after disturbance, the average input of the samples, and the mean and variance of the evaluation values ​​under the blind image quality evaluation system. A represents the network configuration code of the artificially designed network model (i.e., the sample model), and I represents the number of training rounds of the artificially designed network model.

[0105] The purpose of adding the training round number I as training data here is to enable models with the same network structure to be used as different sample models after training for different rounds, thereby enhancing the diversity of training data.

[0106] In an embodiment of the present application, the model is trained by acquiring a second training data set to obtain a performance prediction model for predicting the network performance of the network structure, and because it is trained with the training data set, the accuracy of the network performance predicted by the performance prediction model is improved, thereby providing a more accurate data basis for subsequent updating of the search strategy according to the network performance.

[0107] S30: updating the search strategy according to the target network performance, and acquiring a second network structure according to the updated search strategy until a preset stop search condition is met.

[0108] Among them, there can be multiple preset stop search conditions. For example, when the search time of the search device is greater than a certain time, stop searching the network structure; for example, when the objective function value corresponding to the searched network structure (the objective function value corresponding to the network structure can be determined by referring to the objective function in the following step S50) changes less than a preset threshold, stop searching the network structure.

[0109] Specifically, taking into account that in actual applications, there are performance requirements for algorithm models (for example, the algorithm model for classification tasks has requirements for its classification accuracy, and the algorithm model for target detection tasks has requirements for its detection accuracy. For example, in actual applications, there are requirements for the time it takes for the algorithm model to infer and output results), in order to make the network performance of the searched network structure as high as possible, in an embodiment of the present application, when searching based on reinforcement learning, a reward function is constructed according to the required value of the model performance and the network performance of the searched network structure, and the decision parameters of the controller are updated according to the constructed incentive function.

[0110] In some embodiments of the present application, the activation function is as follows:

[0111] R=PK Formula (2)

[0112] Among them, R represents the incentive value of the searched network structure, P represents the network performance of the searched network structure, and K represents the performance requirement value of the preset algorithm model.

[0113] In some embodiments of the present application, the activation function is as follows:

[0114]

[0115] Among them, R represents the incentive value of the searched network structure, P e represents the network performance predicted by the performance predictor of the searched network structure, P l It represents the network performance of the searched network structure after it is trained with the training data set and tested on the validation set. K represents the performance requirement value of the preset algorithm model.

[0116] “Updating the search strategy according to the target network performance, and acquiring the second network structure according to the updated search strategy until a preset stop search condition is met” specifically includes:

[0117] (1) After determining the target network performance of the first network structure, first, according to the target network performance of the first network structure and the performance requirement value of the preset algorithm model, the incentive value corresponding to the first network structure is determined according to the above formula (2), and the decision parameters of the controller are updated according to the incentive value corresponding to the first network structure.

[0118] (2) Then, a second network structure is obtained based on the controller. Specifically, the controller determines the specific values ​​of each variable used to construct the second network structure according to the updated decision parameters and the search space of the network structure, and the search device constructs a CNN network according to the specific values ​​of each variable. At this point, the search for the network structure is completed again. The second network structure refers to a CNN network constructed according to the specific values ​​of each variable.

[0119] (3) Iterate the above steps (1) and (2) until the preset stop search condition is met.

[0120] In an embodiment of the present application, after searching for the first network structure, the target network performance of the first network structure is determined by a preset performance prediction model. On the one hand, this allows the search device to continuously optimize the search strategy based on the determined target network performance of the first network structure, thereby ensuring that the optimal network structure can be searched out.

[0121] On the other hand, since the network performance of the first network structure can be predicted by the preset performance prediction model, there is no need to train the first network structure with a large amount of training data to determine the network performance of the first network structure, which shortens the training time of the network structure and further shortens the search time of the network structure.

[0122] In order to improve the accuracy of the target network performance of the determined first network structure, refer to Figure 2 , Figure 2 A flowchart of the detailed step S20 of the embodiment of the present application. In some embodiments of the present application, step S20 may specifically include the following steps 21 to 22, wherein:

[0123] 21. Determine the first network performance of the first network structure through the performance prediction model, and obtain the second network performance of the first network structure.

[0124] The first network performance refers to the network performance of the first network structure predicted based on the performance prediction model. The second network performance refers to the network performance of the first network structure determined based on the first training data set and the verification data set (specifically, the first network structure is trained by the training data set, and the network performance of the trained first network structure is detected by the verification data set, as the second network performance of the first network structure).

[0125] In some embodiments of the present application, the step of obtaining the second network performance of the first network structure may specifically include the following steps b1 to b3, wherein:

[0126] b1. Obtain the first training data set and the validation data set.

[0127] Specifically, multiple sample data are obtained according to a specific model task, and the multiple sample data are labeled; and the labeled sample data are divided into a first training data set and a verification data set, so that the first network structure can be subsequently trained according to the first training data set and the network performance of the trained first network structure can be detected according to the verification data set.

[0128] For example, for a classification task, first obtain multiple sample images, then annotate the category of each sample image, and then use part of the annotated sample images as the first training data set and the other part as the verification data set. For a segmentation task, first obtain multiple sample images, then annotate the segmentation data of each sample image, and then use part of the annotated sample images as the first training data set and the other part as the verification data set.

[0129] b2. Train the first network structure according to the first training data set to obtain a trained network structure.

[0130] In order to facilitate understanding of how to train the first network structure according to the first training data set to obtain a trained network structure, a specific embodiment is used to illustrate below.

[0131] For example, for a classification task, each labeled sample image in the first training data set is input into the initial model, so that the initial model performs forward propagation according to the sample image, and then performs back propagation according to the loss function configured for the initial model, with the output of the classification result as the goal, and the model parameters of the initial model are iteratively updated. When the classification result output by the initial model can meet the loss function or other target conditions, the model training is completed, and the model is regarded as a trained network structure.

[0132] For another example: for a segmentation task, each sample image labeled in the first training data set is input into the initial model, so that the initial model performs forward propagation according to the sample image, and then performs back propagation according to the loss function configured for the initial model, with the output of the segmentation result as the goal, and iteratively updates the model parameters of the initial model (i.e., iteratively updates the prediction function of the model). When the segmentation result output by the initial model can satisfy the loss function or other target conditions, the model training is completed, and the model is regarded as a trained network structure.

[0133] b3. According to the verification data set, obtain the network performance of the trained network structure as the second network performance of the first network structure.

[0134] Specifically, first, each sample data in the validation data set is input into the trained network structure, so that the trained network structure determines and outputs a prediction result according to each sample data and the prediction function of the trained network structure. Then, according to the error between the prediction result and the labeled data, the network performance of the trained network structure is determined as the second network performance of the first network structure; wherein, the greater the error between the prediction result and the labeled data, the lower the network performance of the trained network structure (i.e., the lower the second network performance of the first network structure).

[0135] For example, for a classification task, the verification data set includes sample picture 1, sample picture 2, and sample picture 3. According to the labeled data, the objects corresponding to sample picture 1, sample picture 2, and sample picture 3 are: table, chair, and wardrobe, respectively. The classification results predicted by the trained network structure based on sample pictures 1, sample pictures 2, and sample pictures 3 are: chair, chair, and wardrobe, respectively. The classification result predicted by the trained network structure for sample picture 1 is wrong, and the classification results for sample pictures 2 and sample pictures 3 are correct. Therefore, it can be determined that the prediction accuracy of the trained network structure is: 2 / 3≈67%, and then the network performance of the trained network structure can be determined (for details, refer to the example in step S20 above).

[0136] In an embodiment of the present application, the first network structure is trained by using a first training data set, and the network performance of the trained first network structure is detected by using a verification data set, thereby detecting the network performance of the first network structure on the verification set (i.e., the second network performance), thereby providing accurate data basis for subsequently determining the target network performance according to the second network performance.

[0137] 22. Determine a target network performance of the first network structure based on the first network performance and the second network performance.

[0138] As an implementation method for determining the target network performance, an average value of the first network performance and the second network performance is used as the target network performance of the first network structure. Specifically, the target network performance of the first network structure is calculated by the following formula (4), where the formula is:

[0139]

[0140] Where P represents the target network performance of the first network structure, P e represents the network performance (i.e., the first network performance) predicted by the performance predictor for the first network structure, P l It indicates the network performance (i.e., the second network performance) obtained by testing the first network structure on the validation set after the first network structure is trained with the training data set.

[0141] Another implementation method of determining the target network performance is: first, determine the weight coefficient of the first network performance and the weight coefficient of the second network performance respectively. Then, determine the target network performance of the first network structure according to the weight coefficient of the first network performance, the weight coefficient of the second network performance, the first network performance and the second network performance. Thus, the influence of the first network performance and the second network performance on the target network performance is balanced through the weight coefficient.

[0142] In the embodiments of the present application, on the one hand, since the target network performance of the first network structure is determined by combining the network performance detected by the verification data set, the determined target network performance is closer to the actual network performance of the first network structure; on the other hand, since the target network performance of the first network structure is determined by combining the grid performance roughly predicted by the performance predictor, there is no need to train the network structure for a long time before detecting its network performance, thereby shortening the training time of the network structure and further shortening the search time of the network structure.

[0143] It can be seen that by combining the grid performance roughly predicted by the performance predictor with the network performance determined based on the first training data set and the verification data set to comprehensively determine the target network performance of the first network structure, the accuracy of the network performance detection of the network structure can be guaranteed while shortening the search time of the network structure.

[0144] Reference Figure 3 , Figure 3 Another flowchart of a network structure search method provided in an embodiment of the present application. In some embodiments of the present application, the network structure search method further includes the following steps S40 to S50, wherein:

[0145] S40, obtaining the incentive value of the historical network structure.

[0146] After executing the above steps S10 to S30, the search device can search for multiple network structures based on the controller.

[0147] Among them, the historical network structure refers to each network structure that has been searched currently when the preset stop search condition is met. For example, the preset stop search condition is that the search duration is greater than or equal to the preset threshold (such as 2 days). According to the preset search strategy (such as strategy 1), network structure 1 is obtained; strategy 1 is updated according to the network performance of network structure 1 to obtain strategy 2, and network structure 2 is searched according to strategy 2; then strategy 2 is updated according to the network performance of network structure 2 to obtain strategy 3, and network structure 3 is searched according to strategy 3; this cycle is repeated until the search duration is equal to 2 days, and a total of five network structures, namely network structure 1, network structure 2, network structure 3, network structure 4, and network structure 5, are searched. Then the historical network structure refers to each network structure in network structure 1, network structure 2, network structure 3, network structure 4, and network structure 5.

[0148] The incentive value of the historical network structure refers to the incentive value obtained by the controller when searching for the historical network structure based on the network performance of the historical network structure searched by the controller; the incentive value of the historical network structure can be determined by referring to formula (2) or formula (3) in step S30 above. Specifically: first, refer to step S20 above (or refer to steps 21 to 22 above) to obtain the network performance of the historical network structure; then, obtain the performance requirement value of the preset algorithm model; finally, the difference between the network performance of the historical network structure obtained by referring to step S20 above (or refer to steps 21 to 22 above) and the performance requirement value of the preset algorithm model is used as the incentive value of the historical network structure.

[0149] In some embodiments of the present application, the step of obtaining the incentive value of the historical network structure specifically includes the following steps c1 and c2:

[0150] c1. Obtain preset required performance;

[0151] In practical applications, there are performance requirements for model performance. For example, the algorithm model for classification tasks has requirements for its classification accuracy, and the algorithm model for target detection tasks has requirements for its detection accuracy. Or, in practical applications, the model requires time for inference in a hardware environment, etc.

[0152] The preset demand performance refers to an indicator that measures the target performance (target performance refers to the performance required for the network structure). The preset demand performance is related to the prediction accuracy, prediction speed and other requirements for the network structure. For example, the higher the prediction accuracy requirement for the network structure, the higher the preset demand performance; the faster the prediction speed of the network structure is required, the higher the preset demand performance. The specific value of the preset demand performance is related to at least one of the prediction accuracy requirement and prediction speed requirement of the network structure. For example, if only the prediction accuracy of the network structure is required, the specific demand performance value can be directly determined based on the prediction accuracy requirement value of the network structure; if both the prediction accuracy and prediction speed of the network structure are required, the specific network performance value can be determined based on the prediction accuracy requirement value and prediction speed requirement value of the network structure at the same time. The specific setting can be based on actual needs.

[0153] In some embodiments of the present application, the prediction accuracy requirement value for the network structure is obtained as the preset required performance. For example, if the prediction accuracy requirement value for the network structure corresponds to a score of 9 points, then the preset required performance is 9 points.

[0154] In order to balance the prediction accuracy and prediction speed of the obtained network structure, in some embodiments of the present application, the step of obtaining the preset demand performance specifically includes the following steps (c11) and (c12):

[0155] (c11) Obtain model accuracy performance and model speed performance.

[0156] Among them, the model accuracy performance refers to the preset accuracy requirement value of the network structure on the validation data set, and the model speed performance refers to the preset requirement value of the network structure in prediction speed.

[0157] For example, if the preset accuracy requirement for the network structure on the validation data set is 80%, the corresponding score for 80% accuracy is 8 points, and the model accuracy performance is 8 points. If the preset requirement for the prediction speed of the network structure is "fast", the corresponding score for "fast" speed is 6 points, and the model speed performance is 6 points.

[0158] (c12) Determining the required performance based on the model accuracy performance and the model speed performance.

[0159] Specifically, the required performance is calculated by the following formula, where the formula is:

[0160] K=precision-μlatency formula (5)

[0161] Among them, K represents the preset required performance, precision represents the preset accuracy requirement value of the network structure on the verification data set (i.e., model accuracy performance), latency represents the preset requirement value of the network structure in prediction speed (i.e., model speed performance), and μ represents the balance factor.

[0162] In the embodiment of the present application, the required performance is determined by simultaneously determining the accuracy requirement value of the network structure on the validation data set and the required value of the network structure on the prediction speed. Since the incentive value is directly related to the required performance and the incentive value affects the update of the search strategy, the network structure can be searched by balancing the prediction accuracy and prediction speed.

[0163] c2. Determine the incentive value of the historical network structure according to the demand performance and the network performance of the historical network structure.

[0164] In some embodiments of the present application, the difference between the network performance of the historical network structure obtained in the above step S20 and the demand performance determined in the above steps (c11) and (c12) (or the preset demand performance obtained in the above step c1) is used as the incentive value of the historical network structure.

[0165] In some embodiments of the present application, the difference between the network performance of the historical network structure obtained by referring to steps 21 to 22 above and the demand performance determined in steps (c11) and (c12) above (or the preset demand performance obtained in step c1 above) is used as the incentive value of the historical network structure.

[0166] The excitation value of the historical network structure refers to the excitation value obtained by the controller when searching for the historical network structure.

[0167] In the embodiment of the present application, the incentive value of the historical network structure is determined according to the performance requirements of the network structure (i.e., the required performance) and the network performance of the historical network. On the one hand, an accurate data basis is provided for the subsequent determination of the objective function value of the historical network structure according to the incentive value of the historical network structure. On the other hand, since the incentive value is directly related to the required performance and the incentive value affects the update of the search strategy, the network performance of the network structure subsequently searched is closer to the actual demand.

[0168] S50: Determine the objective function value of the historical network structure according to the incentive value and a preset objective function.

[0169] After determining the incentive value of the historical network structure, the objective function value of each historical network structure is determined according to the preset objective function, where the preset objective function is:

[0170]

[0171] Among them, L is the objective function value of the network structure, m is the number of network structures searched by the controller, T is the total number of hyperparameters predicted by the controller, and a t is the output at time step t in a given network structure, R k is the stimulus value obtained after the kth network structure test, P represents the probability of generating the network structure, θ c is the decision parameter of the controller.

[0172] 60. Obtain a target network structure from the historical network structure.

[0173] Among them, the target network structure refers to the network structure corresponding to the maximum value of the objective function in the historical network structure.

[0174] In order to facilitate understanding of the determination method of the target network structure, a specific embodiment is used for illustration. For example, the historical network structure includes network structure A, network structure B, and network structure C. The objective function values ​​of network structure A, network structure B, and network structure C are 10, 20, and 30 respectively. Then, the network structure corresponding to the maximum objective function value is network structure C, and network structure C is obtained as the target network structure as the output result of the network search.

[0175] In an embodiment of the present application, based on a preset objective function and the incentive value of the historical network structure, a network structure corresponding to the maximum value of the objective function is obtained from the searched historical network structures as the target network structure, thereby searching for the optimal network structure.

[0176] In order to better implement the network structure search method in the embodiment of the present application, based on the network structure search method, the embodiment of the present application also provides a network structure search device, such as Figure 4 FIG. 4 is a schematic diagram of a structure of a network structure search device according to an embodiment of the present application. The network structure search device 400 includes:

[0177] The acquisition unit 401 is used to acquire a first network structure according to a preset search strategy;

[0178] The processing unit 402 is used to determine the target network performance of the first network structure obtained by the acquisition unit 401 through a preset performance prediction model; update the search strategy according to the target network performance, and obtain the second network structure according to the updated search strategy until a preset stop search condition is met.

[0179] In some embodiments of the present application, the processing unit 402 is further configured to:

[0180] Determine a first network performance of the first network structure by using the performance prediction model, and obtain a second network performance of the first network structure, wherein the first network performance refers to the network performance of the first network structure predicted based on the performance prediction model, and the second network performance refers to the network performance of the first network structure determined based on a first training data set and a verification data set;

[0181] A target network performance of the first network structure is determined according to the first network performance and the second network performance.

[0182] In some embodiments of the present application, the processing unit 402 is further configured to:

[0183] Obtain a first training data set and a validation data set;

[0184] Training the first network structure according to the first training data set to obtain a trained network structure;

[0185] According to the verification data set, the network performance of the trained network structure is obtained as the second network performance of the first network structure.

[0186] In some embodiments of the present application, the network structure search device further includes a determination unit (not shown in the figure), and the determination unit is specifically used to:

[0187] Obtaining an incentive value of a historical network structure, wherein the historical network structure refers to each network structure currently searched when a preset stop search condition is met;

[0188] Determining the objective function value of the historical network structure according to the incentive value and a preset objective function;

[0189] A target network structure is obtained from the historical network structure, where the target network structure refers to a network structure corresponding to the maximum value of the objective function.

[0190] In some embodiments of the present application, the determining unit is further configured to:

[0191] Get preset demand performance;

[0192] An incentive value of the historical network structure is determined according to the demand performance and the network performance of the historical network structure.

[0193] In some embodiments of the present application, the determining unit is further configured to:

[0194] Obtaining model accuracy performance and model speed performance, wherein the model accuracy performance refers to a preset accuracy requirement value for the network structure on a validation data set, and the model speed performance refers to a preset requirement value for the network structure in terms of prediction speed;

[0195] The required performance is determined according to the model accuracy performance and the model speed performance.

[0196] In some embodiments of the present application, the processing unit 402 is further configured to:

[0197] Acquire a second training data set, where the second training data set includes a sample model and network performance of the sample model;

[0198] Training the initial model according to the second training data set;

[0199] The model that has completed training is determined as the performance prediction model.

[0200] In addition, in order to better implement the network structure search method in the embodiment of the present application, based on the network structure search method, the embodiment of the present application also provides a network structure search device, see Figure 5 , Figure 5 A schematic diagram of a network structure search device according to an embodiment of the present application is shown. Specifically, the network structure search device provided in the embodiment of the present application includes a processor 501, and the processor 501 is used to execute the computer program stored in the memory 502 to implement the following Figures 1 to 3 Corresponding to each step of the network structure search method in any embodiment; or, the processor 501 is used to execute the computer program stored in the memory 502 to implement the following Figure 4 The functions of each unit in the corresponding embodiment.

[0201] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 502, and executed by the processor 501 to complete the embodiment of the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0202] The network structure search device may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that the illustration is merely an example of a network structure search device and does not constitute a limitation on the network structure search device. The network structure search device may include more or fewer components than shown in the illustration, or may combine certain components, or different components. For example, the network structure search device may also include input and output devices, network access devices, buses, etc. The processor 501, the memory 502, the input and output devices, and the network access devices are connected via a bus.

[0203] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the search device of the network structure, and uses various interfaces and lines to connect various parts of the search device of the entire network structure.

[0204] The memory 502 can be used to store computer programs and / or modules. The processor 501 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 502 and calling the data stored in the memory 502. The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the search device of the network structure (such as audio data, video data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0205] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the search device, equipment and corresponding units of the network structure described above can refer to the following. Figures 1 to 3 The description of the network structure search method in any embodiment will not be repeated here.

[0206] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0207] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the present application as follows: Figures 1 to 3 For the steps in the network structure search method in any embodiment, the specific operations can be referred to as follows: Figures 1 to 3 The description of the network structure search method in any embodiment will not be repeated here.

[0208] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0209] Due to the instructions stored in the computer-readable storage medium, the present application can be executed. Figures 1 to 3 Corresponding to the steps in the network structure search method in any embodiment, therefore, the present application can be implemented as follows Figures 1 to 3The beneficial effects that can be achieved by the network structure search method in any embodiment are detailed in the previous description and will not be repeated here.

[0210] The above is a detailed introduction to a network structure search method, device, equipment and storage medium provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A network structure search method, It is characterized in that Applied to image classification tasks, the method comprises: According to a preset search strategy, a first network structure is obtained, wherein the first network structure is an algorithm model of a classification task; A plurality of sample images are obtained, the category of each sample image is annotated, and a part of the annotated sample images is used as the first training data set and the other part is used as the verification data set; The first network structure is trained according to the first training data set to obtain a trained network structure, including: Input each labeled sample image in the first training data set into the initial model, so that the initial model performs forward propagation according to the sample image, and then performs back propagation according to the loss function configured for the initial model, with the goal of outputting the classification result, and iteratively updating the model parameters of the initial model; Until the classification results output by the initial model can satisfy the loss function, the model is regarded as a trained network structure; According to the verification data set, obtaining the error between the classification result predicted by the trained network structure for each sample image in the verification data set and the labeled data, determining the prediction accuracy of the trained network structure, and determining the network performance of the trained network structure as the second network performance of the first network structure; Determine a first network performance of the first network structure through a performance prediction model, and obtain a second network performance of the first network structure, wherein the first network performance refers to the network performance of the first network structure predicted based on the performance prediction model; Determining a target network performance of the first network structure according to the first network performance and the second network performance; The search strategy is updated according to the target network performance, and a second network structure is acquired according to the updated search strategy until a preset stop search condition is met.

2. The network structure search method according to claim 1, It is characterized in that The method further comprises: Obtaining an incentive value of a historical network structure, wherein the historical network structure refers to each network structure currently searched when a preset stop search condition is met; Determining the objective function value of the historical network structure according to the incentive value and a preset objective function; A target network structure is obtained from the historical network structure, where the target network structure refers to a network structure corresponding to the maximum value of the objective function.

3. The network structure search method according to claim 2, It is characterized in that The step of obtaining the incentive value of the historical network structure includes: Get preset demand performance; An incentive value of the historical network structure is determined according to the demand performance and the network performance of the historical network structure.

4. The network structure search method according to claim 3, It is characterized in that The obtaining of preset demand performance includes: Obtaining model accuracy performance and model speed performance, wherein the model accuracy performance refers to a preset accuracy requirement value for the network structure on a validation data set, and the model speed performance refers to a preset requirement value for the network structure in terms of prediction speed; The required performance is determined according to the model accuracy performance and the model speed performance.

5. The method for searching a network structure according to any one of claims 1 to 4, It is characterized in that The performance prediction model is obtained by the following steps: Acquire a second training data set, where the second training data set includes a sample model and network performance of the sample model; Training the initial model according to the second training data set; The model that has completed training is determined as the performance prediction model.

6. A network structure search device, It is characterized in that Applied to image classification tasks, the search device of the network structure includes: An acquisition unit, configured to acquire a first network structure according to a preset search strategy, wherein the first network structure is an algorithm model of a classification task; A processing unit is used to obtain multiple sample images, mark the category of each sample image, use part of the marked sample images as a first training data set and another part as a verification data set; train the first network structure according to the first training data set to obtain a trained network structure, including: inputting each sample image marked in the first training data set into an initial model, so that the initial model performs forward propagation according to the sample image, and then performs back propagation according to the loss function configured for the initial model, with the output of the classification result as the goal, iteratively updating the model parameters of the initial model; until the classification result output by the initial model can satisfy the loss function, the model is used as the trained network structure; according to the verification data set, obtain the trained network structure against The error between the predicted classification result of each sample image in the verification data set and the labeled data is used to determine the prediction accuracy of the trained network structure, and the network performance of the trained network structure is determined as the second network performance of the first network structure; the first network performance of the first network structure is determined by a performance prediction model, and the second network performance of the first network structure is obtained, where the first network performance refers to the network performance of the first network structure predicted based on the performance prediction model; the target network performance of the first network structure is determined according to the first network performance and the second network performance; the search strategy is updated according to the target network performance, and the second network structure is obtained according to the updated search strategy until a preset stop search condition is met.

7. A network structure search device, It is characterized in that It comprises a processor and a memory, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the network structure search method according to any one of claims 1 to 5 is executed.

8. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the network structure searching method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Training data generation method and device and searching method and device

    CN106339756A

  • Neural network generation method and device, electronic equipment and storage medium

    CN109598332A