System for transferring learning models for cell image analysis and method for transferring learning models for cell image analysis
The system facilitates easy transfer of learning models for cell image analysis by determining algorithm consistency using hash values, addressing migration challenges and enhancing user convenience.
Patent Information
- Application Number
- JP2021166341
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-10-15
- Estimated Expiration
- 2041-10-08
AI Technical Summary
Existing methods for transferring a learning model for cell image analysis between different locations face challenges due to licensing issues and algorithm version discrepancies, making it difficult to easily migrate the model without retraining.
A system and method that includes determining algorithm consistency between the source and destination devices by using hash values to ensure compatibility, allowing seamless transfer of learning model parameters when algorithms are consistent.
Enables easy migration of learning models by ensuring consistent parameter settings, improving user convenience and reducing the need for redundant learning processes.
Smart Images

Figure 0007753771000001 
Figure 0007753771000002 
Figure 0007753771000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a system for transferring a learning model for cell image analysis and a method for transferring a learning model for cell image analysis. [Background technology]
[0002] Conventionally, a technique for generating a learning model for analyzing cell images has been disclosed (see, for example, Patent Document 1).
[0003] The above-mentioned Patent Document 1 discloses a cell analysis device that generates a trained model by performing machine learning using training data in which a cell image is used as an input image and a stained image obtained by staining the cytoskeleton is used as a correct image. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-64115 Summary of the Invention [Problem to be solved by the invention]
[0005] Although not disclosed in Patent Document 1, there are cases where a learning model for cell image analysis needs to be transferred to a learning device (second learning device) located at a different location from the location where the cell image analysis device (first learning device) that generated the trained model is installed, such as when the location is relocated. In this case, the learning model can be transferred from the first learning device to the second learning device by duplicating data such as the algorithm of the learning model used to analyze cell images in the first learning device, which is the transfer source, and the parameters used for the analysis (first parameters), in the second learning device, which is the transfer destination.
[0006] However, copying the algorithm of a learning model as is may not be possible due to licensing or other considerations. In this case, the learning model can be transferred from the first learning device to the second learning device by storing an algorithm similar to that of the first learning device, which is the transfer source, in the second learning device at the transfer destination and transferring only the first parameters. However, when transferring only the first parameters used for analysis to the second learning device that stores the same algorithm as that of the first learning device, the first parameters may not be applicable to the second learning device due to differences in algorithm versions, etc. In this case, learning must be performed using the stored algorithm in the second learning device, making it difficult to transfer the learning model easily. Therefore, a technology that enables easy transfer of a learning model is desired.
[0007] The present invention has been made to solve the above-mentioned problems, and one object of the present invention is to provide a system for transferring learning models for cell image analysis and a method for transferring learning models for cell image analysis, which enable easy transfer of learning models. [Means for solving the problem]
[0008] In order to achieve the above object, a system for transferring a learning model for analyzing a cell image according to a first aspect of the present invention is a system for transferring a learning model for analyzing a cell image from a first learning device to a second learning device, wherein the second learning device includes a transfer information input receiving unit that receives input of learning model transfer information including first algorithm specifying information for specifying a first algorithm of the learning model used for analyzing a cell image and first parameters that are output when the learning model is generated and are learning parameters when analyzing a cell image with the learning model, a second learning device storage unit that stores a second algorithm of the learning model used for analyzing the cell image, second algorithm specifying information for specifying the second algorithm stored in the second learning device storage unit, and the first algorithm specifying information. By determining whetherThe learning model includes an algorithm consistency determination unit that determines whether the estimation results are consistent when the first parameter is used in the first algorithm and the second algorithm, a notification unit that notifies whether the first algorithm and the second algorithm are consistent, and a learning model parameter setting unit that sets the first parameter to be used with the second algorithm when the first algorithm and the second algorithm are consistent.
[0009] A method for transferring a learning model for analyzing a cell image according to a second aspect of the present invention is a method for transferring a learning model for analyzing a cell image from a first computer to a second computer, the method including the steps of: receiving, by the second computer, input of learning model transfer information including first algorithm specifying information for specifying a first algorithm of the learning model used for analyzing a cell image; and first parameters that are output when the learning model is generated and are learning parameters when analyzing a cell image using the learning model; and receiving, by the second computer, input of the learning model transfer information including first algorithm specifying information for specifying a first algorithm of the learning model used for analyzing a cell image and first parameters that are output when the learning model is generated and are learning parameters when analyzing a cell image using the learning model. Second algorithm specific information for identifying and the first algorithm specifying information included in the learning model transition information. By determining whether The method includes a step of determining whether the estimation results are consistent when the first parameter is used in the first algorithm and the second algorithm, a step of the second computer notifying whether the first algorithm and the second algorithm are consistent, and a step of the second computer setting the first parameter to be used with the second algorithm when the first algorithm and the second algorithm are consistent. [Effects of the Invention]
[0010] In the cell image analysis learning model migration system of the first aspect and the cell image analysis learning model migration method of the second aspect, a determination is made as to whether a first algorithm of a first learning device and a second algorithm of a second learning device are consistent with each other when a first parameter for analyzing a cell image is used. If the first algorithm and the second algorithm are consistent with each other, the first parameter is set in the second learning device. Therefore, the first parameter can be set in the second learning device without the second learning device performing the same learning as the first learning device. As a result, the learning model can be migrated easily. If the first algorithm and the second algorithm are inconsistent with each other, a notification is issued to the effect that the first algorithm and the second algorithm are inconsistent. Therefore, the user can recognize the inconsistency between the first algorithm of the first learning device at the migration source and the second algorithm of the second learning device at the migration destination, and can understand the reason why the learning model cannot be migrated. As a result, user convenience can be improved. [Brief explanation of the drawings]
[0011] [Figure 1] FIG. 1 is a block diagram showing a system for migrating a learning model for cell image analysis according to an embodiment of the present invention. [Figure 2] FIG. 2 is a block diagram illustrating the configuration of a first learning device. [Figure 3] FIG. 10 is a diagram for explaining learning model transition information. [Figure 4] FIG. 10 is a diagram for explaining accompanying information. [Figure 5] FIG. 4 is a block diagram illustrating the configuration of a second learning device. [Figure 6] FIG. 10 is a functional block diagram for explaining the function of exporting learning model transition information by the first learning device. [Figure 7] FIG. 10 is a functional block diagram for explaining the function of importing learning model transition information by the second learning device. [Figure 8]FIG. 10 is a block diagram for explaining the determination process of the algorithm compatibility determination unit when the versions of the first algorithm and the second algorithm are different. [Figure 9] FIG. 10 is a diagram showing an example of a screen when exporting learning model transition information. [Figure 10] FIG. 10 is a diagram showing an example of a screen when importing learning model transition information. [Figure 11] FIG. 10 is a diagram showing an example of a screen displayed when the import of learning model migration information is successful. [Figure 12] FIG. 10 is a diagram showing an example of a screen that appears when the import of learning model migration information fails. [Figure 13] 10 is a flowchart for explaining the export process of learning model transition information by the first learning device. [Figure 14] 10 is a flowchart illustrating the import processing of learning model transition information by a second learning device. [Figure 15] FIG. 10 is a block diagram showing a method for migrating a learning model for cell image analysis according to a modified example. DETAILED DESCRIPTION OF THE INVENTION
[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific embodiments of the present invention will be described with reference to the accompanying drawings.
[0013] The configuration of a cell image analysis learning model migration system 200 and a cell image analysis learning model migration method according to this embodiment will be described with reference to FIGS. 1 to 12.
[0014] <Learning model transfer system for cell image analysis> The cell image analysis learning model transfer system 200 shown in FIG. 1 is a system that transfers a learning model used to analyze a cell image 90 from a first learning device 10 to a second learning device 20. The first learning device 10 is installed at a first location 1. The second learning device 20 is located at a second location 2 different from the first location 1. The learning model is a learning model for performing analysis processing on cell images 90 captured by a user who performs cell culture or the like.
[0015] The cell image analysis learning model transition system 200 includes a first learning device 10 and a second learning device 20. The cell image analysis learning model transition system 200 also includes a computer 110, a computer 111, an imaging device 150, and an imaging device 151.
[0016] 1 shows an example of migrating a learning model between a client-server system in which a first learning device 10 functions as a server and a computer 110 functions as a client terminal, and a client-server system in which a second learning device 20 functions as a server and a computer 111 functions as a client terminal. The first learning device 10, the computer 110, and the imaging device 150 are connected to each other via a network 120 so as to be able to communicate with each other. The second learning device 20, the computer 111, and the imaging device 151 are connected to each other via a network 121 so as to be able to communicate with each other.
[0017] The first learning device 10 performs various types of information processing in response to requests (processing requests) from a computer 110 operated by a user. In response to the request, the first learning device 10 learns a learning model for analyzing a cell image 90. In this embodiment, the first learning device 10 trains the learning model to classify cells depicted in the cell image 90. For example, the first learning device 10 trains the learning model to classify whether the cells depicted in the cell image 90 are normal cells or not, and whether the cells depicted in the cell image 90 are aged or not.
[0018] In addition, in response to a request, the first learning device 10 performs output processing (export processing) of the learning model transition information 30. The reception of operations on the first learning device 10 and the display of the analysis results and images after analysis performed by the first learning device 10 are performed on a GUI (Graphical User Interface) displayed on the display unit 130 of the computer 110.
[0019] The second learning device 20 performs various types of information processing in response to requests (processing requests) from the computer 111 operated by the user. In response to the request, the second learning device 20 learns a learning model for analyzing the cell image 90. In this embodiment, the second learning device 20 trains the learning model to classify the cells depicted in the cell image 90. For example, the second learning device 20 trains the learning model to classify whether the cells depicted in the cell image 90 are normal cells or not, and whether the cells depicted in the cell image 90 are aged or not.
[0020] In addition, in response to a request, the second learning device 20 performs input processing (import processing) of learning model transition information 30. The reception of operations on the second learning device 20 and the display of the analysis results and images after analysis performed by the second learning device 20 are performed on a GUI displayed on the display unit 131 of the computer 111.
[0021] The network 120 connects the first learning device 10, the computer 110, and the imaging device 150 so that they can communicate with each other. The network 120 may be, for example, a local area network (LAN) constructed inside the first site 1. Therefore, the computer 110 cannot directly access the second learning device 20.
[0022] The network 121 connects the second learning device 20, the computer 111, and the imaging device 151 so that they can communicate with each other. The network 121 may be, for example, a LAN constructed inside a second site 2 different from the first site 1 where the first learning device 10 is installed. Therefore, the computer 111 cannot directly access the first learning device 10.
[0023] The computers 110 and 111 are so-called personal computers, and each includes a processor and a storage unit. The computer 110 is connected to a display unit 130 and an input unit 140. The computer 111 is connected to a display unit 131 and an input unit 141.
[0024] The display unit 130 and the display unit 131 are, for example, liquid crystal display devices. The display unit 130 and the display unit 131 may also be an electroluminescence display device, a projector, or a head-mounted display. In this embodiment, the display unit 131 is configured to notify whether or not a first algorithm 40 (see FIG. 2) and a second algorithm 50 (see FIG. 5), which will be described later, are consistent with each other. Specifically, the display unit 131 is configured to notify by displaying notification content 91 (see FIG. 7), which will be described later. The display unit 131 is an example of a "notification unit" in the claims.
[0025] The input unit 140 and the input unit 141 are input devices including, for example, a mouse and a keyboard. The input unit 140 and the input unit 141 may be a touch panel. One or more computers 110 are provided in the cell image analysis learning model migration system 200. Also, one or more computers 111 are provided in the cell image analysis learning model migration system 200.
[0026] The imaging device 150 and the imaging device 151 capture images of cells to generate cell images 90. The imaging device 150 can transmit the generated cell images 90 to the computer 110 and / or the first learning device 10 via the network 120. The imaging device 150 captures microscopic images of cells. The imaging device 150 performs imaging using imaging methods such as bright-field observation, dark-field observation, phase-contrast observation, and differential interference observation. One or more types of imaging devices 150 are used depending on the imaging method. The cell image analysis learning model migration system 200 may be provided with one or more imaging devices 150.
[0027] The imaging device 151 can transmit the generated cell image 90 to the computer 111 and / or the second learning device 20 via the network 121. The imaging device 151 captures a microscopic image of the cell. The imaging device 151 performs imaging using an imaging method such as bright-field observation, dark-field observation, phase-contrast observation, or differential interference contrast observation. Depending on the imaging method, one or more types of imaging devices 151 are used. The cell image analysis learning model migration system 200 may be provided with one or more imaging devices 151.
[0028] <First learning device> As shown in FIG. 2, the first learning device 10 includes a first processor 11 and a first learning device storage unit 12.
[0029] The first processor 11 executes a predetermined program to perform arithmetic processing as the first learning device 10. The first processor 11 includes a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA (Field-Programmable Gate Array), an ASIC (Application Specific Integrated Circuit), etc. In this embodiment, the first processor 11 is configured to perform learning of a learning model using a first algorithm 40. The first processor 11 is also configured to perform export processing of learning model transition information 30. Details of the configuration in which the first processor 11 performs export processing of the learning model transition information 30 will be described later.
[0030] The first learning device storage unit 12 includes a volatile storage device. Examples of nonvolatile storage devices include a hard disk drive and a solid-state drive. The first learning device storage unit 12 is configured to store learning model transition information 30. The first learning device storage unit 12 also stores a first algorithm 40 and a first preprocessing program 41. The first learning device storage unit 12 also stores a cell image 90.
[0031] The first algorithm 40 is a learning model algorithm used to analyze the cell image 90. The first algorithm 40 is an analysis method used to analyze the cell image 90. The first algorithm 40 includes, for example, U-NET. The first algorithm 40 is also used when analyzing the cell image 90 in the first learning device 10.
[0032] The first preprocessing program 41 is a program for preprocessing the cell image 90 when the learning model is learned. In this embodiment, the first preprocessing program 41 includes, for example, a program for correcting brightness unevenness that occurs in the background of the cell image 90. The first preprocessing program 41 is also used for preprocessing the cell image 90 when the cell image 90 is analyzed in the first learning device 10.
[0033] <Learning model transition information> Next, the learning model transition information 30 will be described in detail with reference to Fig. 3. The learning model transition information 30 includes first algorithm specification information 30a, first parameters 30b, first pre-processing program specification information 30c, second parameters 30d, and accompanying information 30e. Note that the first pre-processing program specification information 30c is an example of "pre-processing program specification information" in the claims.
[0034] The first algorithm specifying information 30a is information for specifying the first algorithm 40. In this embodiment, the first algorithm specifying information 30a includes first identification information 31 corresponding to the first algorithm 40. In this embodiment, the first identification information 31 includes a first hash value 32 generated based on the first algorithm 40.
[0035] The first hash value 32 is obtained by the first processor 11 and stored in the first learning device storage unit 12. The first processor 11 obtains the first hash value 32 from the first algorithm 40, for example, using a hash function. The first processor 11 obtains the first hash value 32 based on data that the user cannot change, rather than data that the user can change. In other words, the first processor 11 obtains the first hash value 32 based on the source code of the first algorithm 40, rather than the file name of the first algorithm 40. The first hash values 32 will be different if the source code of the first algorithm 40 differs by even one character.
[0036] The first parameter 30b is output when the learning model is generated, and is a learning parameter used when analyzing the cell image 90 using the learning model. Specifically, the first parameter 30b is a weight parameter used when analyzing the cell image 90. The first parameter 30b is acquired by the first processor 11 learning the learning model using the first algorithm 40.
[0037] The first preprocessing program identification information 30c is information for identifying the first preprocessing program 41. In this embodiment, the first preprocessing program identification information 30c includes a first preprocessing program hash value 33 obtained based on the first preprocessing program 41 (see FIG. 2). The first preprocessing program hash value 33 is obtained from the first preprocessing program 41, for example, by the first processor 11 using a hash function. The first processor 11 obtains the first preprocessing program hash value 33 based on data that the user cannot change, rather than data that the user can change. In other words, the first processor 11 obtains the first preprocessing program hash value 33 based on the source code of the first preprocessing program 41, rather than the file name of the first preprocessing program 41. The first preprocessing program hash values 33 will be different if the source code of the first preprocessing program 41 differs by even one character.
[0038] The second parameter 30d is a parameter corresponding to the first preprocessing program 41. Specifically, the second parameter 30d is a value set by the user when the first processor 11 performs preprocessing on the cell image 90 (see FIG. 1) using the first preprocessing program 41.
[0039] The accompanying information 30e is information obtained when the first processor 11 learns the first algorithm 40. The accompanying information 30e includes information on the learning conditions set when the user learns the learning model on the first learning device 10, and the verification results of the learning.
[0040] <Additional information> 4, the accompanying information 30e includes at least one of the name 34 of the dataset used to train the learning model, the number 35 of cell images 90 used to train the learning model, the ratio 36 of training data, validation data, and test data in the data used to train the learning model, the size 37 of the cell images 90 used to train the learning model, and the index value 38 at the time of training the learning model. In this embodiment, the accompanying information 30e includes all of the name 34 of the dataset, the number 35 of cell images 90, the ratio 36 of training data, validation data, and test data, the size 37 of the cell images 90, and the index value 38 at the time of training the learning model.
[0041] <Second Learning Device> As shown in FIG. 5, the second learning device 20 includes a second processor 21 and a second learning device storage unit 22.
[0042] The second processor 21 executes a predetermined program to perform arithmetic processing as the second learning device 20. The second processor 21 includes a CPU, a GPU, an FPGA, an ASIC, etc. In this embodiment, the second processor 21 uses a second algorithm 50 to train the learning model to analyze the cell image 90. The second processor 21 is also configured to perform an import process of the learning model transition information 30. Details of the configuration in which the second processor 21 performs the import process of the learning model transition information 30 will be described later.
[0043] The second learning device storage unit 22 includes a volatile storage device. Examples of non-volatile storage devices include a hard disk drive and a solid state drive. The second learning device storage unit 22 is configured to store a second algorithm 50 of a learning model used to analyze a cell image 90. The second learning device storage unit 22 is also configured to store a second preprocessing program 51, which is a program for preprocessing the cell image 90. The second learning device storage unit 22 is also configured to store the cell image 90.
[0044] The second algorithm 50 is an algorithm of a learning model used to analyze the cell image 90. The second algorithm 50 is an algorithm similar to the first algorithm 40. In this embodiment, the second algorithm 50 includes, for example, U-NET. The second algorithm 50 is acquired separately from the first algorithm 40 and is pre-stored in the second learning device storage unit 22.
[0045] The second preprocessing program 51 is a program for preprocessing the cell image 90 when the learning model is learned. The second preprocessing program 51 is a program for performing preprocessing similar to that of the first preprocessing program 41. In this embodiment, the second preprocessing program 51 includes, for example, a program for correcting brightness unevenness that occurs in the background of the cell image 90. The second preprocessing program 51 is acquired separately from the first preprocessing program 41 and is stored in advance in the second learning device storage unit 22.
[0046] <Export processing of learning model migration information> Next, with reference to FIG. 6, a configuration in which the first learning device 10 exports the learning model transition information 30 will be described.
[0047] 6, the first processor 11 includes a transition information generating unit 11a, a transition information encrypting unit 11b, and a transition information output unit 11c as functional blocks. In other words, the first processor 11 functions as the transition information generating unit 11a, the transition information encrypting unit 11b, and the transition information output unit 11c by executing a program stored in the first learning device storage unit 12.
[0048] The transition information generator 11a generates learning model transition information 30 based on various information stored in the first learning device storage unit 12. Specifically, the transition information generator 11a acquires first algorithm identification information 30a, first parameters 30b, first pre-processing program identification information 30c, second parameters 30d, and associated information 30e from the first learning device storage unit 12. The transition information generator 11a also generates the learning model transition information 30 by associating the acquired first algorithm identification information 30a, first parameters 30b, first pre-processing program identification information 30c, second parameters 30d, and associated information 30e.
[0049] The transition information encryption unit 11b is configured to encrypt the learning model transition information 30 stored in the first learning device storage unit 12. Specifically, the transition information encryption unit 11b acquires the learning model transition information 30 generated by the transition information generation unit 11a, and encrypts the learning model transition information 30 to acquire an encrypted file in a unique format including encrypted learning model transition information 39. In addition, the transition information encryption unit 11b outputs the encrypted learning model transition information 39 to the transition information output unit 11c.
[0050] The transition information output unit 11c is configured to output the learning model transition information 30 (see FIG. 1) stored in the first learning device storage unit 12. Specifically, the transition information output unit 11c is configured to output the learning model transition information 39 encrypted by the transition information encryption unit 11b. In this embodiment, the transition information output unit 11c acquires the encrypted learning model transition information 39 from the transition information encryption unit 11b. Furthermore, the transition information output unit 11c outputs the acquired encrypted learning model transition information 39 to a portable storage medium 60. The portable storage medium 60 includes, for example, a USB (Universal Serial Bus) memory.
[0051] The user transfers the learning model transition information 30 from the first learning device 10 to the second learning device 20 by storing the encrypted learning model transition information 39 for the second learning device 20 in the second learning device memory unit 22 using a portable storage medium 60 that stores the encrypted learning model transition information 39.
[0052] <Importing learning model migration information> Next, a configuration in which the second learning device 20 imports the learning model transition information 30 will be described with reference to FIG.
[0053] 7, the second processor 21 includes, as functional blocks, a transition information input receiving unit 21a, a hash value acquiring unit 21b, an algorithm consistency determining unit 21c, a pre-processing program consistency determining unit 21d, a notification content acquiring unit 21e, a learning model parameter setting unit 21f, and a pre-processing parameter setting unit 21g. In other words, the second processor 21 executes a program stored in the second learning device storage unit 22 to function as the transition information input receiving unit 21a, the hash value acquiring unit 21b, the algorithm consistency determining unit 21c, the pre-processing program consistency determining unit 21d, the notification content acquiring unit 21e, the learning model parameter setting unit 21f, and the pre-processing parameter setting unit 21g.
[0054] The transition information input accepting unit 21a accepts input of learning model transition information 30 (see FIG. 1 ) including first algorithm identification information 30a and first parameters 30b. In this embodiment, the transition information input accepting unit 21a accepts input of encrypted learning model transition information 39 from a portable storage medium 60. The transition information input accepting unit 21a is also configured to decrypt the learning model transition information 39 encrypted by the transition information encryption unit 11b. That is, the transition information input accepting unit 21a acquires the learning model transition information 30 by decrypting the encrypted learning model transition information 39 input from the portable storage medium 60. The transition information input accepting unit 21a is configured to be able to decrypt files encrypted in a unique format by the transition information encryption unit 11b by executing a decryption program stored in the second learning device storage unit 22.
[0055] The migration information input receiving unit 21a outputs the first hash value 32 of the learning model migration information 30 to the algorithm consistency determining unit 21c. In addition, the migration information input receiving unit 21a outputs the first pre-processing program hash value 33 of the learning model migration information 30 to the pre-processing program consistency determining unit 21d.
[0056] The hash value acquisition unit 21b is configured to acquire second algorithm specification information 70a for specifying the second algorithm 50. The second algorithm specification information 70a includes second identification information 71 corresponding to the second algorithm 50. In this embodiment, the second identification information 71 includes a second hash value 72 generated based on the second algorithm 50.
[0057] The hash value acquisition unit 21b is also configured to acquire second pre-processing program identification information 70b for identifying the second pre-processing program 51. In this embodiment, the second pre-processing program identification information 70b includes a second pre-processing program hash value 73.
[0058] The hash value acquisition unit 21b acquires the second algorithm 50 and the second preprocessing program 51 from the second learning device storage unit 22. The hash value acquisition unit 21b acquires a second hash value 72 from the second algorithm 50, for example, using a hash function. The hash value acquisition unit 21b also acquires a second preprocessing program hash value 73 from the second preprocessing program 51, for example, using a hash function. The hash value acquisition unit 21b acquires the second hash value 72 and the second preprocessing program hash value 73 based on data that the user cannot change, rather than data that the user can change. In other words, the hash value acquisition unit 21b acquires the second hash value 72 based on the source code of the second algorithm 50, rather than the file name of the second algorithm 50, for example. The second hash values 72 will be different if the source code of the second algorithm 50, for example, differs by even one character. Moreover, the hash value acquisition unit 21b acquires the second pre-processing program hash value 73 based on the source code of the second pre-processing program 51, rather than the file name of the second pre-processing program 51. The second pre-processing program hash values 73 will be different from each other if the source code of the second pre-processing program 51 differs by even one character.
[0059] The hash value acquisition unit 21b outputs the acquired second hash value 72 to the algorithm consistency determination unit 21c, and also outputs the acquired second pre-processing program hash value 73 to the pre-processing program consistency determination unit 21d.
[0060] The algorithm consistency determination unit 21c is configured to determine whether the estimation results are consistent between the first algorithm 40 and the second algorithm 50 when the first parameter 30b is used, based on the second algorithm identification information 70a for identifying the second algorithm 50 stored in the second learning device memory unit 22 and the first algorithm identification information 30a.
[0061] In this embodiment, the algorithm compatibility determination unit 21c is configured to determine the compatibility between the first algorithm 40 and the second algorithm 50 by determining whether the first identification information 31 (see FIG. 3) matches the second identification information 71. Specifically, the algorithm compatibility determination unit 21c is configured to determine whether the first hash value 32 matches the second hash value 72.
[0062] Furthermore, the algorithm consistency determination unit 21c outputs the algorithm consistency determination result 90a to the notification content acquisition unit 21e. Note that, when the first algorithm 40 (see FIG. 2) and the second algorithm 50 are consistent with each other, the algorithm consistency determination unit 21c outputs, for example, “1” as the algorithm consistency determination result 90a to the notification content acquisition unit 21e, the learning model parameter setting unit 21f, and the preprocessing parameter setting unit 21g. Note that, when the first algorithm 40 and the second algorithm 50 are not consistent with each other, the algorithm consistency determination unit 21c outputs, for example, “0 (zero)” as the algorithm consistency determination result 90a to the notification content acquisition unit 21e, the learning model parameter setting unit 21f, and the preprocessing parameter setting unit 21g.
[0063] The pre-processing program consistency determination unit 21d is configured to determine whether or not consistency is achieved between the results of pre-processing performed on the cell image 90 in the first pre-processing program 41 (see FIG. 2) and the second pre-processing program 51, based on the first pre-processing program identification information 30c (see FIG. 3) and the second pre-processing program 51 stored in the second learning device storage unit 22. Specifically, the pre-processing program consistency determination unit 21d determines whether or not consistency is achieved between the first pre-processing program 41 and the second pre-processing program 51 by determining whether or not the first pre-processing program hash value 33 and the second pre-processing program hash value 73 match.
[0064] Furthermore, the pre-processing program consistency determination unit 21d outputs the pre-processing program consistency determination result 90b to the notification content acquisition unit 21e. Note that, when the first pre-processing program 41 (see FIG. 2) and the second pre-processing program 51 are consistent with each other, the pre-processing program consistency determination unit 21d outputs, for example, "1" as the pre-processing program consistency determination result 90b to the notification content acquisition unit 21e, the learning model parameter setting unit 21f, and the pre-processing parameter setting unit 21g. Note that, when the first pre-processing program 41 and the second pre-processing program 51 are not consistent with each other, the pre-processing program consistency determination unit 21d outputs, for example, "0 (zero)" as the pre-processing program consistency determination result 90b to the notification content acquisition unit 21e, the learning model parameter setting unit 21f, and the pre-processing parameter setting unit 21g.
[0065] The learning model parameter setting unit 21f is configured to set a first parameter 30b to be used together with the second algorithm 50 when the first algorithm 40 (see FIG. 2) and the second algorithm 50 (see FIG. 5) are consistent with each other. Specifically, when "1" is input as the algorithm consistency determination result 90a from the algorithm consistency determination unit 21c, the learning model parameter setting unit 21f outputs the first parameter 30b to the second learning device storage unit 22. More specifically, the learning model parameter setting unit 21f stores the first parameter 30b in association with the second algorithm 50 stored in the second learning device storage unit 22.
[0066] Note that even if the first algorithm 40 and the second algorithm 50 are consistent with each other, the learning model parameter setting unit 21f does not set the first parameter 30b if the first pre-processing program 41 (see FIG. 2) and the second pre-processing program 51 (see FIG. 5) are not consistent with each other. In other words, the learning model parameter setting unit 21f sets the first parameter 30b if both the first algorithm 40 and the second algorithm 50 are consistent with each other and the first pre-processing program 41 and the second pre-processing program 51 are consistent with each other.
[0067] The preprocessing parameter setting unit 21g is configured to set a second parameter 30d for the second preprocessing program 51 when the results of preprocessing between the first preprocessing program 41 (see FIG. 2) and the second preprocessing program 51 (see FIG. 5) are consistent. Specifically, when "1" is input as the preprocessing program consistency determination result 90b from the preprocessing program consistency determination unit 21d, the preprocessing parameter setting unit 21g outputs the second parameter 30d to the second learning device storage unit 22. More specifically, the preprocessing parameter setting unit 21g stores the second parameter 30d in association with the second preprocessing program 51 stored in the second learning device storage unit 22.
[0068] Note that the preprocessing parameter setting unit 21g does not set the second parameters 30d if the first algorithm 40 (see FIG. 2) and the second algorithm 50 (see FIG. 5) are not consistent, even if the first preprocessing program 41 and the second preprocessing program 51 are consistent with each other. That is, the preprocessing parameter setting unit 21g sets the second parameters 30d when both the first preprocessing program 41 and the second preprocessing program 51 are consistent with each other, and the first algorithm 40 and the second algorithm 50 are consistent with each other.
[0069] The notification content acquisition unit 21e is configured to acquire notification content 91. Specifically, the notification content acquisition unit 21e acquires the notification content 91 based on the algorithm consistency determination result 90a input from the algorithm consistency determination unit 21c and the pre-processing program consistency determination result 90b input from the pre-processing program consistency determination unit 21d. Note that in this embodiment, the notification content acquisition unit 21e acquires the notification content 91 based on whether or not the setting of the first parameter 30b and the second parameter 30d was successful, along with the algorithm consistency determination result 90a and the pre-processing program consistency determination result 90b.
[0070] The notification content 91 includes a message 91a (see FIG. 11) indicating that the import of the learning model was successful, and a message 91b (see FIG. 12) indicating that the import of the learning model was unsuccessful. When both the algorithm consistency determination result 90a and the pre-processing program consistency determination result 90b are consistent, and when the setting of the first parameter 30b and the second parameter 30d is successful, the notification content acquisition unit 21e acquires the message 91a indicating that the import of the learning model was successful as the notification content 91. That is, when both the algorithm consistency determination result 90a and the pre-processing program consistency determination result 90b are "1", and when the setting of the first parameter 30b and the second parameter 30d is successful, the notification content acquisition unit 21e acquires the message 91a indicating that the import of the learning model was successful as the notification content 91.
[0071] Furthermore, when either the algorithm consistency determination result 90a or the pre-processing program consistency determination result 90b is a result of inconsistency, or when the setting of either the first parameter 30b or the second parameter 30d has failed, the notification content acquisition unit 21e acquires a message 91b indicating that the import of the learning model has failed as the notification content 91. That is, when at least either the algorithm consistency determination result 90a or the pre-processing program consistency determination result 90b is "0 (zero)," or when the setting of either the first parameter 30b or the second parameter 30d has failed, the notification content acquisition unit 21e acquires a message 91b indicating that the import of the learning model has failed as the notification content 91. Furthermore, the notification content acquisition unit 21e outputs the acquired notification content 91 to the display unit 131.
[0072] The display unit 131 displays the notification content 91 acquired from the notification content acquisition unit 21e.
[0073] Algorithm Compatibility Next, referring to Figure 8, we will explain the configuration in which the algorithm consistency determination unit 21c determines whether the first algorithm 40 and the second algorithm 50 are consistent when at least one of the first algorithm 40 and the second algorithm 50 is upgraded.
[0074] 8, when the first algorithm 40 is upgraded, the upgraded first algorithm identification information 30a includes a compatible version of the first algorithm identification information 30a. In the example shown in Fig. 8, the first algorithm identification information 30a includes three hash values: a first hash value 32a, a first hash value 32b, and a first hash value 32c.
[0075] 8, when the second algorithm 50 is upgraded, the upgraded second algorithm identification information 70a includes the second algorithm identification information 70a of a compatible version. In the example shown in Fig. 8, the second algorithm identification information 70a includes three hash values: a second hash value 72a, a second hash value 72b, and a second hash value 72c.
[0076] In this embodiment, the algorithm compatibility determination unit 21c is configured to determine that the first algorithm 40 and the second algorithm 50 are compatible with each other, even if the versions of the first algorithm 40 and the second algorithm 50 are different.
[0077] 8, even if the first hash value 32a and the second hash value 72a are different, if the first hash value 32a and the second hash value 72b are equal to each other, the algorithm compatibility determination unit 21c determines that there is compatibility between the first algorithm 40 and the second algorithm 50. In other words, when there are multiple first hash values 32 and / or multiple second hash values 72, the algorithm compatibility determination unit 21c determines the compatibility between the first algorithm 40 and the second algorithm 50 based on whether any of the multiple first hash values 32 matches the second hash value 72, or whether any of the multiple second hash values 72 matches the first hash value 32.
[0078] <Learning model migration information export screen> Next, with reference to FIG. 9, an example of a screen when exporting the learning model transition information 30 will be described.
[0079] 9 shows an example of a learning model transition information export screen 130a displayed on the display unit 130 (see FIG. 1). The learning model transition information export screen 130a displays a learning model name 130b, a dataset name 130c, and preprocessing information 130d. The learning model transition information export screen 130a also displays a download button 130e and an OK button 130f. The download button 130e and the OK button 130f are push buttons on the GUI.
[0080] When the download button 130e is pressed, the first processor 11 executes the export process of the learning model transition information 30 (see FIG. 1) shown in FIG.
[0081] Furthermore, when the OK button 130f is pressed, the first processor 11 closes the learning model transition information export screen 130a.
[0082] Next, examples of screens when importing the learning model transition information 30 will be described with reference to FIGS.
[0083] FIG. 10 shows a learning model import screen 131a displayed on the display unit 131 (see FIG. 1). The learning model import screen 131a displays an input field 131b for the learning name. The learning model import screen 131a also displays a file selection button 131c, a registration button 131d, and a cancel button 131e. The file selection button 131c, the registration button 131d, and the cancel button 131e are push buttons on the GUI. The learning name is a name stored in the second learning device 20 as a learning process when analyzing the cell image 90.
[0084] When the file selection button 131c is pressed, the second processor 21 displays an encrypted file selection screen (not shown) for the encrypted learning model transition information 39 when performing the import process of the learning model transition information 30 shown in Figures 8 and 9 and the process of setting the first parameter 30b and the second parameter 30d.
[0085] When the registration button 131d is pressed, the second processor 21 executes the process of importing the learning model transition information 30 and the process of setting the first parameter 30b and the second parameter 30d shown in FIG.
[0086] 11 shows an example of a successful import screen 131f that is displayed on the display unit 131 (see FIG. 1) when the import of the learning model transition information 30 is successful. The successful import screen 131f displays a message 91a indicating that the import of the learning model was successful. The successful import screen 131f is displayed as a pop-up screen on the learning model import screen 131a.
[0087] 12 shows an example of an import failure screen 131g that is displayed on the display unit 131 (see FIG. 1) when the import of the learning model migration information 30 fails. The import failure screen 131g displays a message 91b indicating that the import of the learning model has failed. The import failure screen 131g is displayed as a pop-up screen on the learning model import screen 131a.
[0088] Next, the process by which the first learning device 10 (see FIG. 1) exports the learning model transition information 30 (see FIG. 1) will be described with reference to Fig. 13. Note that the export process of the learning model transition information 30 by the first learning device 10 is performed before the second learning device 20 (second processor 21) receives input of the learning model transition information 30.
[0089] In step 101, the first learning device 10 (first processor 11) generates learning model transition information 30. In addition, the first processor 11 stores the generated learning model transition information 30 in the first learning device storage unit 12.
[0090] In step 102, the transition information encryption unit 11b encrypts the learning model transition information 30. In this embodiment, the transition information encryption unit 11b encrypts the learning model transition information 30 stored in the first learning device storage unit 12, thereby obtaining encrypted learning model transition information 39.
[0091] In step 103, the first learning device 10 (transition information output unit 11c) outputs the learning model transition information 30 stored in the first learning device storage unit 12. Specifically, the transition information output unit 11c outputs the learning model transition information 39 encrypted by the transition information encryption unit 11b. Thereafter, the processing ends.
[0092] Next, with reference to Figure 14, the process by which the second learning device 20 (see Figure 1) imports the learning model transition information 30 (see Figure 1) will be described. The process by which the second learning device 20 imports the learning model transition information 30 is performed after the learning model transition information 30 is exported from the first learning device 10. The process by which the second learning device 20 imports the learning model transition information 30 is started when the user selects an encrypted file on the learning model import screen 131a (see Figure 10) and presses the register button 131d.
[0093] In step 201, the transition information input receiving unit 21a (see FIG. 7) receives input of learning model transition information 30, which includes first algorithm identification information 30a (see FIG. 3) for identifying the first algorithm 40 (see FIG. 2) of the learning model used to analyze the cell image 90 (see FIG. 1), and first parameters 30b (see FIG. 3) that are output when the learning model is generated and are learning parameters used when analyzing the cell image 90 using the learning model. In this embodiment, the transition information input receiving unit 21a receives input of encrypted learning model transition information 39 (see FIG. 6).
[0094] In step 202, the transition information input receiving unit 21a (see FIG. 7) decrypts the encrypted learning model transition information 39 to obtain the learning model transition information 30 (see FIG. 1).
[0095] In step 203, the hash value acquisition unit 21b (see FIG. 7) acquires the second hash value 72 (see FIG. 7).
[0096] In step 204, the algorithm consistency determination unit 21c (see FIG. 7) determines whether the first algorithm 40 and the second algorithm 50 are consistent in the estimation results when the first parameter 30b is used, based on the second algorithm 50 (see FIG. 5) stored in the second learning device storage unit 22 (see FIG. 5) and the first algorithm specification information 30a (see FIG. 3) included in the learning model transition information 30. In this embodiment, the second processor 21 determines whether the first algorithm 40 and the second algorithm 50 are consistent by determining whether the first hash value 32 (see FIG. 3) and the second hash value 72 (see FIG. 7) match. If the first algorithm 40 and the second algorithm 50 are consistent, the process proceeds to step 205. If the first algorithm 40 and the second algorithm 50 are not consistent, the process proceeds to step 210.
[0097] In step 205, the hash value acquisition unit 21b (see FIG. 7) acquires the second pre-processing program hash value 73 (see FIG. 7).
[0098] In step 206, the pre-processing program consistency determination unit 21d (see FIG. 7) determines whether the first pre-processing program 41 (see FIG. 2) and the second pre-processing program 51 (see FIG. 5) are consistent with each other. In this embodiment, the pre-processing program consistency determination unit 21d determines whether the first pre-processing program 41 and the second pre-processing program 51 match by determining whether the first pre-processing program hash value 33 (see FIG. 3) and the second pre-processing program hash value 73 (see FIG. 7) match. If the first pre-processing program 41 and the second pre-processing program 51 match, the process proceeds to step 207. If the first pre-processing program 41 and the second pre-processing program 51 do not match, the process proceeds to step 210.
[0099] In step 207, when the first algorithm 40 (see FIG. 2) and the second algorithm 50 (see FIG. 5) are consistent with each other, the learning model parameter setting unit 21f sets the first parameter 30b (see FIG. 3) to be used together with the second algorithm 50. In this embodiment, the learning model parameter setting unit 21f sets the first parameter 30b by storing the second algorithm 50 and the first parameter 30b in association with each other in the second learning device storage unit 22 (see FIG. 5).
[0100] In step 208, the preprocessing parameter setting unit 21g (see FIG. 8) sets the second parameters 30d in the second learning device 20. In the present embodiment, the preprocessing parameter setting unit 21g sets the second parameters 30d by storing the second preprocessing program 51 and the second parameters 30d in association with each other in the second learning device storage unit 22 (see FIG. 5).
[0101] In step 209, the display unit 131 (see FIG. 1) displays a message 91a (see FIG. 11) indicating that the import was successful, and then the process ends.
[0102] If the process proceeds from step 204 or step 206 to step 210, display unit 131 displays message 91b (see FIG. 12) indicating that the import has failed in step 210. Then, the process ends.
[0103] As shown in steps 209 and 210, the display unit 131 (see FIG. 1) notifies whether or not the first algorithm 40 (see FIG. 2) and the second algorithm 50 (see FIG. 5) are consistent with each other. That is, if the first algorithm 40 and the second algorithm 50 are consistent with each other, the display unit 131 displays a message 91a indicating that the import was successful. On the other hand, if the first algorithm 40 and the second algorithm 50 are not consistent with each other, the display unit 131 displays a message 91b indicating that the import failed.
[0104] (Effects of this embodiment) In this embodiment, the following effects can be obtained.
[0105] In this embodiment, as described above, the transfer system 200 of a learning model for analyzing a cell image is a transfer system of a learning model for analyzing a cell image that transfers a learning model used for analyzing a cell image 90 from a first learning device 10 to a second learning device 20, and the second learning device 20 includes a transfer information input receiving unit 21a that receives input of learning model transfer information 30 including first algorithm specifying information 30a for specifying a first algorithm 40 of the learning model used for analyzing the cell image 90 and first parameters 30b that are output when the learning model is generated and are learning parameters when analyzing the cell image 90 using the learning model, and a second learning device 21b that stores a second algorithm 50 of the learning model used for analyzing the cell image 90. The learning device includes a device memory unit 22, second algorithm identification information 70a for identifying the second algorithm 50 stored in the second learning device memory unit 22, an algorithm consistency determination unit 21c for determining whether or not the estimation results are consistent when the first parameter 30b is used in the first algorithm 40 and the second algorithm 50 based on the first algorithm identification information 30a, a display unit 131 for notifying whether or not the first algorithm 40 and the second algorithm 50 are consistent, and a learning model parameter setting unit 21f for setting the first parameter 30b to be used with the second algorithm 50 when the first algorithm 40 and the second algorithm 50 are consistent.
[0106] Thus, since the system includes the algorithm consistency determination unit 21c and the learning model parameter setting unit 21f, it determines whether the first algorithm 40 of the first learning device 10 and the second algorithm 50 of the second learning device 20 are consistent with each other when using the first parameter 30b to analyze the cell image 90. Furthermore, if the first algorithm 40 and the second algorithm 50 are consistent with each other, the first parameter 30b is set in the second learning device 20. Therefore, the first parameter 30b can be set in the second learning device 20 without performing the same learning in the second learning device 20 as in the first learning device 10. As a result, the learning model can be easily migrated. Furthermore, since the system includes the algorithm consistency determination unit 21c and the display unit 131, if the first algorithm 40 and the second algorithm 50 are not consistent with each other, it notifies the user that the first algorithm 40 and the second algorithm 50 are not consistent with each other. Therefore, the user can understand that there is a lack of consistency between the first algorithm 40 of the first learning device 10 at the transfer source and the second algorithm 50 of the second learning device 20 at the transfer destination, and can grasp the reason why the learning model cannot be transferred, thereby improving user convenience.
[0107] Furthermore, in this embodiment, as described above, the method for transferring a learning model for analyzing a cell image is a method for transferring a learning model for analyzing a cell image 90 from a first computer (first learning device 10) to a second computer (second learning device 20), and includes the steps of: receiving input of learning model transfer information 30 by the second computer (second learning device 20), the learning model transfer information 30 including first algorithm identification information 30a for identifying a first algorithm 40 of the learning model used to analyze the cell image 90, and first parameters 30b that are output when the learning model is generated and are learning parameters when analyzing the cell image 90 using the learning model; and receiving input of learning model transfer information 30 by the second computer (second learning device 20), the learning model transfer information 30 including first algorithm identification information 30a for identifying a first algorithm 40 of the learning model used to analyze the cell image 90, and first parameters 30b that are output when the learning model is generated and are learning parameters when analyzing the cell image 90 using the learning model; The method includes a step of determining whether the estimation results are consistent when the first parameter 30b is used in the first algorithm 40 and the second algorithm 50 based on the second algorithm 50 stored in the second learning device memory unit 22 and the first algorithm identification information 30a included in the learning model transition information 30; a step of the second computer (second learning device 20) notifying whether the first algorithm 40 and the second algorithm 50 are consistent; and a step of the second computer (second learning device 20) setting the first parameter 30b to be used with the second algorithm 50 when the first algorithm 40 and the second algorithm 50 are consistent.
[0108] This makes it possible to provide a method for transferring a learning model for cell image analysis that allows for easy transfer of a learning model, similar to the system 200 for transferring a learning model for cell image analysis.
[0109] Furthermore, in the above embodiment, the following additional effects can be obtained by configuring as follows.
[0110] That is, in this embodiment, as described above, the first learning device 10 includes a first learning device storage unit 12 that stores learning model transition information 30, and a transition information output unit 11c that outputs the learning model transition information 30 stored in the first learning device storage unit 12. This makes it possible to easily transfer the learning model transition information 30 from the first learning device 10 to the second learning device 20, for example, by outputting the learning model transition information 30 to a portable storage medium 60 or the like.
[0111] Furthermore, in this embodiment, as described above, the learning model transition information 30 further includes preprocessing program identification information (first preprocessing program identification information 30c) for identifying the first preprocessing program 41, which is a program for preprocessing the cell image 90 when the learning model is learned, the second learning device storage unit 22 is configured to further store the second preprocessing program 51, which is a program for preprocessing the cell image 90, and the second learning device 20 further includes a preprocessing program consistency determination unit 21d that determines whether or not the results of preprocessing the cell image 90 in the first preprocessing program 41 and the second preprocessing program 51 are consistent, based on the first preprocessing program identification information 30c and the second preprocessing program 51 stored in the second learning device storage unit 22. This allows the user to easily determine whether or not the first preprocessing program 41 executed on the first learning device 10 and the second preprocessing program 51 on the second learning device 20 are consistent with each other. As a result, when transferring a learning model from the first learning device 10 to the second learning device 20, the user can easily know whether the second parameter 30d for executing the preprocessing program can be transferred.
[0112] Furthermore, in this embodiment, as described above, the learning model transition information 30 further includes a second parameter 30d corresponding to the first preprocessing program 41, and further includes a preprocessing parameter setting unit 21g that sets the second parameter 30d for the second preprocessing program 51 when the results of preprocessing performed by the first preprocessing program 41 and the second preprocessing program 51 are consistent. This allows the second preprocessing program 51 to execute preprocessing similar to that executed by the first preprocessing program 41 without the user having to set the second parameter 30d. As a result, the burden on the user can be reduced compared to a configuration in which the second parameter 30d is set by the user. Furthermore, even if it is difficult to duplicate the first preprocessing program 41 on the second learning device 20, the preprocessing program transition can be easily performed by previously storing a second preprocessing program 51 similar to the first preprocessing program 41 in the second learning device 20 and setting the second parameter 30d for the second learning device 20.
[0113] Furthermore, in this embodiment, as described above, the learning model transition information 30 further includes at least one of the name 34 of the dataset used to train the learning model, the number 35 of cell images 90 used to train the learning model, the ratio 36 of training data, validation data, and test data in the data used to train the learning model, the size 37 of the cell images 90 used to train the learning model, and the index value 38 at the time of training the learning model. This allows the user to confirm the name 34 of the dataset, the number 35 of cell images 90, the ratio 36 of training data, validation data, and test data, the size 37 of the cell images 90, and the index value 38 on the second learning device 20. As a result, the user can understand on the second learning device 20 how learning was performed on the first learning device 10, thereby improving user convenience.
[0114] Furthermore, in this embodiment, as described above, the first learning device 10 further includes a transition information encryption unit 11b that encrypts the learning model transition information 30 stored in the first learning device storage unit 12, the transition information output unit 11c is configured to output the learning model transition information 39 encrypted by the transition information encryption unit 11b, and the transition information input receiving unit 21a is configured to decrypt the learning model transition information 39 encrypted by the transition information encryption unit 11b. This allows the learning model transition information 30 to be transferred from the first learning device 10 to the second learning device 20 in an encrypted state. As a result, it is possible to prevent the learning model transition information 30 from being leaked, and therefore the learning model transition information 30 can be transferred from the first learning device 10 to the second learning device 20 even if it contains highly confidential information.
[0115] Furthermore, in this embodiment, as described above, when the first algorithm 40 is upgraded, the upgraded first algorithm identification information 30a includes a compatible version of the first algorithm identification information 30a. When the second algorithm 50 is upgraded, the upgraded second algorithm identification information 70a includes a compatible version of the second algorithm identification information 70a. The algorithm consistency determination unit 21c is configured to determine that the first algorithm 40 and the second algorithm 50 are consistent with each other even when the versions of the first algorithm 40 and the second algorithm 50 are different and compatible with each other. This allows the learning model to be transferred from the first learning device 10 to the second learning device 20 when the versions of the first algorithm 40 and the second algorithm 50 are compatible, even when the versions of the first algorithm 40 and the second algorithm 50 do not match. As a result, the degree of freedom in selecting the versions of the first algorithm 40 and the second algorithm 50 can be improved.
[0116] Furthermore, in this embodiment, as described above, the first algorithm specifying information 30a includes first identification information 31 corresponding to the first algorithm 40, the second algorithm specifying information 70a includes second identification information 71 corresponding to the second algorithm 50, and the algorithm consistency determination unit 21c is configured to determine the consistency between the first algorithm 40 and the second algorithm 50 by determining whether the first identification information 31 and the second identification information 71 match. As a result, the consistency between the first algorithm 40 and the second algorithm 50 is determined depending on whether the first identification information 31 and the second identification information 71 match, so that the consistency between the first algorithm 40 and the second algorithm 50 can be easily determined by acquiring the first identification information 31 and the second identification information 71.
[0117] Furthermore, in this embodiment, as described above, the first identification information 31 includes the first hash value 32 generated based on the first algorithm 40, and the second identification information 71 includes the second hash value 72 generated based on the second algorithm 50. The algorithm consistency determination unit 21c is configured to determine whether the first hash value 32 and the second hash value 72 match. Here, the hash value is a unique value acquired based on the content of the algorithm. Therefore, for example, even if the file name of the algorithm is changed, the hash value remains unchanged if the content of the algorithm remains unchanged. Therefore, with the above configuration, unlike a configuration in which the consistency between the first algorithm 40 and the second algorithm 50 is determined based on the file names of the first algorithm 40 and the second algorithm 50, it is possible to determine that the first algorithm 40 and the second algorithm 50 are consistent if the first hash value 32 and the second hash value 72 match, even if the file names are different. As a result, the accuracy of determining the consistency between the first algorithm 40 and the second algorithm 50 can be improved.
[0118] Furthermore, as described above, this embodiment includes a step in which the first computer (first learning device 10) stores the learning model transition information 30 before the second computer (second learning device 20) accepts input of the learning model transition information 30, and a step in which the first computer (first learning device 10) outputs the stored learning model transition information 30 before the second computer (second learning device 20) accepts input of the learning model transition information 30. This makes it possible to easily transfer the learning model transition information 30 from the first computer (first learning device 10) to the second computer (second learning device 20) by outputting the learning model transition information 30 to a portable storage medium 60 or the like.
[0119] [Variations] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims rather than the above description of the embodiments, and further includes all modifications (variations) within the meaning and scope of the claims.
[0120] For example, in the above embodiment, an example was shown in which the first learning device 10 and the second learning device 20 were constructed in a client-server model, but the present invention is not limited to this. In the present invention, for example, as shown in FIG. 15, the first learning device 10 and the second learning device 20 may be configured as independent computers. In the example of FIG. 15, the first learning device 10 is configured by a first computer 300 including a first processor 310 and a first storage unit 320. A display unit 330 and an input unit 340 are connected to the first computer 300. The first computer 300 is communicatively connected to the imaging device 150. The first processor 310 of the first computer 300 includes, as functional blocks, the transition information encryption unit 11b and the transition information output unit 11c shown in the above embodiment (see FIG. 6).
[0121] 15, the second learning device 20 is configured by a second computer 400 including a second processor 410 and a second storage unit 420. A display unit 430 and an input unit 440 are connected to the second computer 400. The second computer 400 is communicatively connected to an imaging device 151. The second processor 410 of the second computer 400 includes, as functional blocks, the transition information input receiving unit 21a, the hash value acquisition unit 21b, the algorithm consistency determination unit 21c, the preprocessing program consistency determination unit 21d, the notification content acquisition unit 21e, the learning model parameter setting unit 21f, and the preprocessing parameter setting unit 21g shown in the above embodiment (see FIGS. 7 and 8).
[0122] Furthermore, in the above embodiment and the modified example shown in FIG. 15, an example was shown in which a single first processor 11 (310) executes the processes of the transition information generation unit 11a, the transition information encryption unit 11b, and the transition information output unit 11c, but the present invention is not limited to this. The processes of exporting the learning model transition information 30 may be shared and executed by multiple processors. Each process may be executed by a separate processor. The multiple processors may be provided in separate computers. In other words, the first learning device 10 may be configured by multiple computers.
[0123] Furthermore, in the above embodiment and the modified example shown in FIG. 15, an example was shown in which a single second processor 21 (410) executes each of the processes of the transition information input receiving unit 21a, the hash value acquiring unit 21b, the algorithm consistency determining unit 21c, the preprocessing program consistency determining unit 21d, the notification content acquiring unit 21e, the learning model parameter setting unit 21f, and the preprocessing parameter setting unit 21g, but the present invention is not limited to this. Each process of importing the learning model transition information 30 may be shared and executed by multiple processors. Each process may be executed by a separate processor. The multiple processors may be provided in separate computers. In other words, the second learning device 20 may be configured by multiple computers.
[0124] Furthermore, in the above embodiment, an example of a configuration in which the first learning device 10 performs the export process of the learning model transition information 30 and the second learning device 20 performs the import process of the learning model transition information 30 has been described, but the present invention is not limited to this. For example, both the first learning device 10 and the second learning device 20 may be configured to perform the export process and the import process of the learning model transition information 30. That is, each of the first learning device 10 (first processor 11) and the second learning device 20 (second processor 21) may include a transition information generation unit 11a, a transition information encryption unit 11b, a transition information output unit 11c, a transition information input reception unit 21a, a hash value acquisition unit 21b, an algorithm consistency determination unit 21c, a preprocessing program consistency determination unit 21d, a notification content acquisition unit 21e, a learning model parameter setting unit 21f, and a preprocessing parameter setting unit 21g.
[0125] Furthermore, in the above embodiment, an example of a configuration has been shown in which the algorithm compatibility determination unit 21c determines the compatibility between the first algorithm 40 and the second algorithm 50 based on whether the first hash value 32 and the second hash value 72 match, but the present invention is not limited to this. For example, the algorithm compatibility determination unit 21c may be configured to determine the compatibility between the first algorithm 40 and the second algorithm 50 based on the file name of the first algorithm 40 and the file name of the second algorithm 50.
[0126] Furthermore, in the above embodiment, an example of a configuration in which the second learning device 20 includes the preprocessing program consistency determination unit 21d has been described, but the present invention is not limited to this. For example, the second learning device 20 does not have to include the preprocessing program consistency determination unit 21d. However, if the second learning device 20 does not include the preprocessing program consistency determination unit 21d, the user will need to check the consistency between the first preprocessing program 41 and the second preprocessing program 51, which increases the burden on the user. Therefore, it is preferable that the second learning device 20 include the preprocessing program consistency determination unit 21d.
[0127] Furthermore, in the above embodiment, an example of a configuration in which the second learning device 20 includes the preprocessing parameter setting unit 21g has been described, but the present invention is not limited to this. For example, the second learning device 20 does not have to include the preprocessing parameter setting unit 21g. However, if the second learning device 20 does not include the preprocessing parameter setting unit 21g, the user will need to set the second parameter 30d, which increases the burden on the user. Therefore, it is preferable that the second learning device 20 include the preprocessing parameter setting unit 21g.
[0128] In addition, in the above embodiment, an example was shown in which the learning model transition information 30 includes the accompanying information 30e, but the present invention is not limited to this. For example, the learning model transition information 30 does not have to include the accompanying information 30e.
[0129] In addition, in the above embodiment, an example of a configuration in which the first learning device 10 includes the transition information encryption unit 11b has been described, but the present invention is not limited to this. For example, the first learning device 10 does not have to include the transition information encryption unit 11b. However, if the first learning device 10 does not include the transition information encryption unit 11b, there is a possibility that the learning model transition information 30 will be leaked. Therefore, it is preferable that the first learning device 10 includes the transition information encryption unit 11b.
[0130] Furthermore, in the above embodiment, an example of a configuration was described in which the algorithm consistency determination unit 21c determines that the first algorithm 40 and the second algorithm 50 are consistent with each other if they are compatible even when the versions of the first algorithm 40 and the second algorithm 50 are different. However, the present invention is not limited to this. For example, the algorithm consistency determination unit 21c may be configured to determine that the first algorithm 40 and the second algorithm 50 are inconsistent if the versions of the first algorithm 40 and the second algorithm 50 are different. However, if the algorithm consistency determination unit 21c is configured to determine that the first algorithm 40 and the second algorithm 50 are inconsistent if the versions of the first algorithm 40 and the second algorithm 50 are different, it will be impossible to migrate the first algorithm 40 and the second algorithm 50, which are compatible with each other but have different versions. Therefore, it is preferable that the algorithm consistency determination unit 21c be configured to determine that the first algorithm 40 and the second algorithm 50 are consistent with each other if they are compatible with each other even when the versions of the first algorithm 40 and the second algorithm 50 are different.
[0131] Furthermore, in the above embodiment, an example of a configuration was shown in which the cell image analysis learning model transfer system 200 is configured to transfer a learning model that analyzes cell images 90 from the first learning device 10 to the second learning device 20, but the present invention is not limited to this. For example, the present invention can also be applied to a case in which a learning model that has learned to analyze measurement data obtained by a liquid chromatograph or the like is transferred from the first learning device 10 to the second learning device 20.
[0132] [Aspect] It will be appreciated by those skilled in the art that the exemplary embodiments described above are examples of the following aspects.
[0133] (Item 1) A system for transferring a learning model for analyzing a cell image, which transfers a learning model used for analyzing a cell image from a first learning device to a second learning device, The second learning device a transition information input receiving unit that receives input of learning model transition information including first algorithm identification information for identifying a first algorithm of the learning model used to analyze the cell image and first parameters that are output when the learning model is generated and are learning parameters when the cell image is analyzed by the learning model; a second learning device storage unit that stores a second algorithm of the learning model used to analyze the cell image; an algorithm consistency determination unit that determines whether or not there is consistency between the estimation results when the first parameter is used in the first algorithm and the second algorithm, based on second algorithm identification information for identifying the second algorithm stored in the second learning device storage unit and the first algorithm identification information; a notification unit that notifies whether the first algorithm and the second algorithm are consistent with each other; A transition system for a learning model for cell image analysis, comprising: a learning model parameter setting unit that sets the first parameters to be used together with the second algorithm when the consistency between the first algorithm and the second algorithm is achieved.
[0134] (Item 2) The first learning device a first learning device storage unit that stores the learning model transition information; Item 1. A system for transitioning a learning model for cell image analysis according to item 1, comprising: a transition information output unit that outputs the learning model transition information stored in the first learning device memory unit.
[0135] (Item 3) The learning model transition information further includes preprocessing program identification information for identifying a first preprocessing program, which is a program for preprocessing the cell image when the learning model is learned, the second learning device storage unit is configured to further store a second preprocessing program which is a program for preprocessing the cell image; Item 3. The system for transitioning a learning model for cell image analysis described in Item 2, wherein the second learning device further includes a preprocessing program consistency determination unit that determines whether or not the results of preprocessing performed on the cell image in the first preprocessing program and the second preprocessing program are consistent based on the preprocessing program identification information and the second preprocessing program stored in the second learning device storage unit.
[0136] (Item 4) The learning model transition information further includes a second parameter corresponding to the first preprocessing program; Item 4. The system for migrating a learning model for cell image analysis according to Item 3, further comprising a preprocessing parameter setting unit that sets the second parameters for the second preprocessing program when the results of the preprocessing performed by the first preprocessing program and the second preprocessing program are consistent.
[0137] (Item 5) 5. The system for migrating a learning model for cell image analysis according to any one of items 2 to 4, wherein the learning model migration information further includes at least any of the following: the name of the dataset used to train the learning model; the number of the cell images used to train the learning model; the ratio of training data, validation data, and test data in the data used to train the learning model; the size of the cell images used to train the learning model; and an index value at the time of training the learning model.
[0138] (Item 6) The first learning device further includes a transition information encryption unit that encrypts the learning model transition information stored in the first learning device storage unit, The transition information output unit is configured to output the learning model transition information encrypted by the transition information encryption unit, A system for transitioning a learning model for cell image analysis according to any one of items 2 to 4, wherein the transition information input receiving unit is configured to decrypt the learning model transition information encrypted by the transition information encryption unit.
[0139] (Item 7) When the first algorithm is upgraded, the first algorithm specifying information after the upgrade includes the first algorithm specifying information of a compatible version, When the second algorithm is upgraded, the second algorithm specifying information after the upgrade includes the second algorithm specifying information of a compatible version, 6. The system for migrating a learning model for cell image analysis according to any one of items 1 to 5, wherein the algorithm consistency determination unit is configured to determine that the first algorithm and the second algorithm are consistent when they are compatible with each other even when the versions of the first algorithm and the second algorithm are different.
[0140] (Item 8) the first algorithm specifying information includes first identification information corresponding to the first algorithm, the second algorithm specifying information includes second identification information corresponding to the second algorithm, 7. The system for transferring a learning model for cell image analysis according to any one of items 1 to 6, wherein the algorithm consistency determination unit is configured to determine the consistency between the first algorithm and the second algorithm by determining whether the first identification information and the second identification information match.
[0141] (Item 9) the first identification information includes a first hash value generated based on the first algorithm; the second identification information includes a second hash value generated based on the second algorithm; Item 9. The system for migrating a learning model for cell image analysis according to Item 8, wherein the algorithm consistency determination unit is configured to determine whether the first hash value and the second hash value match.
[0142] (Item 10) A method for transferring a learning model for analyzing a cell image, which transfers a learning model used in analyzing a cell image from a first computer to a second computer, comprising: a step in which the second computer receives input of learning model transition information including first algorithm identification information for identifying a first algorithm of the learning model used to analyze the cell image, and first parameters that are output when the learning model is generated and are learning parameters when the cell image is analyzed by the learning model; The second computer determines whether or not there is consistency between the estimation results when the first parameter is used in the first algorithm and the second algorithm, based on the second algorithm stored in a storage unit and the first algorithm identification information included in the learning model transition information; a step of notifying, by the second computer, whether or not the consistency between the first algorithm and the second algorithm is achieved; A method for migrating a learning model for cell image analysis, comprising a step in which the second computer sets the first parameters to be used with the second algorithm when the consistency between the first algorithm and the second algorithm is achieved.
[0143] (Item 11) The first computer generates and stores the learning model transition information before the second computer receives the input of the learning model transition information; Item 11. The method for migrating a learning model for cell image analysis according to Item 10, further comprising a step in which the first computer outputs the stored learning model transition information before the second computer accepts input of the learning model transition information. [Explanation of symbols]
[0144] 10, 300 First learning device (first computer) 11a Transfer information encryption section 11b Transition information output unit 11c 12 First learning device memory unit 20,400 Second learning device (second computer) 21a Migration information input reception section 21c Algorithm Consistency Verification Unit 21d Preprocessing program consistency check unit 21f Learning model parameter setting section 21g Pre-processing parameter setting section 22 Second learning device memory unit 30 Learning Model Transition Information 30a First Algorithm Identification 30b First parameter 30c First preprocessing program specific information (preprocessing program specific information) 30d Second parameter 31 First Identification Information 32 First hash value 34 Dataset Name 35 Cell images 36 Proportion of training data, validation data, and test data 37 Cell Image Size 38 Index Values 39 Encrypted learning model migration information 40 First Algorithm 41 First Preprocessing Program 50 Second Algorithm 51 Second preprocessing program 70a Second Algorithm Specific Information 71 Secondary Identification Information 72 Second hash value 90 Cell Images 200 Learning Model Transfer System for Cell Image Analysis
Claims
1. A cell image analysis learning model transfer system that transfers a learning model used in analyzing a cell image from a first learning device to a second learning device, The second learning device a transition information input receiving unit that receives input of learning model transition information including first algorithm identification information for identifying a first algorithm of the learning model used to analyze the cell image and first parameters that are output when the learning model is generated and are learning parameters when the cell image is analyzed by the learning model; a second learning device storage unit that stores a second algorithm of the learning model used to analyze the cell image; an algorithm consistency determination unit that determines whether second algorithm identification information for identifying the second algorithm stored in the second learning device storage unit matches the first algorithm identification information, thereby determining whether the estimation results are consistent between the first algorithm and the second algorithm when the first parameters are used; a notification unit that notifies whether the first algorithm and the second algorithm are consistent with each other; A transition system for a learning model for cell image analysis, comprising: a learning model parameter setting unit that sets the first parameters to be used together with the second algorithm when the consistency between the first algorithm and the second algorithm is achieved.
2. The first learning device a first learning device storage unit that stores the learning model transition information; The system for transitioning a learning model for cell image analysis according to claim 1 , further comprising: a transition information output unit that outputs the learning model transition information stored in the first learning device memory unit.
3. The learning model transition information further includes preprocessing program identification information for identifying a first preprocessing program, which is a program for preprocessing the cell image when the learning model is learned, the second learning device storage unit is configured to further store a second preprocessing program which is a program for preprocessing the cell image, The system for transitioning learning models for cell image analysis described in claim 2, wherein the second learning device further includes a preprocessing program consistency determination unit that determines whether the results of preprocessing performed on the cell images in the first preprocessing program and the second preprocessing program are consistent by determining whether the preprocessing program identification information matches second preprocessing program identification information for identifying the second preprocessing program stored in the second learning device storage unit.
4. The learning model transition information further includes a second parameter corresponding to the first preprocessing program, 4. The system for transitioning learning models for cell image analysis described in claim 3, further comprising a preprocessing parameter setting unit that sets the second parameters for the second preprocessing program when the results of the preprocessing performed by the first preprocessing program and the second preprocessing program are consistent.
5. The system for transitioning a learning model for cell image analysis according to any one of claims 2 to 4, wherein the learning model transition information further includes at least any of the following: the name of the dataset used to train the learning model; the number of the cell images used to train the learning model; the ratio of training data, validation data, and test data in the data used to train the learning model; the size of the cell images used to train the learning model; and an index value at the time of training the learning model.
6. The first learning device further includes a transition information encryption unit that encrypts the learning model transition information stored in the first learning device storage unit, The transition information output unit is configured to output the learning model transition information encrypted by the transition information encryption unit, The transition system for a learning model for cell image analysis described in any one of claims 2 to 4, wherein the transition information input receiving unit is configured to decrypt the learning model transition information encrypted by the transition information encryption unit.
7. When the first algorithm is upgraded, the first algorithm specification information after the upgrade includes the first algorithm specification information of a compatible version, When the second algorithm is upgraded, the second algorithm specifying information after the upgrade includes the second algorithm specifying information of a compatible version, The system for migrating a learning model for cell image analysis according to any one of claims 1 to 5, wherein the algorithm consistency determination unit is configured to determine that the first algorithm and the second algorithm are consistent when they are compatible with each other even if the versions of the first algorithm and the second algorithm are different.
8. the first algorithm specifying information includes first identification information corresponding to the first algorithm, the second algorithm specifying information includes second identification information corresponding to the second algorithm, The system for transitioning a learning model for cell image analysis according to any one of claims 1 to 6, wherein the algorithm consistency determination unit is configured to determine the consistency between the first algorithm and the second algorithm by determining whether the first identification information and the second identification information match.
9. the first identification information includes a first hash value generated based on the first algorithm; the second identification information includes a second hash value generated based on the second algorithm; The system for transferring a learning model for cell image analysis according to claim 8 , wherein the algorithm consistency determination unit is configured to determine whether the first hash value and the second hash value match.
10. A method for transferring a learning model for analyzing a cell image, which transfers a learning model used in analyzing a cell image from a first computer to a second computer, comprising: a step in which the second computer receives input of learning model transition information including first algorithm identification information for identifying a first algorithm of the learning model used to analyze the cell image, and first parameters that are output when the learning model is generated and are learning parameters when the cell image is analyzed by the learning model; a step in which the second computer determines whether second algorithm identification information for identifying a second algorithm stored in a storage unit matches the first algorithm identification information included in the learning model transition information, thereby determining whether the estimation results when the first parameters are used are consistent between the first algorithm and the second algorithm; a step of notifying, by the second computer, whether or not the consistency between the first algorithm and the second algorithm is achieved; A method for migrating a learning model for cell image analysis, comprising a step in which the second computer sets the first parameters to be used with the second algorithm when the consistency between the first algorithm and the second algorithm is achieved.
11. The first computer generates and stores the learning model transition information before the second computer receives the input of the learning model transition information; The method for transitioning a learning model for cell image analysis according to claim 10, further comprising a step in which the first computer outputs the stored learning model transition information before the second computer accepts input of the learning model transition information.
Citation Information
Patent Citations
Device, secure element, program, information processing system, and information processing method
JP2019101807A
Cell image analysis method and cell analysis device
JP2021064115A
Determination apparatus, determination method, determination program, learning apparatus, learning method, and learning program
JP2021092831A