Learning model generation device, learning model generation method, and computer readable medium storing learning model generation program

By selecting and using the GUI on the Internet to perform machine learning of learning models, the problem of difficulty in producing learned models for non-professionals is solved, and a simplified learning model generation process is achieved.

CN118690870APending Publication Date: 2024-09-24SCREEN HOLDINGS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410333646.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-24
Filing Date
2024-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, producing a learned model requires professional knowledge and coding skills, making it difficult for non-professionals to easily generate a suitable learning model.

Method used

Provide a learning model generation device and method, select from multiple learning models disclosed on the Internet, and use a graphical user interface (GUI) to perform machine learning to generate learned models, including model information display, selection, data processing and Hyperparameter settings.

Benefits of technology

Existing learning models can be easily selected and used for machine learning without coding skills, generating suitable learned models, simplifying the production process of learning models and reducing time and knowledge requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690870A
    Figure CN118690870A
Patent Text Reader

Abstract

The invention relates to a learning model generation device, a learning model generation method, and a computer readable medium storing a learning model generation program. The learning model generation device includes: a model information display unit that selectively displays a plurality of learning models that are public on the Internet and have the same interface; a model selection unit that selects at least one learning model from among the plurality of displayed learning models; and a learning unit that mechanically learns learning data including image data with the selected learning model, and generates a learned learning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a learning model generating device, a learning model generating method and a computer-readable medium (Non-transitory computer readable medium) storing a learning model generating program, and in particular to a learning model generating device for mechanically learning a learning model, a learning model generating method executed by the learning model generating device, and a computer-readable medium (Non-transitory computer readable medium) storing a learning model generating program that enables a computer to execute the learning model generating method. Background Art

[0002] In the field of AI (Artificial Intelligence), a learning model such as a neural network is used to perform machine learning on a learning data set to generate a learned learning model. For example, Japanese Patent Publication No. 2021-047104 describes a learning device that generates a learning data set, learns the relationship between a substrate image and the presence or absence of defects by machine learning using the learning data set, and creates a learned model. In this way, in order to generate a learned model, it is necessary to prepare a learning data set and a learning model that performs machine learning on the learning data set. Summary of the invention

[0003] Generally speaking, a learning model is constructed based on a machine learning algorithm and is learned by providing a learning data set. Therefore, in order to prepare a learning model suitable for an object predicted by the learned model, it is necessary to encode the program to be processed according to the machine learning algorithm. In addition, although an existing learning model can also be used to generate a learned model, it is necessary to make the existing learning model suitable for the learning data set to be learned, and in the above case, the program also needs to be encoded. In this way, in order to generate a learned model, knowledge related to the learning model and time for encoding the program are required. Therefore, if you do not have professional knowledge, it is difficult to make the learning model perform machine learning, and there is a problem that it takes time to encode the program.

[0004] An object of the present invention is to provide a learning model generating device capable of easily generating a learned learning model.

[0005] Another object of the present invention is to provide a learning model generating method capable of easily generating a learned learning model.

[0006] Still another object of the present invention is to provide a computer-readable medium storing a learning model generation program capable of easily generating a learned learning model.

[0007] (1) According to one aspect of the present invention, a learning model generating device comprises: a model information display unit, which can selectively display a plurality of learning models that are publicly available on the Internet and have the same interface; a model selection unit, which selects at least one learning model from the plurality of learning models displayed; and a learning unit, which enables the selected learning model to perform mechanical learning on learning data to generate a learned model.

[0008] (2) According to another aspect of the present invention, the learning model generating method enables the learning model generating device to perform the following steps: a model information display step, which selectively displays multiple learning models that are publicly available on the Internet and have the same interface; a model selection step, which selects at least one learning model from the multiple learning models displayed; and a learning step, which enables the selected learning model to mechanically learn the learning data and generate a learned model.

[0009] (3) According to another aspect of the present invention, a computer-readable medium storing a learning model generation program enables a computer to execute the following steps: a model information display step, which selectively displays multiple learning models that are publicly available on the Internet and have the same interface; a model selection step, which selects at least one learning model from the multiple learning models displayed; and a learning step, which enables the selected learning model to mechanically learn the learning data and generate a learned model.

[0010] Able to easily generate learned learning models. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a diagram showing an example of the overall outline of a learning model generation system according to one embodiment of the present invention.

[0012] Figure 2 This is a diagram showing an example of the configuration of a learning model generating device.

[0013] Figure 3 This is a diagram showing an example of the functional structure of a learning model generation device according to one embodiment of the present invention.

[0014] Figure 4 This is a flowchart showing an example of the flow of the learning model generation process.

[0015] Figure 5 This is a diagram showing an example of a menu screen.

[0016] Figure 6 This is a flowchart showing an example of the flow of the learning data generation process.

[0017] Figure 7 This is a diagram showing an example of a learning data generation screen.

[0018] Figure 8 This is a diagram showing an example of a data augmentation setting screen.

[0019] Fig. 9 This is a diagram showing an example of an image classification setting screen.

[0020] Fig.10 This is a diagram showing an example of an object recognition setting screen.

[0021] Fig.11 This is a diagram showing an example of the area classification setting screen.

[0022] Fig.12 This is a flowchart showing an example of the flow of the learning model acquisition process.

[0023] Fig.13 This is a diagram showing an example of a learning model selection screen.

[0024] Fig.14 This is a diagram showing an example of an external learning model acquisition screen.

[0025] Fig.15 This is a flowchart showing an example of the flow of machine learning processing.

[0026] Fig.16 This is a diagram showing an example of a hyperparameter setting screen.

[0027] Fig.17 This is a diagram showing an example of a learning data selection screen.

[0028] Fig.18 This is a flowchart showing an example of the flow of the learned model evaluation process.

[0029] Fig.19 This is a diagram showing an example of a learned model evaluation screen.

[0030] Fig. 20 This is a flowchart showing an example of the flow of the learned model comparison process.

[0031] Fig.21 This is a diagram showing an example of a learned model comparison screen. DETAILED DESCRIPTION

[0032] Hereinafter, a learning model generation system according to an embodiment of the present invention will be described using the accompanying drawings. In the following description, the same parts are marked with the same symbols. Their names and functions are also the same. Therefore, their detailed description will not be repeated.

[0033] (1) Composition of the learning model generation system

[0034] Figure 1 FIG. 1 is a diagram showing an example of the overall outline of a learning model generation system according to one embodiment of the present invention. Figure 1 The learning model generation system 1 includes a learning model generation device 100 and a server 200. The learning model generation device 100 is a general computer, such as a personal computer (PC).

[0035] The learning model generating device is connected to the network 3. The network 3 is a local area network (LAN), and the connection method is not limited to wired or wireless. In addition, the network 3 is not limited to the LAN, and can also be a wide area network (WAN), a public switched telephone network (PSTN), the Internet, etc.

[0036] The network 3 is connected to the Internet 5. The server 200 is connected to the Internet 5. Therefore, the learning model generation device can communicate with the server 200 via the network 3 and the Internet 5. In addition, in this embodiment, the case where the server 200 is connected to the Internet 5 is described as an example, but the server 200 can be directly connected to the network 3 as long as it can communicate with the learning model generation device.

[0037] The server 200 is a general computer. Its structure and function are well known, so they are not repeated here. The server 200 stores multiple existing learning models and makes the learning models public to the Internet 5. The learning model is a deep learning network. The server 200 makes the library area storing multiple learning models public to the Internet 5. The URL (Uniform Resource Locator) of the library area is made public, and everyone can access the library area. The library area is, for example, a third-party software repository, namely the Python Package Index (Python Package Index). Here, an example of using timm (pytorch-image-models: pytorch image model) or Pytorch Hub as a library area is described. The learning model stored in timm or Pytorch Hub in the library area is a deep learning network based on the library Pytorch for machine learning described in the programming language Python.

[0038] In addition, in the present embodiment, an example is shown in which the learning model generation system 1 includes one learning model generation device and one server 200 , but the number of learning model generation devices and servers 200 is not limited, and the learning model generation system 1 may include one or more of each.

[0039] Figure 2 FIG. 1 is a diagram showing an example of the configuration of a learning model generating device. Figure 2 The learning model generation device 100 is composed of a CPU (Central Processing Unit) 151, a RAM (Random Access Memory) 152, a ROM (Read Only Memory) 153, a storage device 154, an operation unit 155, a display device 156, and an input / output I / F 157. The CPU 151, the RAM 152, the ROM 153, the storage device 154, the operation unit 155, the display device 156, and the input / output I / F 157 are connected to a bus 158.

[0040] RAM152 is used as a working area of ​​CPU151. System programs are stored in ROM153. Storage device 154 includes recording media such as hard disk and semiconductor memory, and stores various programs and various data. CD-ROM (Compact Disc-ROM: read-only optical disk) 159 as a recording medium capable of recording programs can be loaded and unloaded on storage device 154. Operation unit 155 is an input device such as a keyboard, mouse or touch panel. Input and output interface (I / F) 157 is connected to the network to connect CPU151 with other computers connected to the network. Display device 156 displays various images. In the present embodiment, display device 156 sequentially displays a plurality of screens for accepting selections of action contents of learning model generating device 100.

[0041] CPU 151 loads the program stored in ROM 153 or storage device 154 into RAM 152 and executes it. CPU 151 controls display device 156 and operation unit 155 by executing the program stored in ROM 153 or storage device 154, and provides a graphical user interface (GUI) to the user.

[0042] In addition, although the example in which CPU 151 executes the program stored in storage device 154 is shown, the program stored in storage device 154 includes a program downloaded by CPU 151 from another computer connected to the network via the network connected to input / output I / F 157. In addition, the program stored in storage device 154 includes a program in which another computer connected to the network rewrites the program stored in storage device 154.

[0043] Figure 3 This is a diagram showing an example of the functional structure of a learning model generation device according to one embodiment of the present invention. Figure 3The functions shown are realized by the CPU 151 included in the learning model generation device 100 executing a learning model generation program stored in the ROM 153 or the CD-ROM 159 .

[0044] The learning model generating device 100 includes a model information acquisition unit 101, a model information display unit 103, a model selection unit 105, a model acquisition unit 107, a parameter change unit 109, a learning unit 111, an image data acquisition unit 113, a learning data generation unit 115, an evaluation data acquisition unit 117, a prediction unit 119, an evaluation unit 121 and an evaluation result display unit 123.

[0045] The model information acquisition unit 101 acquires model information related to the learning model disclosed on the Internet. Here, one or more network addresses are pre-stored in the storage device 154, and the one or more network addresses indicate the locations of one or more library areas disclosed on the Internet 5 on the Internet. The one or more library areas disclosed on the Internet 5 include, for example, the library areas of the server 200.

[0046] In one or more library areas, model information is stored for each of the one or more learning models stored in the library area. The model information includes model identification information for identifying the learning model and description information related to the learning model.

[0047] The model information acquisition unit 101 displays the URLs of one or more library areas stored in the storage device 154 on the display device 156, and selects the URL of the library area according to the operation input by the user to the operation unit 155. The model information acquisition unit 101 controls the input / output I / F 157 to access the URL selected according to the user's operation by selecting one URL from the one or more URLs displayed on the display device 156 according to the user's operation. The model information acquisition unit 101 acquires the model identification information of one or more learning models stored in the library area specified by the URL, and displays the model identification information on the display device 156. Moreover, when the model identification information displayed on the display device 156 is indicated by the user, the model information acquisition unit 101 downloads the model information of the learning model of the indicated model identification information. The model information acquisition unit 101 outputs the downloaded model information to the model information display unit 103. In addition, the model information may be stored in an area different from the library area. For example, the model information may be stored in a computer different from the server 300.

[0048] The model information display unit 103 displays one or more model information input from the model information acquisition unit 101 on the display device 156. Specifically, the model information display unit 103 generates a model list screen on which one or more model identification information included in each of the one or more model information is arranged, and displays it on the display device 156. The model list screen is a screen on which one or more model identification information can be selected.

[0049] In addition, the model information display unit 103 generates an explanation screen based on the explanation information included in the model information, and displays the explanation screen on the display device 156. The model information acquisition unit 101 determines one of the one or more model identification information included in the model overview screen displayed on the display device 156 according to the operation input by the user to the operation unit 155. The model information acquisition unit 101 determines one model identification information according to the operation of the user, generates an explanation screen including explanation information associated with the determined model identification information through the model information, and displays the explanation screen on the display device 156. The user who views the explanation screen can confirm the characteristics of the learning model such as the algorithm characteristics of the learning model specified by the model identification information selected in the model overview screen. Therefore, it is possible to provide information that helps select a target learning model from the one or more learning models specified by the one or more model identification information included in the model overview screen.

[0050] The model selection unit 105 determines one as a learning object from among the one or more learning models respectively specified by the one or more model identification information included in the model list screen displayed on the display device 156. The model selection unit 105 determines the learning object according to the operation input by the user to the operation unit 155. The model selection unit 105 outputs the model identification information of the learning model determined as the learning object to the model acquisition unit 107.

[0051] The model acquisition unit 107 acquires a learning model based on the model identification information input from the model selection unit 105. The model acquisition unit 107 controls the input / output I / F 157 to access the URL of the library area of ​​the learning model storing the model identification information input from the model selection unit 105, and downloads the learning model specified by the model identification information input from the model selection unit 105. The model acquisition unit 107 outputs the downloaded learning model to the learning unit 111.

[0052] The image data acquisition unit 113 acquires a plurality of image data. The image data acquired by the image data acquisition unit 113 is image data used to perform machine learning on the learning model acquired by the model acquisition unit 107. The image data may be image data pre-stored in the storage device 154, or may be image data stored in other recording media such as a CD-ROM. In addition, the image data may be data disclosed on the Internet 5. In the above case, the image data acquisition unit 113 controls the input / output I / F 157 to download the image data disclosed on the Internet 5. The image data acquisition unit 113 outputs the acquired plurality of image data to the learning data generation unit 115.

[0053] The learning data generation unit 115 receives a plurality of image data from the image data acquisition unit 113. The learning data generation unit 115 generates one or more learning data based on the image data. The learning data generation unit 115 outputs a portion of the plurality of learning data generated from the plurality of image data to the learning unit 111, and outputs the other portion of the learning data to the evaluation data acquisition unit 117. The learning data generation unit 115 includes a data expansion unit 115a and an annotation unit 115b.

[0054] The data expansion unit 115a performs an expansion process according to the operation input by the user to the operation unit 155. The expansion process is a process performed on the image data, including an enlargement process, a reduction process, an inversion process, a rotation process, a parallel translation process, a blackening process, and a homography transformation process. The data expansion unit 115a generates one or more other image data by performing the expansion process on one image data. The other one or more image data generated by the data expansion unit 115a is processed in the same manner as the image data that becomes the object of the expansion process. In other words, the other one or more image data generated by the data expansion unit 115a becomes a part of the learning data.

[0055] The enlargement process is a process of generating image data after the target object contained in the image data is enlarged. The reduction process is a process of generating image data after the target object contained in the image data is reduced. The inversion process is a process of generating image data after the direction of the target object contained in the image data is reversed. The direction includes the up-down direction and the left-right direction. The rotation process is a process of generating image data after the target object contained in the image data is rotated. The rotation angle includes a predetermined angle or an angle specified by the user. The parallel movement process is a process of generating image data after the target object contained in the image data is parallel moved. The number of pixels and direction of the parallel movement include a predetermined number of pixels and direction, and the number of pixels and direction specified by the user. The blackening process refers to the process of generating image data after the pixel values ​​of the useless part other than the target object in the image data are converted into values ​​representing black. The homography transformation process is a process of generating image data after the target object contained in the image data is converted into other targets using the homography matrix. The homography transformation process is a process of transforming the target object included in the image data before the transformation into a shape in which the target object is photographed as a subject from a position different from the position in which the target object included in the image data before the transformation is photographed as a subject. The data expansion unit 115a stores the image data after the amplification process as new image data different from the original image data in the storage device 154.

[0056] The annotation unit 115b performs annotation processing on the image data according to the operation input by the user to the operation unit 155. The image data processed by the annotation unit 115b includes a plurality of image data input from the image data acquisition unit 113 and a plurality of image data generated by the data expansion unit 115a.

[0057] Annotation processing is the process of adding metadata to image data. Here, metadata includes image type information and label information. Image type information indicates the type of image data, including image classification representing the image data itself, object recognition representing the rectangular area containing the target object, and region separation representing the outline of the target object.

[0058] The annotation unit 115b displays the image of the image data selected by the user on the display device 156 according to the operation input by the user to the operation unit 155. The annotation unit 115b accepts the image type information input by the user to the operation unit 155, and attaches the accepted image type information to the image data. In addition, the annotation unit 115b accepts the label information input by the user to the operation unit 155, and attaches the accepted label information to the image data. Label information is the target variable in supervised learning. For example, in the case of a process in which a learning model learns to discriminate a target object contained in image data, label information is information used to identify the target object. More specifically, in the case where the target object is either a dog or a cat, the label information is a value representing either a dog or a cat.

[0059] When receiving the object recognition value as the image type information, the annotation unit 115b adds the object recognition information to the image displayed on the display device 156 according to the operation input by the user to the operation unit 155. The operation input by the user to the operation unit 155 is an operation of specifying a rectangular area in the image displayed on the display device 156. The operation of specifying the rectangular area is, for example, an operation of specifying the coordinates of two diagonal corners of the rectangular area. The annotation unit 115b adds information indicating the rectangular area specified by the user in the image displayed on the display device 156 to the image data as the object recognition information.

[0060] When receiving the value of region separation as the image type information, the annotation unit 115b adds the region separation information to the image displayed on the display device 156 according to the operation input by the user to the operation unit 155. The operation input by the user to the operation unit 155 is an operation of specifying the outline of a target object in the image displayed on the display device 156. The operation of specifying the outline of the target object is, for example, an operation of specifying a plurality of continuous coordinates of the outline of the target object. The annotation unit 115b adds information indicating the area surrounded by the outline connecting two adjacent coordinates based on the plurality of coordinates specified by the user in the image displayed on the display device 156 to the image data as object recognition information.

[0061] When the annotation unit 115b receives the value of the image classification as the image type information, it adds the image classification information to the image displayed on the model information display unit 103. The image classification information is information indicating that it is neither object recognition information nor area separation information. When the annotation unit 115b receives the value of the image classification as the image type information, it adds the image classification information to the image data.

[0062] The parameter changing unit 109 sets the hyperparameters according to the operation input by the user to the operation unit 155. The hyperparameters are values ​​for controlling the behavior of various algorithms determined by the learning model. Here, the hyperparameters include the number of learning times, patch size, optimization function, and learning rate. In addition, the hyperparameters may also include the number of layers of the neural network, the number of neurons in each layer, the kernel size, etc. The parameter changing unit 109 outputs the hyperparameters set by the user to the learning unit 111.

[0063] The learning unit 111 inputs a learning model from the model acquisition unit 107, a hyperparameter from the parameter change unit 109, and a plurality of learning data from the learning data generation unit 115. The learning unit 111 causes the learning model to mechanically learn a plurality of learning data according to the hyperparameter. Specifically, the learning unit 111 sets the hyperparameter for the learning model so that the learning model performs mechanical learning on a plurality of learning data according to the hyperparameter. The image data contained in the learning data is provided as input data to the learning model so that the learning model performs mechanical learning on the value of the label information contained in the learning data as the correct answer data. Mechanical learning is a process of optimizing the weight coefficients of the neural network constituting the learning model in a manner that minimizes the error with the correct answer data, for example, using methods such as error back propagation.

[0064] Here, the unit of processing in which the learning model is made to mechanically learn a plurality of learning data is referred to as a single-round training (Epoch). The number of learning times included in the hyperparameter represents the upper limit of the number of times the single-round training is repeated. The learning unit 111 repeats the single-round training the number of learning times determined by the hyperparameter for processing in which the learning model is made to mechanically learn a plurality of learning data. Whenever a single-round training is completed, the learning unit 111 outputs the learned learning model at the said time point to the prediction unit 119. Therefore, the learned learning model is specified by the number of times the single-round training is repeated. In other words, the learning unit 111 outputs a plurality of learned learning models with different numbers of repetitions of the single-round training to the prediction unit 119. Hereinafter, a learned learning model whose number of repetitions of the single-round training is N (N is a positive integer) is referred to as a learned model whose number of repetitions of the single-round training is N.

[0065] The evaluation data acquisition unit 117 receives a plurality of learning data from the learning data generation unit 115. The plurality of learning data input to the evaluation data acquisition unit 117 is different from the plurality of learning data input to the learning unit 111. The evaluation data acquisition unit 117 outputs the plurality of learning data input from the learning data generation unit 115 to the prediction unit 119 and the evaluation unit 121 as evaluation data.

[0066] The prediction unit 119 receives a plurality of learned models having different numbers of repetitions of a single round of training from the learning unit 111, and receives a plurality of evaluation data from the evaluation data acquisition unit 117. The prediction unit 119 provides the evaluation data to the learned model and obtains an estimated value estimated by the learned model. The prediction unit 119 obtains one estimated value for one evaluation data. Therefore, the prediction unit 119 obtains a plurality of estimated values ​​corresponding to each of the plurality of evaluation data.

[0067] In addition, for multiple learned models with different numbers of repetitions of a single round of training, the prediction unit 119 provides evaluation data to each learned model and obtains an estimated value estimated by the learned model. Therefore, for a learned model with a number of repetitions N of a single round of training, the prediction unit 119 obtains multiple estimated values. The prediction unit 119 outputs multiple estimated values ​​to the evaluation unit 121 for each number of repetitions of a single round of training. In other words, the prediction unit 119 outputs a combination of the number of repetitions N of a single round of training and multiple estimated values ​​to the evaluation unit 121.

[0068] The evaluation unit 121 receives a set of a plurality of estimated values ​​and a number of repetitions N of a single round of training, which is the number of times a single round of training is repeated, from the prediction unit 119, and receives a plurality of evaluation data from the evaluation data acquisition unit 117. The evaluation unit 121 evaluates the learned model for each number of repetitions of a single round of training. Here, the evaluation of the learned model of the number of repetitions N of a single round of training is described. The evaluation unit 121 compares the estimated value corresponding to the learned model of the number of repetitions N of a single round of training with the value of the label information (correct answer) contained in the evaluation data input from the evaluation data acquisition unit 117. The estimated value is a value estimated by the learned model from the evaluation data. Therefore, one estimated value corresponds to one evaluation data. If the estimated value is the same as the value of the label information, the evaluation unit 121 judges the estimated value as a correct answer, and if the estimated value is different from the value of the label information, the evaluation unit 121 judges the estimated value as an incorrect answer. The evaluation unit 121 compares a plurality of evaluation data with the estimated values ​​corresponding to the evaluation data, and generates an evaluation index as performance data through statistical processing. The performance data includes accuracy, reproducibility, and suitability as evaluation indexes. The evaluation index representing accuracy is a value obtained by dividing the number of correct solutions by the total number of predictions, and is represented by the following formula (1). The evaluation index representing reproducibility is a value obtained by dividing the number of correct solutions by the total number of correct solutions, and is represented by the following formula (2). The evaluation index representing suitability is represented by the following formula (3).

[0069] Accuracy = (TP+TN) / (TP+TN+FP+FN)…(1)

[0070] Reproduction rate = TP / (TP+FN)…(2)

[0071] Fit rate = TP / (TP+FP)…(3)

[0072] Among them, TP (True Positive) is the number of correctly predicted correct answers, TN (True Negative) is the number of correctly predicted incorrect answers, FP (False Positive) is the number of incorrectly predicted correct answers, and FN (False Negative) is the number of incorrectly predicted correct answers.

[0073] Here, the evaluation unit 121 calculates the performance data of the learned model for the number of repetitions N of the single round of training. The evaluation unit 121 outputs the performance data of the learned model for the number of repetitions N of the single round of training to the evaluation result display unit 123 .

[0074] The evaluation result display unit 123 inputs the performance data of the learned model with the number of repetitions N of the single round of training for each of the multiple learned models with different numbers of repetitions of the single round of training. The evaluation result display unit 123 generates an evaluation result screen displaying the performance data for each of the multiple learned models with different numbers of repetitions of the single round of training, and displays the generated evaluation result screen on the display device 156.

[0075] When a plurality of learned models are generated by the learning unit 111 , the evaluation result display unit 123 generates a model comparison screen for comparing the plurality of learned models, and displays the generated model comparison screen on the display device 156 .

[0076] (2) A series of processes for learning the operation of the model generation device

[0077] Figure 4 1 is a flowchart showing an example of the flow of the learning model generation process. The learning model generation process is a process performed by the CPU 151 of the learning model generation device 100 by executing a learning model generation program stored in the RAM 152 or the CD-ROM. Figure 4 The CPU 151 included in the learning model generation device 100 causes the display device 156 to display the menu screen stored in the storage device 154 and advances the process to step S02 (step S01).

[0078] Figure 5 This is a diagram showing an example of a menu screen. Figure 5, the menu screen 510 includes buttons 511 to 515. The buttons 511 to 515 are buttons for accepting user instructions. The CPU 151 accepts user instructions based on the operation input by the user to the operation unit 155 when the menu screen is displayed on the display device 156. The CPU 151 accepts the instruction to generate learning data when accepting the operation of the user instruction button 511, accepts the instruction to obtain a learning model when accepting the operation of the user instruction button 512, accepts the instruction to machine learning when accepting the operation of the user instruction button 513, accepts the instruction to evaluate a learned model when accepting the operation of the user instruction button 514, and accepts the instruction to compare a learned model when accepting the operation of the user instruction button 515.

[0079] Menu screen 510 further includes a button 517 labeled with a character string "Restore history." When the user instructs button 517, CPU 151 restores the operation input by the user in the past when selecting learning data. Thus, the user can easily restore the past instruction.

[0080] Back to Figure 4 In step S02, CPU 151 branches the process according to the instruction of the user. When the instruction for generating learning data is accepted, the process proceeds to step S03. When the instruction for acquiring a learning model is accepted, the process proceeds to step S04. When the instruction for machine learning is accepted, the process proceeds to step S05. When the instruction for evaluating a learned model is accepted, the process proceeds to step S06. When the instruction for comparing a learning model is accepted, the process proceeds to step S07. In step S03, the process for generating learning data is executed, and the process returns to step S01. In step S04, the process for acquiring a learning model is executed, and the process returns to step S01. In step S05, the process for generating learning data is executed, and the process returns to step S01. In step S06, the process for evaluating a learned model is executed, and the process returns to step S01. In step S07, the process for comparing a learned model is executed, and the process returns to step S01. The details of the process for generating learning data, the process for acquiring a learning model, the machine learning process, the process for evaluating a learned model, and the process for comparing a learned model will be described later.

[0081] Figure 6 2 is a flowchart showing an example of the flow of the learning data generation process. The learning data generation process is a process executed by the CPU 151 in step S03 of the learning model generation process.

[0082] refer to Figure 6, CPU151 obtains image data (step S11), and causes the processing to enter step S12. Image data is data used to perform machine learning on a learning model that is the object of machine learning executed in the machine learning process described later. Image data is image data pre-stored in the storage device 154, or image data stored in other recording media such as a CD-ROM. In addition, the image data may also be data publicly available on the Internet. In the case, CPU151 controls the input / output I / F157 to download image data stored in an area indicated by the user on the Internet. CPU151 gives the image data a data name that identifies the image data and stores it in the storage device 154. In addition, CPU151 stores a collection of multiple image data as one data group in the storage device 154. Image data is associated with a data group name used to identify the data group to which the image data belongs.

[0083] In step S12, it is determined whether annotation is instructed. When the operation unit 155 receives an operation instructing to execute annotation processing, the CPU 151 determines that annotation is instructed. If annotation is instructed, the process proceeds to step S13, otherwise the process becomes a standby state. In step S13, image data to be processed is selected, and the process proceeds to step S14. One image data to be processed is selected from a plurality of image data stored in the storage device 154. The user selects the image data by operating the operation unit 155.

[0084] In step S14, metadata is determined, and the process proceeds to step S15. Details of the process of determining metadata will be described later, and metadata includes tag information (correct answer).

[0085] In step S15, it is determined whether data amplification is indicated. When the operation unit 155 receives an operation indicating the execution of data amplification processing, the CPU 151 determines that data amplification is indicated. If data amplification is indicated, the process proceeds to step S16, otherwise the process proceeds to step S19. In step S16, a setting value for data amplification processing is set, and the process proceeds to step S17. In step S17, data amplification processing is executed, and the process proceeds to step S18. The details of data amplification processing will be described later, and it is a process of generating one or more new image data from one image data. In step S18, the generated new image data is stored in the storage device 154.

[0086] In step S19, learning data is generated, and the processing proceeds to step S20. In the case where the processing of step S19 is performed after the processing of step S15, the learning data generated in step S19 is data that associates the metadata determined in step S14 with the image data selected in step S13. In the case where the processing of step S19 is performed after the processing of step S18, the learning data generated in step S19 includes, in addition to data that associates the metadata determined in step S14 with the image data selected in step S13, data that associates the metadata determined in step S14 with the image data generated in step S17. In other words, learning data including the image data selected in step S13 and one or more learning data each including one or more image data amplified in step S17 are generated. In step S20, the learning data is stored in the storage device 154, and the processing proceeds to step S21.

[0087] In step S21, it is determined whether an end instruction has been received. When the operation unit 155 receives an operation to instruct the end of the process, the CPU 151 determines that an end instruction has been received. If an end instruction has been received, the process returns to the learning model generation process, otherwise the process returns to step S13.

[0088] Figure 7 This is a diagram showing an example of a learning data generation screen. Figure 7 The learning data generation screen 530 includes a button 531 with a text string labeled "data augmentation processing" and a button 532 with a text string labeled "annotation processing". The button 532 includes a button 532a with a text string labeled "image classification", a button 532b with a text string labeled "object recognition", and a button 532c with a text string labeled "region separation". The button 531 is a button for accepting a data augmentation instruction, and the buttons 532a, 532b, and 532c are buttons for accepting an annotation instruction.

[0089] Figure 8 This is a diagram showing an example of a data augmentation setting screen. Figure 8 The data augmentation setting screen 540 is a screen displayed on the display device 156 when the user instructs the key 531 of the learning data generation screen 530. The data augmentation setting screen 540 is a screen displayed on the display device 156 when the user sets the setting value for executing the data augmentation process. Figure 8The data augmentation setting screen 540 includes an area 542 for displaying the category of the setting value to be set, and an area 543 for displaying the setting value for the setting item. In the area 542, the categories of enlargement / reduction, inversion, rotation, parallel movement, blackening, and homography transformation are displayed in a selectable state. Check boxes are arranged on the left side of each category. When the user selects any one of the multiple categories, a mark indicating that it is selected as the processing object is displayed on the check box on the left side of the category. Here, the category indicating enlargement / reduction is selected as the processing object.

[0090] The enlargement / reduction category indicates an enlargement process or a reduction process that generates image data after enlarging or reducing the target object included in the image data. The inversion category indicates an inversion process that generates image data after reversing the direction of the target object included in the image data. The rotation category indicates a rotation process that generates image data after rotating the target object included in the image data. The parallel movement category indicates a parallel movement process that generates image data after parallel movement of the target object included in the image data. The blackening category indicates a blackening process that generates image data after converting the pixel values ​​of useless parts other than the target object in the image data into values ​​representing black. The homography transformation category indicates a homography transformation process that generates image data after converting the target object included in the image data into another target object using a homography matrix.

[0091] In area 543, setting values ​​set for one or more setting items belonging to the category selected as the processing target in area 542 are displayed. When a category is selected in area 542, setting values ​​determined in advance by default are set for one or more setting items belonging to the category, and the default values ​​are displayed. The user can change the setting values ​​displayed in area 543 by operating operation unit 155.

[0092] The data augmentation setting screen 540 further includes a button 540b displaying a text string "return" and a button 540c displaying a text string "next page". When the user indicates the button 540b, Figure 7 The learning data generation screen 530 is displayed on the display device 156. When the user instructs the button 540c, the data augmentation process is performed on the image data set as the processing object. The image data set as the processing object is the image data stored in the storage device 154, and is the image data specified by the user or a plurality of image data belonging to the data group specified by the user.

[0093] Fig. 91 is a diagram showing an example of an image classification setting screen. The image classification setting screen is a screen displayed on the display device 156 when the user sets a symbol for image classification for image data. The image classification setting screen is a screen displayed on the display device 156 in response to the user's instruction of the key 532a of the learning data generation screen 530. Fig. 9 The image classification setting screen 550 includes an area 551 for displaying an annotation mode, an area 552 for displaying label information, an area 553 for displaying an image of image data, and an area 554 for displaying a list of image data.

[0094] In area 554, a plurality of image data belonging to the data group designated as the processing object by the user is displayed at a glance. In area 554, thumbnails, which are images obtained by reducing the image data, and file names for identifying the image data are displayed in a row. In addition, in area 554, the thumbnails and file names of the image data designated as the processing object by the user are reversely displayed so as to be distinguished from other images. If the user indicates any one of the plurality of thumbnails displayed in area 554, the image data corresponding to the indicated thumbnail is selected as the processing object.

[0095] The image of the image data to be processed is displayed in area 553. In area 551, the image type information is displayed as an image classification. Area 552 can exclusively select and display cats and dogs as label information. A check box is arranged on the left side of the label information, and the user can specify either cat or dog in the label information.

[0096] The user sets label information by using the image classification setting screen 550, and generates metadata in which the image type information indicates the image classification and the label information indicates cat for the image data with the file name 0.jpg.

[0097] Fig.10 1 is a diagram showing an example of an object recognition setting screen. The object recognition setting screen is a screen displayed on the display device 156 when the user sets a mark for object recognition in the image data. The object recognition setting screen is a screen displayed on the display device 156 in response to the user pressing the button 532b of the learning data generation screen 530. Fig.10 The object recognition setting screen 560 includes an area 561 for displaying an annotation mode, an area 562 for displaying label information, an area 563 for displaying an image of image data, and an area 564 for displaying a list of image data.

[0098] In area 564, a plurality of image data belonging to the data group designated as the processing object by the user is displayed at a glance. In area 564, images obtained by reducing the image data, that is, thumbnails, and file names for identifying the image data are displayed in a row. In addition, in area 564, the thumbnails and file names of the image data designated as the processing object by the user are reversely displayed so as to be distinguished from other images. If the user indicates any one of the plurality of thumbnails displayed in area 564, the image data corresponding to the indicated thumbnail is selected as the processing object.

[0099] The image of the image data to be processed is displayed in the area 563. In addition, a rectangular area 565 surrounding the target object is displayed in the image data. The area 565 is determined and displayed when the user specifies the coordinates of two vertices of the opposite corners of the rectangle.

[0100] In area 561, the image type information indicates object recognition. Area 562 can exclusively select cat and dog as label information. A check box is arranged on the left side of the label information, and the user can specify either cat or dog in the label information.

[0101] The user sets label information by using object recognition setting screen 560, and generates metadata indicating object recognition for image data with a file name of 1019.jpg, including image type information, metadata indicating the position of a rectangular area 565 surrounding the target object in the image, and label information indicating dog.

[0102] Fig.11 1 is a diagram showing an example of an area classification setting screen. The area classification setting screen is a screen displayed on the display device 156 when the user sets metadata for object recognition for image data. The area classification setting screen is a screen displayed on the display device 156 in response to the user pressing the key 532c of the learning data generation screen 530. Fig.11 The area classification setting screen 570 includes an area 571 for displaying an annotation mode, an area 572 for displaying label information, an area 573 for displaying an image of image data, and an area 574 for displaying a list of image data.

[0103] In area 574, a plurality of image data belonging to the data group designated as the processing object by the user are displayed at a glance. In area 574, images obtained by reducing the image data, that is, thumbnails, and file names for identifying the image data are displayed in a row. In addition, in area 574, the thumbnails and file names of the image data designated as the processing object by the user are displayed in reverse order, and are displayed separately from other images. If the user indicates any one of the plurality of thumbnails displayed in area 574, the image data corresponding to the indicated thumbnail is selected as the processing object.

[0104] An image of the image data to be processed is displayed in area 573. In addition, a contour 575 of the target object is displayed in the image data. When the user designates a plurality of coordinates corresponding to positions near the line forming the contour of the target object, the contour 575 connecting two adjacent coordinates of each of the plurality of coordinates is determined and displayed.

[0105] In area 571, the image type information is displayed as area classification. Area 572 can exclusively select cat and dog as label information. A check box is arranged on the left side of the label information, and the user can specify either cat or dog in the label information.

[0106] The user sets the label information and the outline 575 by using the area classification setting screen 570, and generates metadata indicating object recognition including image type information, metadata indicating the position of the outline 575 of the target object in the image, and metadata indicating a dog including label information for the image data with the file name 1000.jpg.

[0107] Fig.12 : is a flowchart showing an example of the flow of the learning model acquisition process. The learning model acquisition process is a process executed in step S04 of the learning model generation process. Fig.12 , CPU 151 causes display device 156 to display a learning model selection screen (step S31 ), and advances the process to step S32 .

[0108] Fig.13 This is a diagram showing an example of a learning model selection screen. Fig.13 The learning model selection screen 580 includes buttons 581 to 583. Button 581 is a button for accepting an instruction to select a learning model disclosed on the Internet. Button 582 is a button for accepting an instruction to select a learning model stored in the storage device 154. Button 583 is a button for accepting an instruction to end the display of the learning model selection screen.

[0109] Back to Fig.12 , the CPU 151 branches the process by accepting an instruction indicating whether to obtain the learning model from the outside or the inside (step S32). When the CPU 151 accepts the operation of the instruction button 581 in the learning model selection screen, it accepts the instruction to obtain the external learning model and causes the process to proceed to step S33. When the CPU 151 accepts the operation of the instruction button 582 in the learning model selection screen, it accepts the instruction to obtain the internal learning model and causes the process to proceed to step S39.

[0110] In step S33, CPU151 accesses the URL and causes the processing to enter step S34. The URL is a network address indicating the location of a library area disclosed on the Internet 5 on the Internet. The library area is an area for storing multiple learning models with unified interfaces. Here, the interface is a general term for the format of each input and output of the learning model and the effect of the action. Specifically, the learning model having an interface means that the learning model accepts a combination of more than one digital string for each input and output, and the learning model has more than one action for processing digital strings, and the learning model explicitly indicates the format of each input and output and the method of indicating the action. In other words, more than two learning models with the same interface indicate that the formats of their respective inputs and outputs are the same, and the types of actions of more than two learning models and the methods of indicating the actions are the same. The learning model is a deep learning network. Here, the library area is set to timm (pytorch-image-models) or PytorchHub. The URL can be pre-stored in the storage device 154, or accepted by the user input to the operation unit 155.

[0111] In step S34, the model identification information of each of the one or more learning models stored in the library area is displayed, and the processing proceeds to step S35. The one or more model identification information is displayed at a glance on the display device 156 in a selectable state. In step S35, it is determined whether one model identification information is selected from the one or more model identification information. If the model identification information is selected, the processing proceeds to step S36, otherwise the processing proceeds to step S37. In step S36, an explanation screen is displayed on the display device 156, and the processing proceeds to step S37. The explanation screen includes an area for displaying explanation information related to the learning model of the model identification information selected in step S35. The explanation information includes information indicating the detailed content of the learning model, such as the characteristics of the learning model. Therefore, the explanation information is prompted to the user who is judging whether to be the object of machine learning, so that the user can be helped to make the judgment.

[0112] In step S37, it is determined whether a selection instruction is accepted. If a selection instruction is accepted, the process proceeds to step S38, otherwise the process returns to step S34. In step S39, the learning model of the model identification information selected in step S36 is downloaded, and the process returns to the learning model generation process.

[0113] In step S39, it is determined whether a learning model has been specified. Before a learning model is specified, the process is in a standby state (NO in step S39). If a learning model has been specified, the process proceeds to step S40. When the user operates the operation unit 155 and specifies a learning model stored in the storage device 154, it is determined that a learning model has been specified.

[0114] In step S40, the CPU 151 extracts the designated learning model and returns the process to the learning model generation process. The learning model is extracted by the CPU 151 executing a process of setting a state that can be a subject of machine learning. For example, the process is to set the location and file name in the storage device 154 where the designated learning model is stored.

[0115] Fig.14 1 is a diagram showing an example of an external learning model acquisition screen. The external learning model acquisition screen is a screen displayed on the display device 156 in step S34 of the learning model acquisition process. Fig.14 , the external learning model acquisition screen 590 includes an area 591 for displaying the URL, an area 592 for displaying a list of learning models, an area 593 for displaying explanatory information, a button 594 with a text string labeled "Select", and a button 595 with a text string displayed "Return". In area 591, the URL of the library area of ​​timm or Pytorch Hub is displayed at a glance. Here, the case where the URL is selected for the library area of ​​VGG is described as an example.

[0116] In area 592, model identification information of one or more learning models stored in the library area VGG specified by the URL selected in area 591 is displayed. Here, four model identification information VGG11, VGG13, VGG16, and VGG19 are displayed in a row. In addition, model identification information VGG16 is displayed in reverse, indicating that model identification information VGG16 is selected.

[0117] Area 593 is a description screen that displays description information of the model identification information VGG16 selected in area 592. The description information includes detailed information including information indicating features of the learning model specified by the model identification information VGG16.

[0118] When a learning model is selected in area 592 and the user points to button 594, the selected learning model is selected as the object of machine learning. When a learning model is selected in area 592 and the user points to button 595, the external learning model acquisition screen switches to another screen if no learning model is selected as the object of machine learning.

[0119] In addition, in the external learning model acquisition screen 590, the user may not indicate the URL and learning, but may use other applications to specify the learning model. For example, the CPU 151 accesses the URL by executing other applications, and displays an overview of the model identification information of the learning model. The user accepts the operation of dragging and dropping the model identification information on the external learning model acquisition screen. In the case, the CPU 151 displays the model identification information of the learning model placed on the model identification information of the external learning model acquisition screen 590 in area 592, and displays the URL of the library area storing the learning model in area 591.

[0120] Fig.15 : is a flowchart showing an example of the flow of the machine learning process. The machine learning process is the process executed in step S05 of the learning model generation process. Fig.15 , the CPU 151 determines the learning model to be the object of machine learning (step S51), and proceeds to step S52. Fig.14 In the state where one learning model is selected in area 592 of the external learning model acquisition screen 590 shown, when the user designates button 594, the learning model selected in area 592 is determined as a target of machine learning.

[0121] In step S52, it is determined whether the setting instruction of the hyperparameter is accepted. If the setting instruction of the hyperparameter is accepted, the processing proceeds to step S53, otherwise the processing proceeds to step S54. In step S53, the hyperparameter is set, and the processing proceeds to step S54. In step S54, it is determined whether the learning data is specified. If the learning data is specified, the processing proceeds to step S55, otherwise the processing returns to step S52. In step S55, the learning data is obtained, and the processing proceeds to step S56. In addition, either step S53 or step S55 may be executed first.

[0122] In step S56, machine learning is performed, and the processing proceeds to step S57. CPU151 causes the learning model determined as the processing object in step S51 to perform machine learning on the learning data specified in step S54 in accordance with the hyperparameters set in step S53. The machine learning in step S56 is a process of learning the learning data specified in step S54. The unit for causing the learning model to learn the learning data is a single round of training. Therefore, the learned model generated by machine learning is specified by the number of repetitions of a single round of training. The number of times step S56 is executed is equivalent to the number of times the single round of training is repeated.

[0123] In step S57, the learned model is stored in the storage device 154, and the process proceeds to step S58. The learned model is associated with the number of repetitions of a single round of training and stored in the storage device 154. In step S58, it is determined whether the number of repetitions of a single round of training has reached the number of learning times. The number of learning times is a value set as part of the hyperparameters set in step S53. If the number of repetitions of a single round of training has reached the number of learning times, then the process returns to the learning model generation process, otherwise the process returns to step S56.

[0124] Fig.16 is a diagram showing an example of a hyperparameter setting screen. Fig.15 The screen displayed on the display device 156 in step S53 of the machine learning process shown in FIG. Fig.16 , the hyperparameter setting screen 600 includes areas 601 to 604 for accepting settings of four hyperparameters. Area 601 is an area for accepting settings of a hyperparameter whose parameter name is the number of learning times. The number of learning times is the upper limit of the number of repetitions of a single round of training. Area 602 is an area for accepting settings of a hyperparameter whose parameter name is the patch size. The patch size is a value that determines the maximum value of the learning data to be learned at one time in the learning model during machine learning.

[0125] Area 603 is an area for accepting the setting of hyperparameters of the optimization function whose parameter name is set. The optimization function is set by selecting from a plurality of functions prepared in advance. Area 604 is an area for accepting the setting of hyperparameters of the learning rate whose parameter name is set. A plurality of parameters for determining the learning rate are prepared, and they can be set separately.

[0126] The initial values ​​determined by default are predetermined for the hyper parameters. The initial values ​​are stored in the storage device 154. When the hyper parameter setting screen 600 is displayed, the initial values ​​are displayed in areas 601 to 604. The user can change the hyper parameters by changing the initial values, and one learning model can perform multiple types of machine learning.

[0127] Fig.17 is a diagram showing an example of a learning data selection screen. The learning data selection screen is Fig.15 The screen displayed on the display device 156 in step S55 of the machine learning process shown in FIG. Fig.17 The learning data selection screen 610 is a screen for displaying a learning data table including learning data records representing learning data. Fig.17 In the example shown, the learning data table includes 10 learning data records, each of which includes a check box item 611, a data group item 612, a data name item 613, an identification item 614, a data number item 615, a label number item 616, and an update date item 617.

[0128] The data name item 613 is used to set the file name for identifying the learning data. The data group item 612 is used to set the group name for identifying the group to which the learning data belongs. The identification item 614 is used to set the information for identifying the image type information of the metadata marked on the learning data. The number of data items is used to set the number of image data included in the learning data. The number of labels item is used to set the number of values ​​set for the label information of the metadata marked on the learning data. In the update date item 617, the date when the learning data was last updated is set.

[0129] When the operation unit 155 accepts an operation to select any one of the learning data records, a mark is displayed in the check box item 611 of the learning record selected by the user. Therefore, the user can confirm that the learning data record is selected.

[0130] In addition, a plurality of learning data records can be selected in the learning data selection screen 610. In this case, a set of learning data respectively specified by the plurality of learning data records is used for machine learning as one learning data.

[0131] The learning data selection screen 610 further includes a button 618 displaying a text string “Restore history”. When the user instructs the button 618, the CPU 151 restores the operation input by the user when selecting learning data in the past. Thus, the user can easily select the same learning data as the one selected in the past.

[0132] Fig.18 : is a flowchart showing an example of the flow of the learned model evaluation process. The learned model evaluation process is a process executed in step S06 of the learning model generation process. Fig.18 , the CPU 151 displays the learned models on the display device 156 (step S61), and proceeds to step S62. Fig.15 In the machine learning process shown, the learned model for each repetition number N of single-round training is stored in the storage device 154. In step S61, the model identification information of the learned model stored in the storage device 154 is displayed on the display device 156 at a glance.

[0133] In step S62, a learned model to be evaluated is selected, and the process proceeds to step S63. Since the storage device 154 stores a plurality of learned models with different numbers of repetitions of a single round of training, a plurality of learned models with different numbers of repetitions of a single round of training are read from the storage device 154 for the selected learned model.

[0134] In step S63, evaluation data is acquired, and the process proceeds to step S64. The evaluation data is generated simultaneously with the learning data and has the same format as the learning data.

[0135] In step S64, one evaluation data to be processed is selected, and the process proceeds to step S65. In step S65, the CPU 151 causes the learned model to perform prediction, and the process proceeds to step S66. The CPU 151 inputs the evaluation data to each of the plurality of learned models having different numbers of repetitions of the single round of training read from the storage device 154 in step S62, and obtains the estimated values ​​estimated by each of the plurality of learned models.

[0136] In step S66, the evaluation value is determined, and the process proceeds to step S67. The estimated value is compared with the label information contained in the evaluation data, and an evaluation value indicating whether the two are consistent is determined. Evaluation values ​​are determined for each of the multiple learned models with different numbers of repetitions in a single round of training. In step S67, it is determined whether there is evaluation data that was not selected as a processing object in step S64. If there is unselected evaluation data, the process returns to step S64, otherwise the process proceeds to step S68.

[0137] When the processing enters step S68, for each of the multiple learned models with different numbers of repetitions N in a single round of training, the same number of evaluation values ​​as the evaluation data are determined. In step S68, performance data is calculated, and the processing enters step S69. The performance data includes, for example, accuracy, reproduction rate, and fitness rate as evaluation indexes. Performance data is calculated for each of the multiple learned models with different numbers of repetitions in a single round of training. In step S69, the learned model evaluation screen is displayed, and the processing returns to the learning model generation processing. The user can refer to the learned model evaluation screen and decide one from the multiple learned models with different numbers of repetitions in a single round of training.

[0138] Fig.19 This is a diagram showing an example of a learned model evaluation screen. Fig.19 , the learned model evaluation screen 620 includes areas 621 to 623. Area 621 displays information related to the learned model to be evaluated. Here, in area 621, it is indicated that the learned model of model identification information VGG16 is the evaluation object. In addition, it is indicated that the learned model is a learned model that is machine-learned using the learning data of the data group "probe_group".

[0139] Area 622 shows a learning curve of the learned model of the evaluation object. The learning curve is a learning curve in which the evaluation index is accuracy. The horizontal axis represents the number of repetitions of a single round of training, and the vertical axis represents accuracy. Area 623 shows a learning curve of the loss of the learned model of the evaluation object. The horizontal axis represents the number of repetitions of a single round of training, and the vertical axis represents loss. The loss is the value of the objective function, which is a value indicating the difference between the correct solution of the learning data and the estimated value of the learned model.

[0140] As the number of repetitions of a single round of training increases, the mechanical learning of the learning model progresses, and the learning model is adjusted to be suitable for the learning data, indicating that the accuracy is improved. In addition, when the number of repetitions of a single round of training exceeds a specified number, the accuracy becomes a specified range. In addition, when the number of repetitions of a single round of training increases, the accuracy sometimes decreases, and over-learning can be judged based on the change in the accuracy.

[0141] Since the user viewing the learned model evaluation screen can view the results of evaluating the learned model using the evaluation data, the user can select a learned model with an appropriate number of repetitions of single-round training. In addition, it is easy to determine whether the learned model is over-learned.

[0142] Fig. 20 1 is a flowchart showing an example of the flow of the learned model comparison process. The learned model comparison process is a process executed in step S07 of the learned model generation process. Fig. 20 , the CPU 151 displays the learned models on the display device 156 (step S71), and proceeds to step S72. Fig.18 During the learned model evaluation process shown, one learned model determined from a plurality of learned models having different numbers of repetitions of a single round of training is stored in the storage device 154. In step S71, a list of model identification information of the plurality of learned models stored in the storage device 154 is displayed on the display device 156. The plurality of learned models have different learning models, hyperparameters, and at least one of the learning data.

[0143] In step S72, it is determined whether two or more learned models are selected as comparison objects. Before selecting two or more learned models, the process enters a standby state (No in step S72), and when two or more learned models are selected (Yes in step S72), the process proceeds to step S73.

[0144] In step S73, the performance data is read out, and the process proceeds to step S74. The performance data corresponding to each of the two or more learned models is read out from the storage device 154. Then, in step S74, the learning model comparison screen is displayed on the display device 156, and the process returns to the learning model generation process.

[0145] Fig.21 : is a diagram showing an example of a learned model comparison screen. It shows an example of a screen displayed when a learned model whose model identification information is VGG16 and a learned model whose model identification information is VGG19 are specified. Fig.21 The learned model comparison screen 630 includes areas 631 and 631A for displaying information related to the learned models to be compared, and an area 632 for displaying performance data. Area 631 displays information related to the learned model whose model identification information is VGG16, and area 631A displays information related to the learned model whose model identification information is VGG19. In area 632, the performance data of the learned model whose model identification information is VGG16 and the learned model whose model identification information is VGG19 are arranged and displayed. ACC indicates the correct answer rate, Recall indicates the reproduction rate, and Precision indicates the accuracy.

[0146] The learned model comparison screen 630 further includes areas 633, 634 and a button 635. The confusion matrix is ​​displayed in area 634. Information related to the evaluation data is displayed in area 633. This indicates that the learned model whose model identification information is VGG16 is compared with the learned model whose model identification information is VGG19 using the same evaluation data.

[0147] Therefore, the user can compare the performance data of the two learned models, so it is easy to determine which learned model is more appropriate. In addition, when the key 635 is pressed, the CPU 151 displays the screen for selecting evaluation data on the display device 156, and based on the performance data obtained by evaluating the two learned models using other evaluation data selected by the user, a new learned model comparison screen is generated and displayed on the display device 156.

[0148] Therefore, the user can easily determine which learned model is more appropriate by browsing the results of evaluating two learned models using different evaluation data.

[0149] (3) Effects of Implementation

[0150] According to the learning model generating device 100 of the above embodiment, since a plurality of existing learning models disclosed on the Internet can be selectively displayed on the display device 156, it is easy to select a learning model for machine learning. Since the existing learning model is used for machine learning, it is not necessary to code and create a learning model. In particular, Fig.14In the external learning model acquisition screen 590 shown, explanatory information is displayed in area 593. Although the algorithms of the existing multiple learning models involve multiple aspects, the user can understand the algorithms of the learning models by reading the explanatory information displayed in area 593, and can easily select a learning model suitable for the purpose of prediction from the existing multiple learning models.

[0151] In addition, multiple existing learning models disclosed on the Internet are stored in the library area of ​​timm or Pytorch Hub. The interfaces of the multiple learning models stored in the library area are the same, so there is no need to transform the learning data to suit the learning model. Therefore, the learning model can be mechanically learned without creating a program for making the learning data suitable for the learning model. As a result, a learning model generation device 100 that can easily generate a learned learning model can be provided.

[0152] Furthermore, since the GUI for generating the learning data is displayed on the display device 156 , the user can easily generate the learning data based on the image data.

[0153] In addition, an operation screen ( Figure 8 Thus, the user only needs to input instructions for generating new image data according to the operation screen, and new image data can be easily generated.

[0154] In addition, since the operation screen ( Fig. 9 The image classification setting screen 550, Fig.10 Object recognition settings screen and Fig.11 Therefore, the user only needs to follow the instructions on the operation screen to add metadata to the image data, making it easy to perform operations for annotation. Therefore, it is possible to easily generate learning data without coding a program for generating learning data.

[0155] In addition, since the GUI (hyperparameter setting screen 600) for setting the hyperparameter is displayed on the display device 156, the user can easily set the hyperparameter before the machine learning. In addition, the machine learning of the learning model is performed in a state where the hyperparameter set by the user is set in the learning model selected by the user. Therefore, it is not necessary to encode a program for setting the hyperparameter for the learning model, so it is easy to set the hyperparameter for the learning model.

[0156] The learning model generation device 100 of this embodiment does not need to encode the program at any of the stages of generating the learning model, setting the hyperparameters, and generating the learning data. Therefore, even a person who has no knowledge of the program can make the learning model perform mechanical learning and generate a learned learning model. In addition, compared with the case of making a program, the learning model generation device 100 can generate a learned model in a short time.

[0157] (4) Summary of implementation methods

[0158] (Item 1) A learning model generating device according to one aspect of the present invention comprises:

[0159] A model information display unit, which can selectively display a plurality of learning models which are publicly available on the Internet and have the same interface;

[0160] a model selection unit, which selects at least one of the learning models from the displayed plurality of learning models; and

[0161] The learning unit causes the selected learning model to perform machine learning on the learning data to generate a learned model.

[0162] According to the aspect, since a plurality of existing learning models disclosed on the Internet are selectively displayed, it is easy to select a learning model to be machine-learned. In addition, since the interfaces of the plurality of learning models that can be selectively displayed are the same, it is not necessary to adapt the learning model to the learning data, so that the learning model can be machine-learned without creating a program. As a result, a learning model generation device that can easily generate a learned learning model can be provided.

[0163] (Item 2) The learning model generation device described in Item 1 may further include:

[0164] An image data acquisition unit acquires image data: and

[0165] a learning data generating unit that generates learning data based on the image data acquired by the image data acquiring unit; and

[0166] The learning data generating unit includes a graphical user interface for generating learning data.

[0167] According to the above aspect, since the graphical user interface for generating learning data is provided, the user can easily generate learning data from image data.

[0168] (Item 3) In the learning model generating device described in Item 2,

[0169] The graphical user interface may include an operation screen that receives an instruction to generate other new image data based on the image data.

[0170] According to the above aspect, since the operation screen for accepting the user's instruction to generate other new image data based on the image data is displayed, the user only needs to input the instruction to generate new image data according to the operation screen, and the new image data can be easily generated.

[0171] (Item 4) In the learning model generating device described in Item 2 or 3,

[0172] The graphical user interface may include an operation screen for receiving information added to the image data.

[0173] According to the above aspect, since the operation screen for accepting information to be added to image data is displayed, the user only needs to instruct the information to be added to the image data according to the operation screen, and learning data can be easily generated.

[0174] (Item 5) In the learning model generating device described in Items 1 to 4,

[0175] The model information display unit may further display information related to characteristics of the plurality of learning models.

[0176] According to the above aspect, since information related to the characteristics of the learning model is displayed, it is possible to assist the user when the user selects one of a plurality of learning models as an object of machine learning.

[0177] (Item 6) The learning model generation device described in Items 1 to 5 may further include:

[0178] a parameter setting unit for setting hyper parameters used by the learning unit to cause the learning model to perform machine learning; and

[0179] The parameter setting unit has a graphical user interface for setting hyperparameters.

[0180] According to the aspect, since there is a graphical user interface for setting hyper parameters, the user can easily set the hyper parameters.

[0181] (Item 7) In the learning model generating device described in Items 1 to 6, it is also possible to

[0182] The model selection unit is capable of selecting a custom model, the custom model being a learning model prepared in advance separately from the plurality of learning models disclosed on the Internet;

[0183] The interface of the customized model is the same as that of the plurality of learning models disclosed on the Internet.

[0184] According to the above aspect, the user can easily perform machine learning on a customized model different from a plurality of learning models disclosed on the Internet.

[0185] (Item 8) The learning model generation device described in Items 1 to 7 may further include:

[0186] An evaluation data acquisition unit that acquires evaluation data;

[0187] an evaluation unit that evaluates the learned model generated by the learning unit using the evaluation data; and

[0188] The evaluation result display unit displays the evaluation result of the learned model.

[0189] According to the above aspect, the evaluation data is acquired, the learned model that has been machine-learned is evaluated using the evaluation data, and the evaluation result is displayed. Therefore, information related to the machine learning of the learning model including the selection of the learning model can be provided to the user.

[0190] (Item 9) In the learning model generating device described in Item 8,

[0191] When there are a plurality of the learned models, the evaluation result display unit may display a plurality of evaluation results corresponding to the plurality of learned models in a row.

[0192] According to the above aspect, since the plurality of evaluation results respectively corresponding to the plurality of learned models are displayed in a row, the user can easily compare the plurality of learned models.

[0193] (Item 10) Another aspect of the learning model generation method of the present invention causes the learning model generation device to perform the following steps:

[0194] A model information display step, which selectively displays a plurality of learning models which are publicly available on the Internet and have the same interface;

[0195] A model selection step of selecting at least one of the learning models from the displayed multiple learning models; and

[0196] The learning step causes the selected learning model to perform machine learning on learning data including image data, and generates a learned model.

[0197] According to the aspect, it is possible to provide a learning model generating method capable of easily generating a learned learning model.

[0198] (Item 11) A computer-readable medium storing a learning model generation program in another aspect of the present invention causes a computer to execute the following steps:

[0199] A model information display step, which selectively displays a plurality of learning models which are publicly available on the Internet and have the same interface;

[0200] A model selection step of selecting at least one of the learning models from the displayed multiple learning models; and

[0201] The learning step causes the selected learning model to perform machine learning on learning data including image data, and generates a learned model.

[0202] According to the aspect, there can be provided a computer-readable medium storing a learning model generation program capable of easily generating a learned learning model.

Claims

1. A learning model generating device, comprising: a model information display unit, which can selectively display a plurality of learning models which are publicly available on the Internet and have the same interface; a model selection unit, which selects at least one of the learning models from the displayed plurality of learning models; and The learning unit causes the selected learning model to perform machine learning on the learning data to generate a learned model.

2. The learning model generating device according to claim 1, further comprising: an image data acquiring unit for acquiring image data; and a learning data generating unit that generates learning data based on the image data acquired by the image data acquiring unit; and The learning data generating unit includes a graphical user interface for generating learning data. 3 . The learning model generation device according to claim 2 , wherein the graphical user interface has an operation screen that accepts an instruction to generate other new image data based on the image data. 4 . The learning model generation device according to claim 2 , wherein the graphical user interface has an operation screen for accepting information added to the image data. 5 . The learning model generating device according to claim 1 , wherein the model information display section further displays information related to features of a plurality of the learning models.

6. The learning model generating device according to any one of claims 1 to 5, further comprising: a parameter setting unit for setting hyper parameters used by the learning unit to make the learning model perform machine learning; and The parameter setting unit has a graphical user interface for setting hyperparameters.

7. The learning model generating device according to any one of claims 1 to 6, wherein the model selection section is capable of selecting a custom model, the custom model being a learning model prepared in advance separately from the plurality of learning models disclosed on the Internet; The interface of the customized model is the same as that of the plurality of learning models disclosed on the Internet.

8. The learning model generation device according to any one of claims 1 to 7, further comprising: an evaluation data acquisition unit that acquires evaluation data; an evaluation unit that evaluates the learned model generated by the learning unit using the evaluation data; and The evaluation result display unit displays the evaluation result of the learned model. 9 . The learning model generating device according to claim 8 , wherein when there are a plurality of the learned models, the evaluation result display unit displays a plurality of evaluation results corresponding to the plurality of the learned models in an arranged manner.

10. A learning model generation method, causing a computer to execute the following steps: a model information display step, selectively displaying a plurality of learning models that are publicly available on the Internet and have the same interface; A model selection step of selecting at least one of the learning models from the displayed multiple learning models; and The learning step causes the selected learning model to perform machine learning on the learning data and generate a learned model.

11. A computer-readable medium storing a learning model generation program, which enables a computer to perform the following steps: a model information display step, which selectively displays a plurality of learning models that are publicly available on the Internet and have the same interface; A model selection step of selecting at least one of the learning models from the displayed multiple learning models; and The learning step causes the selected learning model to perform machine learning on the learning data and generate a learned model.