WO2023038074A1 - 細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法 - Google Patents

細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法 Download PDF

Info

Publication number
WO2023038074A1
WO2023038074A1 PCT/JP2022/033650 JP2022033650W WO2023038074A1 WO 2023038074 A1 WO2023038074 A1 WO 2023038074A1 JP 2022033650 W JP2022033650 W JP 2022033650W WO 2023038074 A1 WO2023038074 A1 WO 2023038074A1
Authority
WO
WIPO (PCT)
Prior art keywords
learning
unit
memory
condition
capacity
Prior art date
Application number
PCT/JP2022/033650
Other languages
English (en)
French (fr)
Inventor
啓晃 津島
周平 山本
剛士 大野
隆二 澤田
Original Assignee
株式会社島津製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社島津製作所 filed Critical 株式会社島津製作所
Priority to CN202280055603.4A priority Critical patent/CN117859118A/zh
Priority to JP2023546977A priority patent/JPWO2023038074A1/ja
Publication of WO2023038074A1 publication Critical patent/WO2023038074A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • the present invention relates to a memory capacity determination system during cell image learning and a memory capacity determination method during cell image learning.
  • a learned model is generated by performing machine learning using learning 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.
  • a configuration is disclosed.
  • machine learning is performed using a processor such as a GPU (Graphics Processing Unit) and a memory that serves as a work area during learning. If machine learning finishes successfully, a trained model is generated. On the other hand, when machine learning ends abnormally, the data used for learning, learning conditions, etc. are changed, and machine learning is performed again.
  • One of the causes of abnormal termination of machine learning is considered to be insufficient memory capacity during learning.
  • the user cannot recognize that machine learning has not been completed due to insufficient memory capacity. Therefore, there is a demand for a technology that allows a user to recognize that machine learning has not been completed due to insufficient memory capacity.
  • the present invention has been made to solve the problems described above, and one object of the present invention is to provide a method for a user to detect that machine learning has not been completed due to insufficient memory capacity. It is an object of the present invention to provide a memory capacity determination system during learning of cell images that can be grasped and a memory capacity determination method during cell image learning.
  • a memory capacity determination system during cell image learning in a first aspect of the present invention uses cell images a preset number of times to learn a learning model under a first learning condition. and a learning processing unit including a memory used as a work area for learning processing of the learning model, a learning mode for learning the learning model by performing learning processing by the learning processing unit, and learning by the learning processing unit A selection unit that selects a verification mode for verifying whether or not memory capacity is insufficient when performing processing; A determination unit and a notification unit that performs notification based on the determination result of the determination unit are provided.
  • a memory capacity determination method during cell image learning includes the steps of: performing learning of a learning model under a first learning condition using cell images a preset number of times; By performing the learning process, a learning mode for learning the learning model and a verification mode for verifying whether or not the memory capacity used for the work area when performing the learning process for the learning model is insufficient are selected. a step of determining whether or not the memory capacity is insufficient in the learning process of the learning model; and a step of notifying the determination result of whether or not the memory capacity is insufficient.
  • the verification mode for verifying whether or not the memory capacity is insufficient it is determined whether or not the memory capacity is insufficient.
  • the memory capacity secured as the work area is the same in both the learning mode and the verification mode. Therefore, by performing verification in the verification mode, it is possible to determine whether or not the memory capacity is insufficient in the learning mode. In addition, the determination result as to whether or not the memory capacity is insufficient is notified. Therefore, by performing verification in the verification mode before learning the learning model in the learning mode, the user can grasp whether or not the memory capacity is insufficient before performing the learning process in the learning mode. .
  • the user can understand that the machine learning was not completed due to insufficient memory capacity.
  • the learning model can be trained in the learning mode without performing the learning process in the verification mode. can be done. As a result, user convenience can be improved.
  • FIG. 1 is a block diagram showing a memory capacity determination system provided with an image processing device according to this embodiment
  • FIG. FIG. 4 is a schematic diagram for explaining work areas and memory capacities during learning
  • FIG. 4 is a functional block diagram for explaining functions of a second processor of the image processing apparatus
  • FIG. 10 is a diagram showing an example of a screen when the memory capacity is not insufficient when performing learning processing in verification mode in the image processing apparatus according to the present embodiment
  • FIG. 10 is a diagram showing an example of a screen when the memory capacity is not insufficient in the learning process in the verification mode
  • FIG. 10 is a diagram showing an example of a screen when memory capacity is insufficient when performing learning processing in verification mode in the image processing apparatus according to the present embodiment
  • FIG. 10 is a diagram showing an example of a screen when memory capacity is insufficient in learning processing in verification mode; 5 is a flowchart for explaining memory capacity verification processing in the image processing apparatus according to the present embodiment; 4 is a flow chart for explaining the process of optimizing the first learning condition while changing the batch size in the image processing apparatus according to the present embodiment; FIG. 11 is a block diagram showing a memory capacity determination system including an image processing device according to a modification;
  • FIGS. 1 to 7 With reference to FIGS. 1 to 7, the configuration of a memory capacity determination system 200 at the time of learning cell images 80 equipped with the image processing apparatus 100 according to the present embodiment and the memory capacity determination method at the time of learning of cell images 80 will be described. .
  • ⁇ Image processing system> The memory capacity determination system 200 at the time of learning the cell images 80 shown in FIG. A memory capacity determination system during learning capable of determining whether or not the capacity is insufficient.
  • a memory capacity determination system 200 for learning cell images 80 includes an image processing device 100 , a computer 120 , and an imaging device 130 .
  • FIG. 1 shows an example of a memory capacity determination system 200 constructed in a client-server model.
  • Computer 120 functions as a client terminal in memory capacity determination system 200 .
  • the image processing apparatus 100 functions as a server in the memory capacity determination system 200.
  • FIG. The image processing device 100, the computer 120, and the imaging device 130 are connected via a network 140 so as to be able to communicate with each other.
  • the image processing apparatus 100 performs various types of information processing in response to requests (processing requests) from a computer 120 operated by a user.
  • the image processing device 100 learns the learning model 21 for analyzing the cell image 80 in response to a request.
  • the image processing apparatus 100 causes the learning model 21 to learn to classify cells appearing in the cell image 80 .
  • the image processing device 100 classifies the learning model 21 as to whether or not the cells reflected in the cell image 80 are normal cells, and whether or not the cells reflected in the cell image 80 are aged. to learn
  • the image processing device 100 determines whether or not the memory 10b runs short when learning the learning model 21 for analyzing the cell image 80 in response to a request. Further, the image processing apparatus 100 transmits to the computer 120 the notification content 30 according to the determination result as to whether or not the memory 10b is insufficient. Acceptance of operations on the image processing apparatus 100, and display of analysis results and post-analysis images analyzed by the image processing apparatus 100 are performed on a GUI (graphical user interface) displayed on the display unit 121 of the computer 120. .
  • GUI graphical user interface
  • the network 140 connects the image processing device 100, the computer 120, and the imaging device 130 so that they can communicate with each other.
  • the network 140 can be, for example, a LAN (Local Area Network) constructed within a facility.
  • Network 140 may be, for example, the Internet.
  • the memory capacity determination system 200 during learning of the cell images 80 can be a system constructed in the form of cloud computing.
  • the computer 120 is a so-called personal computer and includes a processor and a storage unit.
  • a display unit 121 and an input unit 122 are connected to the computer 120 .
  • Display unit 121 is, for example, a liquid crystal display device.
  • the display unit 121 may be an electroluminescence display device, a projector, or a head-mounted display.
  • Input unit 122 is an input device including, for example, a mouse and a keyboard.
  • the input unit 122 may be a touch panel.
  • One or a plurality of computers 120 are provided in the memory capacity determination system 200 during learning of the cell images 80 .
  • the display unit 121 is configured to perform notification based on a first determination result 32 by a determination unit 12d (see FIG. 3), which will be described later.
  • the display unit 121 also displays a selection unit 45, which will be described later.
  • the display unit 121 is an example of the “notification unit” in the scope of claims.
  • the imaging device 130 generates a cell image 80 that captures cells. Imaging device 130 can transmit generated cell image 80 to computer 120 and/or image processing device 100 via network 140 .
  • the imaging device 130 captures microscopic images of cells.
  • the imaging device 130 performs imaging by imaging methods such as a bright field observation method, a dark field observation method, a phase contrast observation method, and a differential interference observation method. Depending on the imaging method, one or more types of imaging devices 130 are used.
  • One or a plurality of imaging devices 130 may be provided in the memory capacity determination system 200 during learning of the cell images 80 .
  • the image processing device 100 includes a learning processing unit 10, an estimating unit 11, a second processor 12, and a storage unit 13.
  • the learning processing unit 10 includes a first processor 10a and a memory 10b.
  • the first processor 10a is configured to perform learning of the learning model 21 according to the first learning condition 22 using the cell image 80 for a preset number of times.
  • the first processor 10a includes, for example, a GPU or an FPGA (Field-Programmable Gate Array) configured for image processing. In this embodiment, an example in which the first processor 10a is a GPU will be described.
  • the memory 10b is used as a work area for the learning process of the learning model 21.
  • the memory 10b includes, for example, RAM (Random Access Memory).
  • the estimation unit 11 is configured to perform estimation processing of the cell image 80 using the learned model 25 .
  • the estimation unit 11 includes, for example, a GPU or an FPGA configured for image processing.
  • the second processor 12 includes a CPU (Central Processing Unit), FPGA, ASIC (Application Specific Integrated Circuit), and the like. Arithmetic processing as the image processing apparatus 100 is performed by the second processor 12 executing a predetermined program 20 .
  • CPU Central Processing Unit
  • FPGA Field Programmable Gate array
  • ASIC Application Specific Integrated Circuit
  • the storage unit 13 includes a nonvolatile storage device. Non-volatile storage devices are, for example, hard disk drives, solid state drives, and the like. Various programs 20 executed by the second processor 12 are stored in the storage unit 13 .
  • the storage unit 13 also stores an epoch number 23, which is the number of times the learning processing unit 10 repeats the learning process in the learning mode.
  • the storage unit 13 also stores a second learning condition 24 that is a learning condition when learning processing in the verification mode was performed in the past, and a second determination result 33 for the second learning condition 24 .
  • the storage unit 13 stores notification content 30 .
  • the storage unit 13 also stores a cell image 80 .
  • the selection unit 45 selects a learning mode for learning the learning model 21 and whether or not the capacity of the memory 10b is insufficient when performing the learning processing by the learning processing unit 10 by performing the learning processing by the learning processing unit 10. It is configured to select a verification mode in which verification is performed. Note that the selection unit 45 is a push button on the GUI displayed on the display unit 121 . Details of the selection unit 45 will be described later.
  • the image processing device 100 is configured to learn the learning model 21 using the cell images 80 stored in the storage unit 13 in response to a request from the computer 120 . Specifically, the learning processing unit 10 included in the image processing device 100 learns the learning model 21 .
  • the image processing device 100 learns the learning model 21 by performing learning processing in the learning mode in response to a request from the user. Specifically, in the learning mode, the learning processing unit 10 repeats the learning process based on the first learning condition 22 for a preset number of times (23 epochs). Learning processing in the learning mode is performed by the learning processing unit 10 .
  • the memory 10b when the learning processing unit 10 performs the learning processing of the learning model 21, the memory 10b is used as the work area 50.
  • the memory 10b includes a usable capacity 51 and an unusable capacity 52 that is used by other programs and cannot be used for learning processing. If the capacity secured as the work area 50 when the learning processing unit 10 learns the learning model 21 is larger than the usable capacity 51, the capacity shortage (out of memory) of the memory 10b occurs, and the learning model 21 learning ends abnormally.
  • the image processing apparatus 100 performs learning processing in a verification mode for determining whether or not the capacity of the memory 10b is insufficient when learning the learning model 21.
  • FIG. In the verification mode the learning process is performed a smaller number of times than the learning process in the learning mode. Specifically, one learning process is executed in the verification mode. Also, the image processing apparatus 100 acquires the notification content 30 (see FIG. 1) based on the determination result of whether or not the capacity of the memory 10b is insufficient. Also, the image processing apparatus 100 transmits the acquired notification content 30 to the computer 120 (see FIG. 1). The computer 120 that has received the notification content 30 displays the notification content 30 on the display unit 121 (see FIG. 1). Note that the learning process in the learning model 21 and the learning process in the verification mode are not performed in parallel. That is, the image processing apparatus 100 executes either learning processing in the learning mode or learning processing in the verification mode.
  • the second processor 12 includes, as functional blocks, a learning condition registering unit 12a, a learning condition changing unit 12b, an image size increasing unit 12c, a determining unit 12d, and a notification content acquiring unit 12e. .
  • the second processor 12 performs the learning condition registration unit 12a, the learning condition change unit 12b, the image size increase unit 12c, the determination unit 12d, and the notification content acquisition unit. 12e.
  • the learning condition registration unit 12a is configured to register the first learning condition 22. Note that registering the first learning condition 22 means that the learning condition registration unit 12 a acquires the first learning condition 22 input by the operator through the input unit 122 and stores the acquired first learning condition 22 in the storage unit 13 . means to Also, the learning condition registration unit 12 a outputs the first learning condition 22 to the learning processing unit 10 . Also, the learning condition registration unit 12a outputs the first learning condition 22 to the determination unit 12d.
  • the first learning condition 22 includes the type 22a of the learning model 21 (see FIG. 1), the batch size 22c of the cell images 80 used for learning the learning model 21 (see FIG. 1), and the size 22b of the cell image 80 (see FIG. 1 ) and the number 22d of discriminative classes to be learned by the learning model 21 (see FIG. 1).
  • the batch size 22 c means the number of cell images 80 used for learning the learning model 21 .
  • the type 22a of the learning model 21 means the classification of the algorithm of the learning model 21.
  • the number 22d of identification classes is the number of classes to be classified in the cell image 80.
  • the batch size 22c of the cell images 80 is an example of "the number of cell images" in the claims.
  • the learning condition changing unit 12b is configured to change the content of the first learning condition 22.
  • the learning condition changing unit 12b is configured to change the batch size 22c of the cell images 80 in the first learning condition 22.
  • FIG. The learning condition changing unit 12 b outputs the changed first learning condition 222 to the learning processing unit 10 .
  • the learning condition changing unit 12 b stores the changed first learning condition 222 in the storage unit 13 .
  • the learning condition changing unit 12b also outputs the changed first learning condition 222 to the determining unit 12d. Note that the change of the content of the first learning condition 22 by the learning condition changing unit 12b is executed when the first learning condition 22 is optimized, which will be described later. That is, when performing the first learning process in the verification mode, the content of the first learning condition 22 is not changed by the learning condition changing unit 12b.
  • the capacity to be secured as the work area 50 is increased. It is configured to perform the process of increasing the size 22b of 80.
  • the image size increasing unit 12c is configured, for example, to increase the size of the cell image 80 by 1.1 to 1.2 times.
  • the image size increasing unit 12 c outputs the cell image 80 a with the increased size to the learning processing unit 10 . Note that the process of increasing the size of the cell image 80 by the image size increasing unit 12c is performed only in the verification mode. That is, the process of increasing the size of the cell image 80 by the image size increasing section 12c is not performed in the learning mode.
  • the learning processing unit 10 verifies using the first learning condition 22 input from the learning condition registration unit 12a, the cell image 80a with the increased size input from the image size increasing unit 12c, and the learning model 21. Perform learning processing in the mode. That is, the learning processing unit 10 is configured to perform learning processing in the verification mode using the cell image 80a whose size has been increased by the image size increasing unit 12c. Note that, in the present embodiment, the learning processing unit 10 is configured to execute the learning process a smaller number of times in the verification mode than in the learning mode. Specifically, the learning processing unit 10 is configured to perform one learning process in the verification mode.
  • the learning processing unit 10 outputs information 31 indicating the end of the learning process when the learning process in the verification mode is performed to the determination unit 12d.
  • the learning processing end information 31 is status information when the learning processing in the verification mode ends. Specifically, when the learning process in the verification mode ends normally, the learning processing unit 10 sends the information of the status that the learning process in the verification mode has ended normally as the learning process end information 31 to the determination unit 12d. Output for Further, when the learning processing in the verification mode ends abnormally, the learning processing unit 10 sends the learning processing end information 31 indicating the abnormal termination status of the learning processing in the verification mode to the determination unit 12d. Output for Further, when the learning process in the verification mode ends abnormally, the learning processing unit 10 outputs log information of the abnormal end to the determination unit 12d.
  • the determination unit 12d is configured to determine whether or not the capacity of the memory 10b is insufficient in the learning process of the learning model 21 in the verification mode. Specifically, the determination unit 12d determines whether or not the capacity of the memory 10b is insufficient based on the information 31 indicating the end of the learning process input from the learning processing unit 10. FIG. That is, when information indicating the status that the learning process in the verification mode has been normally completed is input as the learning process end information 31, the determination unit 12d determines that the capacity of the memory 10b is sufficient.
  • the determination unit 12d determines whether or not the capacity of the memory 10b is insufficient based on whether or not information indicating that the capacity of the memory 10b is insufficient is included in the abnormal termination log information. judge.
  • the determination unit 12d outputs a first determination result 32, which is a determination result as to whether or not the capacity of the memory 10b is insufficient, to the notification content acquisition unit 12e.
  • the first determination result 32 includes status information indicating that the learning process in the verification mode has normally ended without an out-of-memory condition, and status information indicating that an out-of-memory condition has occurred and the learning processing in the verification mode has ended abnormally. information. Further, the determination of whether or not the capacity of the memory 10b is insufficient by the determination unit 12d is performed only in the verification mode, and not performed in the learning mode.
  • the notification content acquisition unit 12 e is configured to acquire the notification content 30 stored in the storage unit 13 based on the first determination result 32 .
  • the notification content 30 includes a message 30a (see FIG. 5) that the out-of-memory verification is successful and a message 30b (see FIG. 7) that the out-of-memory verification is unsuccessful.
  • the notification content acquisition unit 12e acquires, as the notification content 30, a message 30a to the effect that the verification of the out-of-memory is successful when the out-of-memory has not occurred. Further, when an out-of-memory occurs, the notification content acquisition unit 12e acquires, as the notification content 30, a message 30b to the effect that verification of the out-of-memory has failed.
  • the notification content acquisition unit 12 e outputs the notification content 30 to the display unit 121 .
  • the notification content acquisition unit 12e acquires, as the notification content 30, a message indicating whether the learning of the learning model 21 ended normally or abnormally. That is, in the learning mode, the notification content acquisition unit 12e does not acquire the notification content 30 indicating whether out of memory has occurred.
  • the display unit 121 notifies whether or not the capacity of the memory 10b is insufficient when performing the learning process in the verification mode based on the input notification content 30.
  • the display unit 121 is configured to display the notification content 30 input from the notification content acquisition unit 12e.
  • the determination unit 12d is configured to determine whether or not the storage unit 13 stores a second learning condition 24 that is the same as the first learning condition 22 .
  • the learning processing unit 10 is configured not to execute the learning process of the first learning condition 22 in the verification mode when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. It is The second learning condition 24 is the first learning condition 22 verified in the past.
  • the second learning condition 24 includes the type of learning model 21, the type of cell image 80, the batch size, and the number of identification classes. Also, that the first learning condition 22 and the second learning condition 24 are equal means that the type of learning model 21, the type of cell image 80, the batch size, and the number of identification classes are all equal.
  • the notification content acquisition unit 12e acquires the second determination result 33 based on the second learning condition 24. Further, the notification content acquisition unit 12 e acquires the notification content 30 based on the second determination result 33 and outputs the acquired notification content 30 to the display unit 121 .
  • the second determination result 33 includes the same content as the first determination result 32 . That is, the notification content acquisition unit 12e acquires the notification content 30 based on the first determination result 32 when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. With a similar configuration, the notification content 30 is acquired based on the second determination result 33 .
  • the display unit 121 is configured to notify the second determination result 33 based on the second learning condition 24 when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. . Specifically, the display unit 121 displays the notification content 30 acquired by the notification content acquisition unit 12 e based on the second determination result 33 and input to the display unit 121 .
  • the estimating unit 11 when the learning processing unit 10 performs learning processing in the verification mode, the estimating unit 11 (see FIG. 1) performs the learning processing performed by the learning processing unit 10 in parallel with the learned
  • the cell image 80 is estimated using the model 25 (see FIG. 1) using the memory 10b.
  • the estimation process is also performed in the work area 50 used for the learning process in the verification mode. That is, the capacity of the memory 10b secured as the work area 50 includes the area of the memory 10b for performing the learning process in the verification mode and the area of the memory 10b for performing the estimation process. Further, in the present embodiment, a model having a large capacity of the memory 10b to be secured is selected as the learned model 25 to be used for the estimation process.
  • the estimation process is, for example, a process of classifying cells appearing in the cell image 80 and estimating which classification each pixel of the cell image 80 belongs to.
  • the capacity of the work area 50 (see FIG. 2) used when performing the learning process in the verification mode changes depending on the first learning condition 22.
  • FIG. Therefore, depending on the first learning condition 22, there are cases where the working area 50 does not occupy all of the usable capacity 51 of the memory 10b. That is, even when the first learning condition 22 is changed to increase the capacity of the memory 10b secured as the work area 50 and the learning process is performed in the verification mode, there is still a margin in the available capacity 51 of the memory 10b. Yes, out of memory may not occur.
  • the user when out-of-memory occurs in the memory 10b when performing the learning process in the verification mode, the user changes the first learning condition 22 so that the out-of-memory does not occur.
  • the first learning condition 22 is adjusted so that However, when the user changes the first learning condition 22 by manual input and obtains the optimum first learning condition 22 by repeatedly performing the learning process in the verification mode, the burden on the user increases.
  • the learning processing unit 10 is configured to repeatedly execute the learning process in the verification mode while changing the first learning condition 22 by the learning condition changing unit 12b. That is, in this embodiment, the learning processing unit 10 and the learning condition changing unit 12b can optimize the first learning condition 22.
  • the learning processing unit 10 is configured, for example, to repeatedly execute the learning process in the verification mode while changing the batch size 22c by the learning condition changing unit 12b.
  • the optimization of the first learning condition 22 is configured to be performed by the user's operation input.
  • the learning processing unit 10 When no out-of-memory occurs in the learning process in the verification mode, the learning processing unit 10 is configured to repeatedly execute the learning process in the verification mode while increasing the batch size 22c. Further, when an out-of-memory occurs in the learning process in the verification mode, the learning processing unit 10 is configured to repeatedly perform the learning process in the verification mode while reducing the batch size 22c.
  • the determination unit 12d is configured to acquire an optimal first learning condition 22 that does not cause the capacity of the memory 10b to run short based on the first determination result 32.
  • the determination unit 12d is configured to obtain, as the optimum first learning condition 22, the maximum batch size 22c of cell images 80 that does not cause the capacity of the memory 10b to run short.
  • FIG. 4 shows an example of the learning condition setting screen 111a displayed on the display unit 121 (see FIG. 1).
  • the learning condition setting screen 111a includes a learning name input field 40, a model selection field 41, a data set selection field 42, an epoch number input field 43, a batch size input field 44, a verification button 45a, and a learning start button. 45b and a cancel button 46 are displayed.
  • the learning name input field 40 is an input field for entering a learning name.
  • the model selection column 41 is a selection column for selecting the learning model 21 (see FIG. 1) to be learned.
  • the data set selection field 42 is a selection field for selecting a data set used for learning of the learning model 21 .
  • the epoch number input field 43 is an input field for inputting the epoch number 23 .
  • the batch size input field 44 is an input field for inputting the batch size 22c.
  • the verification button 45a is a push button on the GUI for starting learning processing in verification mode.
  • the learning start button 45b is a push button on the GUI for starting learning processing in the learning mode.
  • a cancel button 46 is a push button on the GUI for canceling the learning process.
  • the type 22a (see FIG. 1) of the learning model 21 in the first learning condition 22 is set.
  • the size 22b (see FIG. 1) of the cell image 80 (see FIG. 1) under the first learning condition 22 and the number of discriminated classes 22d (see FIG. 1 reference) is set.
  • the batch size 22c (see FIG. 1) in the first learning condition 22 is set according to the batch size value input in the batch size input field 44.
  • FIG. The number of epochs 23 (see FIG. 1) entered in the number-of-epochs input field 43 is set as the number of epochs during learning in the learning mode. That is, the epoch number 23 entered in the epoch number input field 43 is not used in the learning process in the verification mode.
  • the learning process in the verification mode is executed according to the set first learning condition 22.
  • the display unit 121 displays the verification result notification screen 111b shown in FIG. Specifically, the display unit 121 displays the notification content 30 transmitted from the image processing apparatus 100 as the verification result notification screen 111b. A message 30a indicating that the out-of-memory verification was successful is displayed on the verification result notification screen 111b. For example, when displaying the verification result notification screen 111b, the display unit 121 displays it as a pop-up screen on the learning condition setting screen 111a shown in FIG.
  • the learning condition setting screen 111c shown in FIG. 6 is similar to the learning condition setting screen 111a shown in FIG. 4, except that the batch size 22c entered in the batch size input field 44 is different.
  • "11" is input as an example of the batch size 22c when out of memory occurs in the learning process in the verification mode.
  • the display unit 121 displays the verification result notification screen 111d as shown in FIG. Specifically, the display unit 121 displays the notification content 30 transmitted from the image processing apparatus 100 as the verification result notification screen 111d. A message 30b indicating that the out-of-memory verification has failed is displayed on the verification result notification screen 111d.
  • the out-of-memory verification failure message 30b includes information 30c prompting to reduce the batch size 22c and information 30d prompting to reduce the size 22b of the cell image 80.
  • the display unit 121 is configured to notify the information 30c prompting to reduce the batch size 22c of the cell images 80 in the first learning condition 22 when the capacity of the memory 10b is insufficient. ing. Further, the display unit 121 is configured to further notify information 30d prompting to reduce the size 22b of the cell image 80 in the first learning condition 22 when the capacity of the memory 10b is insufficient.
  • the learning condition registration unit 12a registers the first learning condition 22. Specifically, the learning condition registration unit 12a stores the first learning condition 22 set on the learning condition setting screen 111a (see FIG. 4) in the storage unit 13 (see FIG. 1).
  • the learning mode is selected.
  • the second processor 12 performs the learning process of the learning model 21 (see FIG. 1) based on the input from the selection unit 45 (see FIG. 4).
  • a learning mode for learning and a verification mode for verifying whether or not the capacity of the memory 10b (see FIG. 1) used as a work area when performing the learning process of the learning model 21 is insufficient is selected. More specifically, the second processor 12 selects the verification mode when the verification button 45a (see FIG. 4) is pressed. Further, the second processor 12 selects the learning mode when the learning start button 45b (see FIG. 4) is pressed.
  • the second processor 12 determines whether or not the verification mode has been selected. If verification mode was not selected, processing proceeds to step 104 . If verification mode is selected, processing proceeds to step 105 .
  • the learning processing unit 10 performs learning processing in the learning mode. Specifically, the learning processing unit 10 performs learning of the learning model 21 based on the first learning condition 22 using the cell images 80 for a preset number of times (23 epochs). After that, the process ends.
  • the preset number of times (number of epochs 23) is the value entered in the number of epochs input field 43 of the learning condition setting screen 111a (see FIG. 4).
  • step 105 the determination unit 12d (see FIG. 3) determines whether verification has been performed under the same learning conditions in the past. Specifically, the determination unit 12d determines whether or not a second learning condition 24 (see FIG. 1) equal to the first learning condition 22 (see FIG. 1) is stored in the storage unit 13 (see FIG. 1). do. If the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13 , the process proceeds to step 106 . If the second learning condition 24 equal to the first learning condition 22 is not stored in the storage unit 13 , the process proceeds to step 107 .
  • step 106 the display unit 121 notifies the second determination result 33 (see FIG. 1) based on the second learning condition 24. After that, the process ends.
  • step 107 the learning processing unit 10 executes learning processing in verification mode according to the first learning condition 22 .
  • the estimating process of the cell image 80 by the estimating unit 11 is executed.
  • the learning process in the verification mode is performed once regardless of the value entered in the epoch number input field 43 of the learning condition setting screen 111a (see FIG. 4).
  • the determination unit 12d determines whether or not the capacity of the memory 10b (see FIG. 1) is insufficient in the learning process of the learning model 21 in the verification mode. Specifically, the determination unit 12d determines whether or not the capacity of the memory 10b is insufficient, based on the learning process end information 31 (see FIG. 3). If the capacity of the memory 10b is insufficient, the process proceeds to step 109; If the capacity of the memory 10b is not insufficient, the process proceeds to step 110;
  • step 109 the display unit 121 notifies the first determination result 32 as to whether or not the capacity of the memory 10b is insufficient.
  • the display unit 121 notifies that the capacity of the memory 10b is insufficient. Specifically, the display unit 121 notifies that the capacity of the memory 10b is insufficient by displaying a verification result notification screen 111d (see FIG. 7). After that, the process ends.
  • step 110 the display unit 121 notifies that the capacity of the memory 10b is sufficient. Specifically, the display unit 121 notifies that the capacity of the memory 10b is sufficient by displaying the verification result notification screen 111b (see FIG. 5). After that, the process ends.
  • the determination unit 12d determines whether out of memory (memory out) of the memory 10b has occurred in the learning process in the verification mode. If out of memory has occurred, processing proceeds to step 202 . If out of memory has not occurred, processing proceeds to step 206 .
  • the learning condition changing unit 12b decreases the batch size 22c by one.
  • the learning processing unit 10 executes learning processing in the verification mode according to the first learning condition 222 (see FIG. 3) after the batch size 22c is decremented by one.
  • step 204 the determination unit 12d checks whether out of memory (memory out) of the memory 10b occurs in the learning process in the verification mode under the first learning condition 222 after the batch size 22c is decreased by one in step 203. determine whether or not If the memory 10b is out of memory, the process proceeds to step 202; If the out of memory of memory 10b has not occurred, the process proceeds to step 205;
  • the learning condition registration unit 12a (see FIG. 3) stores the first learning condition 222 in the storage unit 13 (see FIG. 1). After that, the process ends. That is, the processing of steps 202 to 205 is processing for acquiring the optimum batch size 22c by executing learning processing in the repeat verification mode while decreasing the batch size 22c.
  • step 206 the learning condition changing unit 12b (see FIG. 3) increases the batch size 22c by one.
  • the learning processing unit 10 executes learning processing in verification mode according to the first learning condition 222 (see FIG. 3) after the batch size 22c is incremented by one.
  • step 208 the determination unit 12d determines whether out of memory (memory out) of the memory 10b occurs in the learning process in the verification mode according to the first learning condition 222 after the batch size 22c is increased by one in step 207. determine whether or not If the memory 10b is out of memory, the process proceeds to step 209; If memory 10b out of memory has not occurred, processing proceeds to step 206 .
  • the learning condition changing unit 12b decreases the batch size 22c by one.
  • step 210 the learning condition registration unit 12a (see FIG. 3) stores the first learning condition 222 obtained by decreasing the batch size 22c by one in step 209 in the storage unit 13 (see FIG. 1). After that, the process ends. That is, the processing of steps 206 to 210 is processing for acquiring the optimum batch size 22c by executing learning processing in the repeated verification mode while increasing the batch size 22c.
  • the memory capacity determination system 200 during learning of the cell images 80 performs learning of the learning model 21 according to the first learning condition 22 using the cell images 80 a preset number of times.
  • a learning processing unit 10 including a processor (first processor 10a) that performs learning processing, and a memory 10b that is used as a work area for learning processing of the learning model 21, and learning processing by the learning processing unit 10.
  • a determination unit 12d that determines whether or not the capacity of the memory 10b is insufficient in processing, and a notification unit (display unit 121) that performs notification based on the determination result (first determination result 32) of the determination unit 12d.
  • the capacity of the memory 10b secured as the work area 50 is the same in both the learning mode and the verification mode. Therefore, by performing verification in the verification mode for verifying whether or not the capacity of the memory 10b used as the work area when performing the learning process of the learning model 21 is insufficient, it is possible to determine whether the capacity of the memory 10b is insufficient depending on the learning mode. It is possible to determine whether or not Also, the determination result (first determination result 32) as to whether or not the capacity of the memory 10b is insufficient is notified. Therefore, by performing verification in the verification mode before learning the learning model 21 in the learning mode, the user can grasp whether or not the capacity of the memory 10b is insufficient before performing the learning process in the learning mode. can be done.
  • the user can understand that the machine learning was not completed due to insufficient memory capacity.
  • the learning model 21 is trained in the learning mode without performing the learning process in the verification mode. be able to. As a result, user convenience can be improved.
  • the memory capacity determination method at the time of learning the cell images 80 uses the cell images 80 for a preset number of times to learn the learning model 21 under the first learning condition 22. and a learning mode for learning the learning model 21 by performing the learning process of the learning model 21, and whether or not the capacity of the memory 10b used as a work area when performing the learning process of the learning model 21 is insufficient. a step of selecting a verification mode for verifying whether or not; a step of determining whether or not the capacity of the memory 10b is insufficient in the learning process of the learning model 21 in the verification mode; and a step of notifying the determination result (first determination result 32) of whether or not.
  • the learning processing unit 10 is configured to execute the learning process less times in the verification mode than in the learning mode.
  • the time required for the learning process in the verification mode can be made shorter than the time required for the learning process in the learning mode.
  • the learning processing unit 10 is configured to perform one learning process in the verification mode. This makes it possible to further shorten the time required for the learning process in the verification mode. As a result, it is possible to further shorten the time required to determine whether the capacity of the memory 10b is insufficient.
  • the present embodiment further includes the image size increasing unit 12c that performs processing for increasing the size 22b of the cell image 80. It is configured to perform learning processing in the verification mode using the cell image 80a.
  • the capacity of the memory 10b secured as the work area 50 can be increased when performing the learning process in the verification mode. Therefore, since it is possible to perform the learning process in the verification mode with an extra capacity of the memory 10b secured as the work area 50, it is possible to tighten the condition for determining whether or not the capacity of the memory 10b is insufficient. . As a result, it becomes possible to perform the learning process of the learning model 21 in the verification mode under stricter conditions, so it is possible to easily suppress the shortage of the capacity of the memory 10b in the learning mode.
  • the second learning condition 24, which is the learning condition when the learning process in the verification mode was performed in the past, and the determination result (second determination result 33) under the second learning condition 24 and the determination unit 12d is configured to determine whether or not a second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13.
  • the processing unit 10 is configured not to execute the learning process in the verification mode when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. 121) is configured to notify the determination result (second determination result 33) based on the second learning condition 24 when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13.
  • the second determination result 33 is notified without performing the learning process in the verification mode. Therefore, it is possible to inform the user whether or not the capacity of the memory 10b is insufficient without performing the learning process in the verification mode. As a result, redundant execution of the learning process in the verification mode due to the first learning condition 22 can be suppressed.
  • the notification unit reduces the number of cell images 80 (batch size 22c) in the first learning condition 22 when the capacity of the memory 10b is insufficient. It is configured to notify information 30c prompting to do so. This allows the user to understand that the number of cell images 80 (batch size 22c) in the first learning condition 22 should be reduced in order to avoid insufficient capacity of the memory 10b. As a result, it is possible to grasp the items of the first learning condition 22 for avoiding the shortage of the capacity of the memory 10b. can be easily done.
  • the notification unit provides information prompting to reduce the size 22b of the cell image 80 in the first learning condition 22. 30d is further notified. This allows the user to understand that the size 22b of the cell images 80 should be reduced in addition to the number of images (batch size 22c) of the cell images 80 being reduced. As a result, even if the user's skill level is low, it is possible to more easily adjust the first learning condition 22 to avoid a shortage of the capacity of the memory 10b.
  • the cell image by the trained model 25 that has already been learned It further includes an estimating unit 11 that executes the estimating process of 80 using the memory 10b.
  • the estimation processing of the cell image 80 by the trained model 25 is performed in parallel with the learning processing of the learning model 21, so the load on the memory 10b is reduced compared to the case where only the learning processing of the learning model 21 is performed. is increased, the learning process in the verification mode can be performed.
  • the estimation process by the trained model 25 is performed in parallel while the learning process of the learning model 21 is being performed in the learning mode, the lack of capacity of the memory 10b in the learning mode is suppressed. be able to.
  • the learning condition changing unit 12b that changes the content of the first learning condition 22 is further provided, and the learning processing unit 10 changes the first learning condition 22 by the learning condition changing unit 12b.
  • the determination unit 12d is configured to repeatedly execute the learning process in the verification mode, and the determination unit 12d determines, based on the determination result (first determination result 32), the optimum first learning condition that does not cause the capacity of the memory 10b to run short. 22. As a result, the optimum first learning condition 22 is obtained so that the capacity of the memory 10b does not run short. can be processed.
  • the learning condition changing unit 12b is configured to change the number of images (batch size 22c) of the cell images 80 in the first learning condition 22, and the determining unit 12d is configured to obtain, as the optimal first learning condition 22, the maximum number of cell images 80 (batch size 22c) for which the capacity of the memory 10b is sufficient.
  • the learning process of the learning model 21 can be performed with the maximum number of cell images 80 (batch size 22c) that does not cause the capacity of the memory 10b to run short.
  • the type 22a of the learning model 21, the number of images (batch size 22c) of the cell images 80 used for learning the learning model 21, the size 22b of the cell images 80, and the learning model A learning condition registration unit 12a for registering a first learning condition 22 including the number 22d of classification classes to be learned in 21 is further provided.
  • the type 22a of the registered learning model 21, the number of cell images 80 used for learning the learning model 21 (batch size 22c), the size 22b of the cell image 80, and the classification class to be learned by the learning model 21 It is possible to grasp whether or not the capacity of the memory 10b is insufficient when learning the learning model 21 from the number 22d of .
  • the image processing apparatus 100 functions as a server of the memory capacity determination system 200 during learning of the cell images 80 constructed in the client-server model, but the present invention is limited to this. do not have.
  • the present invention may be configured by an independent computer as shown in FIG. 10, for example.
  • the image processing apparatus 100 is configured by a computer 300 having a second processor 310 and a storage section 320 .
  • a display unit 330 and an input unit 340 are connected to the computer 300 .
  • the computer 300 is communicably connected to the imaging device 130 .
  • the second processor 310 of the computer 300 includes the learning condition registering unit 12a, the learning condition changing unit 12b, the image size increasing unit 12c, the determining unit 12d, and the notification content acquiring unit shown in the above embodiment (see FIG. 3). 12e and , as functional blocks.
  • the single second processor 12 controls the learning condition registering unit 12a, the learning condition changing unit 12b, the image size increasing unit 12c, the determining unit 12d, the notification
  • the present invention is not limited to this.
  • Each process of whether or not the capacity of the memory 10b is insufficient during learning of the cell image 80 may be shared and executed by a plurality of processors. Each process may be performed by a separate processor. Multiple processors may be provided in separate computers. In other words, the image processing apparatus 100 may be composed of a plurality of computers.
  • the learning processing unit 10 may be configured to execute the learning process in the verification mode the same number of times as the learning process in the learning mode or more times.
  • the learning processing unit 10 executes the same or more learning processes in the verification mode than the learning processes in the learning mode, the time required to verify whether the capacity of the memory 10b is insufficient increases. do. Therefore, it is preferable that the learning processing unit 10 is configured to perform the learning process less times in the verification mode than in the learning mode.
  • the learning processing unit 10 uses the cell image 80a whose size is increased by the image size increasing unit 12c to perform the learning process in the verification mode. It is not limited to this.
  • the learning processing unit 10 may be configured to perform learning processing in the verification mode using the cell image 80 instead of the cell image 80a whose size has been increased.
  • the second processor 12 does not have to include the image size increasing section 12c.
  • the learning processing unit 10 when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13, the learning processing unit 10 performs the learning process in the verification mode according to the first learning condition 22.
  • the learning processing unit 10 performs learning processing in the verification mode according to the first learning condition 22 even when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. may be configured to However, even if the learning processing unit 10 stores the second learning condition 24 equal to the first learning condition 22 in the storage unit 13, the configuration is such that the learning process is executed in the verification mode according to the first learning condition 22.
  • the learning processing unit 10 is configured not to execute the learning process in the verification mode according to the first learning condition 22 when the second learning condition 24 equal to the first learning condition 22 is stored in the storage unit 13. preferably.
  • the memory capacity determination system 200 when the learning processing unit 10 performs learning processing in the verification mode, the memory capacity determination system 200 performs the learning processing by the learning processing unit 10 in parallel with the cell image 80 based on the trained model 25.
  • the estimation unit 11 that executes estimation processing using the memory 10b has been shown, the present invention is not limited to this.
  • the memory capacity determination system 200 may not include the estimation unit 11,
  • the memory capacity determination system 200 includes the learning condition changing unit 12b, and the learning processing unit 10 repeats the learning process in the verification mode while changing the first learning condition 22 by the learning condition changing unit 12b.
  • the learning processing unit 10 may be configured not to repeat the learning process in the verification mode while changing the first learning condition 22 by the learning condition changing unit 12b. In this case, the memory capacity determination system 200 does not have to include the learning condition changing unit 12b.
  • the determination unit 12d acquires the maximum batch size 22c of cell images 80 that does not cause the capacity of the memory 10b to run short as the optimum first learning condition 22 has been described. is not limited to this.
  • the determination unit 12d may be configured to obtain, as the optimum first learning condition 22, the maximum size of the cell image 80 that does not cause the capacity of the memory 10b to run short.
  • the present invention is not limited to this.
  • the first processor 10a and the estimation unit 11 may be configured by the same processor.
  • the image processing device 100 performs learning of the learning model 21 and analysis of the cell image 80 has been described, but the present invention is not limited to this.
  • the image processing device 100 may be configured as a learning device that only learns the learning model 21 .
  • the image processing device 100 shows the process of making the learning model 21 learn to classify the cells shown in the cell image 80, but the present invention is not limited to this.
  • the image processing device 100 may be configured to make the learning model learn to improve the resolution of cells appearing in the cell image 80 .
  • the content that the image processing apparatus 100 causes the learning model to learn can be arbitrarily set by the user.
  • a learning processing unit including a processor that performs learning of a learning model under a first learning condition using cell images for a preset number of times, and a memory that is used as a work area for learning processing of the learning model;
  • a memory capacity determination system during learning of cell images comprising: a notification unit that performs notification based on a determination result by the determination unit.
  • (Item 2) The memory capacity determination during cell image learning according to item 1, wherein in the verification mode, the learning processing unit is configured to execute the learning process a smaller number of times than the number of learning processes in the learning mode. system.
  • (Item 4) further comprising an image size increasing unit that performs processing to increase the size of the cell image, 4.
  • the learning processing unit according to any one of items 1 to 3, wherein the learning processing unit is configured to perform learning processing in the verification mode using the cell image whose size has been increased by the image size increasing unit. Memory capacity determination system during learning of cell images.
  • (Item 5) further comprising a storage unit that stores a second learning condition, which is a learning condition when learning processing in the verification mode was performed in the past, and the determination result of the second learning condition
  • the determination unit is configured to determine whether the second learning condition equal to the first learning condition is stored in the storage unit
  • the learning processing unit is configured not to execute learning processing in the verification mode when the second learning condition equal to the first learning condition is stored in the storage unit
  • the notifying unit is configured to notify the determination result based on the second learning condition when the second learning condition equal to the first learning condition is stored in the storage unit. 5.
  • the memory capacity determination system during learning of cell images according to any one of 1 to 4.
  • the learning processing unit is configured to repeatedly execute learning processing in the verification mode while changing the first learning condition by the learning condition changing unit, 9.
  • the learning condition changing unit is configured to change a batch size of the cell images among the first learning conditions, When learning cell images according to item 9, wherein the determination unit is configured to acquire, as the optimal first learning condition, a maximum batch size of the cell images that does not cause a shortage of the capacity of the memory. Memory capacity judgment system in.
  • a learning condition for registering the first learning condition including the type of learning model, the batch size of cell images used for learning the learning model, the size of the cell image, and the number of identification classes to be learned by the learning model.
  • the memory capacity determination system during cell image learning according to any one of items 1 to 10, further comprising a registration unit.
  • (Item 12) a step of learning a learning model under a first learning condition using cell images for a preset number of times; Verification for verifying whether or not the learning mode for learning the learning model and the capacity of the memory used for the work area when performing the learning process for the learning model run short by performing the learning process for the learning model. selecting a mode; a step of determining whether or not the capacity of the memory is insufficient in the learning process of the learning model in the verification mode; a memory capacity determination method during cell image learning, comprising the step of notifying a determination result as to whether or not the memory capacity is insufficient.
  • learning processing unit 10 10 learning processing unit 10a first processor 10b memory 12a learning condition registration unit 12b learning condition changing unit 12c image size increasing unit 12d determination unit 13 storage unit 21 learning model 22 first learning condition 22a type of learning model 22b size of cell image 22c Batch size (number of cell images) 22d number of discriminative classes 23 number of epochs (preset number of times) 24 Second learning condition 25 Trained model 32 First judgment result (judgment result) 33 Second judgment result (judgment result) 45 selection unit 45a verification button 45b learning start button 50 work area 80 cell image 80a cell image with increased size 121, 330 display unit (notification unit) 200 Memory Capacity Judgment System When Learning Cell Images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Image Analysis (AREA)

Abstract

この細胞画像(80)の学習時におけるメモリ容量判定システム(200)は、学習モデル(21)の学習を行う第1プロセッサ(10a)と、メモリ(10b)とを備える学習処理部(10)と、学習モデルの学習を行う学習モードと、メモリの容量が不足するか否かの検証を行う検証モードと、を選択する選択部(45)と、検証モードにおいてメモリの容量が不足したか否かを判定する判定部(12d)と、第1判定結果(32)に基づく報知を行う表示部(121)と、を備える。

Description

細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法
 本発明は、細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法に関する。
 従来、細胞画像を解析するための学習モデルを生成する技術が開示されている。このような細胞画像を解析するための学習モデルを生成する技術は、たとえば、特開2021-64115号公報に開示されている。
 特開2021-64115号公報では、細胞画像を入力画像とし、細胞骨格を染色して得られた染色画像を正解画像とした学習データを用いて機械学習を行うことにより、学習済みモデルを生成する構成が開示されている。
特開2021-64115号公報
 ここで、特開2021-64115号公報には開示されていないが、機械学習は、GPU(Graphics Processing Unit)などのプロセッサと、学習時の作業領域となるメモリとを用いて行われる。機械学習が正常に終了した場合、学習済みモデルが生成される。一方、機械学習が異常終了した場合、学習に用いるデータや学習条件などを変更し、再度機械学習を行う。機械学習が異常終了する原因の1つには、学習時におけるメモリ容量が不足することが考えられる。しかしながら、特開2021-64115号公報に開示されているような機械学習を行う構成では、メモリ容量が不足したことに起因して機械学習が完了しなかったことをユーザが把握することができない。そのため、メモリ容量が不足したことに起因して、機械学習が完了しなかったことをユーザが把握できるような技術が望まれている。
 この発明は、上記のような課題を解決するためになされたものであり、この発明の1つの目的は、メモリ容量が不足したことに起因して、機械学習が完了しなかったことをユーザが把握することが可能な細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法を提供することである。
 上記目的を達成するために、この発明の第1の局面における細胞画像の学習時におけるメモリ容量判定システムは、予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うプロセッサと、学習モデルの学習処理の作業領域に用いるメモリとを備える学習処理部と、学習処理部による学習処理を行うことにより、学習モデルの学習を行う学習モードと、学習処理部による学習処理を行う際にメモリの容量が不足するか否かの検証を行う検証モードと、を選択する選択部と、検証モードにおける学習モデルの学習処理においてメモリの容量が不足したか否かを判定する判定部と、判定部による判定結果に基づく報知を行う報知部と、を備える。
 この発明の第2の局面における細胞画像の学習時におけるメモリ容量判定方法は、予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うステップと、学習モデルの学習処理を行うことにより、学習モデルの学習を行う学習モードと、学習モデルの学習処理を行う際に作業領域に用いるメモリの容量が不足するか否かの検証を行う検証モードと、を選択するステップと、学習モデルの学習処理において、メモリの容量が不足したか否かを判定するステップと、メモリの容量が不足したか否かの判定結果を報知するステップと、を備える。
 上記第1の局面における細胞画像の学習時におけるメモリ容量判定システム、および、上記第2の局面における細胞画像の学習時におけるメモリ容量判定方法では、学習モデルの学習処理を行う際に作業領域に用いるメモリの容量が不足するか否かの検証を行う検証モードにおいて、メモリの容量が不足したか否かの判定が行われる。ここで、学習モードにおいても検証モードにおいても、作業領域として確保されるメモリの容量は等しい。したがって、検証モードによって検証を行うことにより、学習モードによってメモリの容量が不足するか否かを判定することができる。また、メモリの容量が不足したか否かの判定結果が報知される。したがって、ユーザは、学習モードにおいて学習モデルの学習を行う前に検証モードによって検証を行うことにより、メモリの容量が不足するか否かを、学習モードによる学習処理を行う前に把握することができる。これらの結果、メモリ容量が不足したことに起因して、機械学習が完了しなかったことをユーザが把握することができる。また、学習モードと検証モードとを選択することが可能であるため、検証モードによって検証を行う必要がない場合には、検証モードによる学習処理を行うことなく、学習モードによって学習モデルを学習させることができる。その結果、ユーザの利便性を向上させることができる。
本実施形態による画像処理装置を備えたメモリ容量判定システムを示したブロック図である。 学習時の作業領域とメモリの容量とを説明するための模式図である。 画像処理装置の第2プロセッサの機能を説明するための機能ブロック図である。 本実施形態による画像処理装置において、検証モードにおける学習処理を行う際にメモリ容量が不足しなかった場合の画面例を示す図である。 検証モードにおける学習処理において、メモリ容量が不足しなかった場合の画面例を示す図である。 本実施形態による画像処理装置において、検証モードにおける学習処理を行う際にメモリ容量が不足した場合の画面例を示す図である。 検証モードにおける学習処理において、メモリ容量が不足した場合の画面例を示す図である。 本実施形態による画像処理装置において、メモリ容量検証処理を説明するためのフローチャートである。 本実施形態による画像処理装置において、バッチサイズを変更しながら第1学習条件を最適化する処理を説明するためのフローチャートである。 変形例による画像処理装置を備えたメモリ容量判定システムを示したブロック図である。
 以下、本発明を具体化した実施形態を図面に基づいて説明する。
 図1~図7を参照して、本実施形態による画像処理装置100を備えた細胞画像80の学習時におけるメモリ容量判定システム200の構成および細胞画像80の学習時におけるメモリ容量判定方法について説明する。
 〈画像処理システム〉
 図1に示す細胞画像80の学習時におけるメモリ容量判定システム200は、細胞培養などを行うユーザによって撮像された細胞画像80に対する解析処理を行うための学習モデル21を学習する際に、メモリ10bの容量が不足するか否かを判定することが可能な学習時におけるメモリ容量判定システムである。
 〈メモリ容量判定システムの概要〉
 細胞画像80の学習時におけるメモリ容量判定システム200は、画像処理装置100と、コンピュータ120と、撮像装置130と、を備える。
 図1では、クライアントサーバモデルで構築されたメモリ容量判定システム200の例を示している。コンピュータ120は、メモリ容量判定システム200におけるクライアント端末として機能する。画像処理装置100は、メモリ容量判定システム200においてサーバとして機能する。画像処理装置100と、コンピュータ120と、撮像装置130とは、ネットワーク140を介して相互に通信可能に接続されている。画像処理装置100は、ユーザが操作するコンピュータ120からのリクエスト(処理要求)に応じて、各種の情報処理を行う。画像処理装置100は、リクエストに応じて、細胞画像80を解析するための学習モデル21の学習を行う。本実施形態では、画像処理装置100は、学習モデル21に対して、細胞画像80に写る細胞の分類を行うことを学習させる。たとえば、画像処理装置100は、学習モデル21に対して、細胞画像80に写る細胞が正常細胞であるか否かの分類、細胞画像80に写る細胞が老化しているか否かの分類を行うことを学習させる。
 また、画像処理装置100は、リクエストに応じて、細胞画像80を解析するための学習モデル21の学習を行う際に、メモリ10bが不足するか否かを判定する。また、画像処理装置100は、メモリ10bが不足するか否かの判定結果に応じた報知内容30をコンピュータ120に送信する。画像処理装置100に対する操作の受け付け、および、画像処理装置100で解析された解析結果および解析後の画像の表示は、コンピュータ120の表示部121に表示されるGUI(グラフィカルユーザーインターフェース)上で行われる。
 ネットワーク140は、画像処理装置100と、コンピュータ120と、撮像装置130とを相互に通信可能に接続する。ネットワーク140は、たとえば施設内に構築されたLAN(Local Area Network)でありうる。ネットワーク140は、たとえばインターネットでありうる。ネットワーク140がインターネットである場合、細胞画像80の学習時におけるメモリ容量判定システム200は、クラウドコンピューティングの形態で構築されるシステムでありうる。
 コンピュータ120は、いわゆるパーソナルコンピュータであり、プロセッサおよび記憶部を備える。コンピュータ120には、表示部121および入力部122が接続されている。表示部121は、たとえば液晶表示装置である。表示部121は、エレクトロルミネッセンス表示装置、プロジェクタ、ヘッドマウントディスプレイであってもよい。入力部122は、たとえばマウスおよびキーボードを含む入力装置である。入力部122は、タッチパネルであってもよい。コンピュータ120は、細胞画像80の学習時におけるメモリ容量判定システム200において1つまたは複数設けられる。本実施形態では、表示部121は、後述する判定部12d(図3参照)による第1判定結果32に基づく報知を行うように構成されている。また、表示部121には、後述する選択部45が表示される。なお、表示部121は、請求の範囲の「報知部」の一例である。
 撮像装置130は、細胞を撮像した細胞画像80を生成する。撮像装置130は、ネットワーク140を介して、コンピュータ120および/または画像処理装置100に、生成した細胞画像80を送信できる。撮像装置130は、細胞の顕微鏡画像を撮像する。撮像装置130は、明視野観察法、暗視野観察法、位相差観察法、微分干渉観察法などの撮像方法による画像化を行う。撮像方法に応じて、1種または複数種の撮像装置130が用いられる。細胞画像80の学習時におけるメモリ容量判定システム200には、1つまたは複数の撮像装置130が設けられ得る。
 画像処理装置100は、学習処理部10と、推定部11と、第2プロセッサ12と、記憶部13と、を備える。
 学習処理部10は、第1プロセッサ10aと、メモリ10bとを備える。
 第1プロセッサ10aは、予め設定された回数分、細胞画像80を用いて、第1学習条件22による学習モデル21の学習を行うように構成されている。第1プロセッサ10aは、たとえば、GPU、または、画像処理用に構成されたFPGA(Field-Programmable Gate Array)を含む。本実施形態では、第1プロセッサ10aがGPUである例を説明する。
 メモリ10bは、学習モデル21の学習処理の作業領域に用いられる。メモリ10bは、たとえば、RAM(Random Access Memory)を含む。
 推定部11は、学習済みモデル25による細胞画像80の推定処理を行うように構成されている。推定部11は、たとえば、GPU、または、画像処理用に構成されたFPGAを含む。
 第2プロセッサ12は、CPU(Central Processing Unit)、FPGA、ASIC(Aplication Specific Integrated Circuit)などを含む。第2プロセッサ12が、所定のプログラム20を実行することにより、画像処理装置100としての演算処理が行われる。
 記憶部13は、不揮発性記憶装置を含む。不揮発性記憶装置は、たとえば、ハードディスクドライブ、ソリッドステートドライブなどである。記憶部13には、第2プロセッサ12が実行する各種のプログラム20が記憶されている。また、記憶部13は、学習処理部10が学習モードにおける学習処理を繰り返し行う際の回数であるエポック数23を記憶する。また、記憶部13は、過去に検証モードにおける学習処理を行った際の学習条件である第2学習条件24と、第2学習条件24における第2判定結果33とを記憶する。また、記憶部13は、報知内容30を記憶する。また、記憶部13は、細胞画像80を記憶する。
 選択部45は、学習処理部10による学習処理を行うことにより、学習モデル21の学習を行う学習モードと、学習処理部10による学習処理を行う際にメモリ10bの容量が不足するか否かの検証を行う検証モードと、を選択するように構成されている。なお、選択部45は、表示部121に表示されるGUI上の押しボタンである。選択部45の詳細については、後述する。
 画像処理装置100は、コンピュータ120からのリクエストに応じて、記憶部13に記憶された細胞画像80を用いて学習モデル21の学習を行うように構成されている。具体的には、画像処理装置100が備える学習処理部10が、学習モデル21の学習を行う。
 画像処理装置100は、ユーザからのリクエストに応じて、学習モードにおける学習処理を行うことにより、学習モデル21の学習を行う。具体的には、学習処理部10は、学習モードにおいて、予め設定された回数(エポック数23)分、第1学習条件22による学習処理を繰り返し行う。学習モードにおける学習処理は、学習処理部10によって行われる。
 ここで、図2に示すように、学習処理部10が学習モデル21の学習処理を行う際には、作業領域50として、メモリ10bを用いる。メモリ10bは、使用可能容量51と、他のプロブラムなどにより使用されており、学習処理に使用することができない使用不可容量52とを含む。学習処理部10が学習モデル21の学習を行う際に作業領域50として確保される容量が、使用可能容量51よりも大きい場合、メモリ10bの容量不足(アウトオブメモリ)が発生し、学習モデル21の学習が異常終了する。
 そこで、本実施形態では、画像処理装置100は、学習モデル21の学習を行う際に、メモリ10bの容量が不足するか否かを判定するための検証モードによる学習処理を行う。検証モードでは、学習モードにおける学習処理の回数よりも少ない回数の学習処理が実行される。具体的には、検証モードでは、1回の学習処理が実行される。また、画像処理装置100は、メモリ10bの容量が不足するか否かの判定結果に基づいて報知内容30(図1参照)を取得する。また、画像処理装置100は、取得した報知内容30をコンピュータ120(図1参照)へ送信する。報知内容30を受信したコンピュータ120が、表示部121(図1参照)において、報知内容30を表示させる。なお、学習モデル21における学習処理と、検証モードにおける学習処理とは、並行して行われない。すなわち、画像処理装置100は、学習モードにおける学習処理、または、検証モードにおける学習処理のどちらかを実行する。
 〈第2プロセッサによる判定処理〉
 図3に示すように、第2プロセッサ12は、学習条件登録部12aと、学習条件変更部12bと、画像サイズ増大部12cと、判定部12dと、報知内容取得部12eとを機能ブロックとして備える。言い換えると、第2プロセッサ12は、記憶部13に記憶されたプログラム20を実行することによって、学習条件登録部12a、学習条件変更部12b、画像サイズ増大部12c、判定部12d、報知内容取得部12eとして機能する。
 学習条件登録部12aは、第1学習条件22を登録するように構成されている。なお、第1学習条件22を登録するとは、学習条件登録部12aが、操作者が入力部122によって入力した第1学習条件22を取得し、取得した第1学習条件22を記憶部13に記憶することを意味する。また、学習条件登録部12aは、第1学習条件22を、学習処理部10に対して出力する。また、学習条件登録部12aは、第1学習条件22を、判定部12dに対して出力する。
 第1学習条件22は、学習モデル21の種類22a(図1参照)と、学習モデル21の学習に用いる細胞画像80のバッチサイズ22c(図1参照)と、細胞画像80のサイズ22b(図1参照)と、学習モデル21に学習させる識別クラスの数22d(図1参照)とを含む。バッチサイズ22cとは、学習モデル21の学習に用いる細胞画像80の画像数を意味する。なお、学習モデル21の種類22aとは、学習モデル21のアルゴリズムの分類を意味する。また、識別クラスの数22dとは、細胞画像80において分類するクラスの数である。また、細胞画像80のバッチサイズ22cは、請求の範囲の、「細胞画像の画像数」の一例である。
 学習条件変更部12bは、第1学習条件22の内容を変更するように構成されている。本実施形態では、学習条件変更部12bは、第1学習条件22のうち、細胞画像80のバッチサイズ22cを変更するように構成されている。学習条件変更部12bは、変更後の第1学習条件222を、学習処理部10に対して出力する。また、学習条件変更部12bは、変更後の第1学習条件222を、記憶部13に記憶する。また、学習条件変更部12bは、変更後の第1学習条件222を、判定部12dに対して出力する。なお、学習条件変更部12bによる第1学習条件22の内容の変更は、後述する第1学習条件22の最適化を行う際に実行される。すなわち、検証モードにおける1度目の学習処理を行う際には、学習条件変更部12bによる第1学習条件22の内容の変更は行われない。
 本実施形態では、検証モードにおける学習処理を行う際に、メモリ10bの負荷を増大させるため、作業領域50(図2参照)として確保する容量を増大させるため、画像サイズ増大部12cは、細胞画像80のサイズ22bを増大する処理を行うように構成されている。画像サイズ増大部12cは、たとえば、細胞画像80のサイズを、1.1倍~1.2倍に増大させるように構成されている。画像サイズ増大部12cは、サイズが増大された細胞画像80aを、学習処理部10に対して出力する。なお、画像サイズ増大部12cによって細胞画像80のサイズを増大させる処理は、検証モードにおいてのみ行われる。すなわち、画像サイズ増大部12cによって細胞画像80のサイズを増大させる処理は、学習モードにおいては行われない。
 学習処理部10は、学習条件登録部12aから入力された第1学習条件22と、画像サイズ増大部12cから入力されたサイズが増大された細胞画像80aと、学習モデル21とを用いて、検証モードにおける学習処理を行う。すなわち、学習処理部10は、画像サイズ増大部12cによってサイズが増大された細胞画像80aを用いて、検証モードにおける学習処理を行うように構成されている。なお、本実施形態では、学習処理部10は、検証モードにおいて、学習モードにおける学習処理の回数よりも少ない回数の学習処理を実行するように構成されている。具体的には、学習処理部10は、検証モードにおいて、1回の学習処理を実行するように構成されている。
 また、学習処理部10は、検証モードにおける学習処理を行った際の学習処理終了の情報31を、判定部12dに対して出力する。学習処理終了の情報31は、検証モードにおける学習処理が終了した際のステータスの情報である。具体的には、学習処理部10は、検証モードにおける学習処理が正常に終了した場合には、学習処理終了の情報31として、検証モードにおける学習処理が正常終了したステータスの情報を判定部12dに対して出力する。また、学習処理部10は、検証モードにおける学習処理を行う際に、異常終了した場合には、学習処理終了の情報31として、検証モードにおける学習処理が異常終了したステータスの情報を判定部12dに対して出力する。また、学習処理部10は、検証モードにおける学習処理が異常終了した場合には、異常終了のログ情報を判定部12dに対して出力する。
 判定部12dは、検証モードにおける学習モデル21の学習処理においてメモリ10bの容量が不足したか否かを判定するように構成されている。具体的には、判定部12dは、学習処理部10から入力された学習処理終了の情報31に基づいて、メモリ10bの容量が不足したか否かを判定する。すなわち、学習処理終了の情報31として、検証モードにおける学習処理が正常終了したステータスの情報が入力された場合には、判定部12dは、メモリ10bの容量が不足しなかったと判定する。
 また、学習処理終了の情報31として、検証モードにおける学習処理が異常終了したステータスの情報が入力された場合には、異常終了のログ情報に基づいて、メモリ10bの容量が不足するか否かを取得する。具体的には、判定部12dは、異常終了のログ情報にメモリ10bの容量が不足したことを示す情報が含まれるか否かによって、判定部12dは、メモリ10bの容量が不足したか否かを判定する。判定部12dは、メモリ10bの容量が不足したか否かの判定結果である第1判定結果32を、報知内容取得部12eに対して出力する。なお、第1判定結果32には、アウトオブメモリが発生せず、検証モードにおける学習処理が正常終了したステータスの情報と、アウトオブメモリが発生し、検証モードにおける学習処理が異常終了したステータスの情報とが含まれる。また、判定部12dによるメモリ10bの容量が不足したか否かの判定は、検証モードにおいてのみ実行され、学習モードでは実行されない。
 報知内容取得部12eは、第1判定結果32に基づいて、記憶部13に記憶された報知内容30を取得するように構成されている。報知内容30は、アウトオブメモリの検証が成功である旨のメッセージ30a(図5参照)と、アウトオブメモリの検証が失敗である旨のメッセージ30b(図7参照)とを含む。報知内容取得部12eは、アウトオブメモリが発生しなかった場合には、報知内容30として、アウトオブメモリの検証が成功である旨のメッセージ30aを取得する。また、報知内容取得部12eは、アウトオブメモリが発生した場合には、報知内容30として、アウトオブメモリの検証が失敗である旨のメッセージ30bを取得する。報知内容取得部12eは、報知内容30を、表示部121に対して出力する。なお、報知内容取得部12eは、学習モードにおいては、学習モデル21の学習が正常終了したか異常終了したかのメッセージを、報知内容30として取得する。すなわち、報知内容取得部12eは、学習モードにおいては、アウトオブメモリが発生したか否かの報知内容30は取得しない。
 表示部121は、入力された報知内容30に基づいて、検証モードにおける学習処理を行う際に、メモリ10bの容量が不足したか否かの報知を行う。具体的には、表示部121は、報知内容取得部12eから入力された報知内容30を表示するように構成されている。
 ここで、第1学習条件22と等しい第2学習条件24によって過去に検証モードにおける学習処理が実施されている場合、検証モードにおける学習処理においてメモリ10bの容量が不足したか否かの判定結果は、同様の結果となると考えられる。そこで、本実施形態では、判定部12dは、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されているか否かを判定するように構成されている。また、学習処理部10は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、検証モードにおける第1学習条件22の学習処理を実行しないように構成されている。なお、第2学習条件24は、過去に検証された際の第1学習条件22である。すなわち、第2学習条件24は、学習モデル21の種類と、細胞画像80の種類と、バッチサイズと、識別クラスの数とを含む。また、第1学習条件22と第2学習条件24とが等しいとは、学習モデル21の種類、細胞画像80の種類、バッチサイズ、識別クラスの数の全てが等しいことを意味する。
 報知内容取得部12eは、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、第2学習条件24による第2判定結果33を取得する。また、報知内容取得部12eは、第2判定結果33に基づく報知内容30を取得し、取得した報知内容30を表示部121に対して出力する。なお、第2判定結果33は、第1判定結果32と同様の内容を含む。すなわち、報知内容取得部12eは、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、第1判定結果32に基づいて報知内容30を取得する構成と同様の構成によって、第2判定結果33に基づいて報知内容30を取得する。
 表示部121は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、第2学習条件24による第2判定結果33を報知するように構成されている。具体的には、表示部121は、第2判定結果33に基づいて報知内容取得部12eが取得し、表示部121に入力された報知内容30を表示する。
 また、本実施形態では、推定部11(図1参照)は、学習処理部10による検証モードにおける学習処理を行う際に、学習処理部10による学習処理と並行して、すでに学習された学習済みモデル25(図1参照)による細胞画像80の推定処理を、メモリ10bを用いて実行するように構成されている。本実施形態では、検証モードにおける学習処理に用いる作業領域50において、推定処理も行われる。すなわち、作業領域50として確保されるメモリ10bの容量には、検証モードにおける学習処理を行うメモリ10bの領域と、推定処理を行うメモリ10bの領域とが含まれる。また、本実施形態では、確保されるメモリ10bの容量が大きいものが推定処理に用いる学習済みモデル25として選択される。なお、推定処理とは、たとえば、細胞画像80に写る細胞を分類し、細胞画像80の画素ごとにどの分類であるかを推定する処理である。
 〈第1学習条件の最適化〉
 ここで、検証モードにおける学習処理を行う場合に使用される作業領域50(図2参照)の容量は、第1学習条件22によって変化する。したがって、第1学習条件22によっては、作業領域50として、メモリ10bの使用可能容量51の全てを確保しない場合がある。すなわち、作業領域50として確保するメモリ10bの容量が増加するような第1学習条件22に変更し、検証モードにおける学習処理を行った場合でも、メモリ10bの使用可能容量51の残量に余裕があり、アウトオブメモリが発生しない場合がある。
 また、検証モードにおける学習処理を行った際に、メモリ10bのアウトオブメモリが発生した場合には、ユーザが第1学習条件22を変更することにより、アウトオブメモリが発生しない第1学習条件22となるように、第1学習条件22を調整する。しかしながら、ユーザが手入力によって第1学習条件22を変更し、検証モードにおける学習処理を繰り返し行うことによって最適な第1学習条件22を取得する場合、ユーザの負担が増加する。
 そこで、本実施形態では、学習処理部10は、学習条件変更部12bによって第1学習条件22を変更しつつ、検証モードにおける学習処理を繰り返し実行するように構成されている。すなわち、本実施形態では、学習処理部10と学習条件変更部12bとによって、第1学習条件22の最適化を行うことが可能である。本実施形態では、学習処理部10は、たとえば、学習条件変更部12bによって、バッチサイズ22cを変更しつつ、検証モードにおける学習処理を繰り返し実行するように構成されている。なお、第1学習条件22の最適化は、ユーザの操作入力によって行われるように構成されている。
 検証モードにおける学習処理においてアウトオブメモリが発生しなかった場合には、学習処理部10は、バッチサイズ22cを増加させながら、検証モードにおける学習処理を繰り返し実行するように構成されている。また、検証モードにおける学習処理においてアウトオブメモリが発生した場合には、学習処理部10は、バッチサイズ22cを減少させながら、検証モードにおける学習処理を繰り返し行うように構成されている。
 また、判定部12dは、第1判定結果32に基づいて、メモリ10bの容量が不足しない最適な第1学習条件22を取得するように構成されている。判定部12dは、最適な第1学習条件22として、メモリ10bの容量が不足しない最大の細胞画像80のバッチサイズ22cを取得するように構成されている。
 〈検証モードにおける学習処理の画面表示〉
 次に、図4~図7を参照して、本実施形態の画像処理装置100による検証モードにおける学習処理を行う構成について説明する。
 まず、図4および図5を参照して、検証モードにおける学習処理が成功した場合の画面例について説明する。
 図4は、表示部121(図1参照)に表示される学習条件設定画面111aの例を示している。学習条件設定画面111aには、学習名入力欄40と、モデル選択欄41と、データセット選択欄42と、エポック数入力欄43と、バッチサイズ入力欄44と、検証ボタン45aと、学習開始ボタン45bと、キャンセルボタン46とが表示されている。
 学習名入力欄40は、学習名を入力するための入力欄である。モデル選択欄41は、学習を行う学習モデル21(図1参照)を選択するための選択欄である。データセット選択欄42は、学習モデル21の学習に用いるデータセットを選択するための選択欄である。エポック数入力欄43は、エポック数23を入力するための入力欄である。バッチサイズ入力欄44は、バッチサイズ22cを入力するための入力欄である。検証ボタン45aは、検証モードにおける学習処理を開始するためのGUI上の押しボタンである。学習開始ボタン45bは、学習モードにおける学習処理を開始するためのGUI上の押しボタンである。キャンセルボタン46は、学習処理をキャンセルするためのGUI上の押しボタンである。
 モデル選択欄41によって学習モデル21が選択されることにより、第1学習条件22(図1参照)における学習モデル21の種類22a(図1参照)が設定される。また、データセット選択欄42によってデータセットが選択されることにより、第1学習条件22における細胞画像80(図1参照)のサイズ22b(図1参照)、および、識別クラスの数22d(図1参照)が設定される。また、バッチサイズ入力欄44に入力されたバッチサイズの値によって、第1学習条件22におけるバッチサイズ22c(図1参照)が設定される。なお、エポック数入力欄43に入力されたエポック数23(図1参照)は、学習モードにおける学習時におけるエポック数として設定される。すなわち、エポック数入力欄43に入力されたエポック数23は、検証モードにおける学習処理においては使用されない。
 検証ボタン45aが押下された場合、設定された第1学習条件22によって、検証モードにおける学習処理が実行される。
 検証モードにおける学習処理において、アウトオブメモリが発生せずに正常に学習処理が終了した場合、表示部121は、図5に示す検証結果報知画面111bを表示する。具体的には、表示部121は、画像処理装置100から送信された報知内容30を、検証結果報知画面111bとして表示する。検証結果報知画面111bには、アウトオブメモリの検証が成功した旨のメッセージ30aが表示されている。なお、表示部121は、たとえば、検証結果報知画面111bを表示する際には、図4に示す学習条件設定画面111a上に、ポップアップ画面として表示する。
 次に、図6および図7を参照して、検証モードにおける学習処理が失敗した場合の画面例について説明する。
 図6に示す学習条件設定画面111cは、バッチサイズ入力欄44に入力されているバッチサイズ22cが異なる点以外は、図4に示した学習条件設定画面111aと同様の画面である。なお、図6に示す例では、検証モードにおける学習処理において、アウトオブメモリが発生した際のバッチサイズ22cの一例として、「11」が入力されている。
 学習条件設定画面111cにおいて検証ボタン45aを押下した場合、表示部121は、図7に示すように、検証結果報知画面111dを表示する。具体的には、表示部121は、画像処理装置100から送信された報知内容30を、検証結果報知画面111dとして表示する。検証結果報知画面111dには、アウトオブメモリの検証が失敗である旨のメッセージ30bが表示されている。アウトオブメモリの検証が失敗である旨のメッセージ30bには、バッチサイズ22cを小さくすることを促す情報30c、および、細胞画像80のサイズ22bを小さくすることを促す情報30dを含む。すなわち、本実施形態では、表示部121は、メモリ10bの容量が不足した場合に、第1学習条件22における細胞画像80のバッチサイズ22cを小さくすることを促す情報30cを報知するように構成されている。また、表示部121は、メモリ10bの容量が不足した場合に、第1学習条件22における細胞画像80のサイズ22bを小さくすることを促す情報30dをさらに報知するように構成されている。
 次に、図8を参照して、本実施形態による細胞画像80の学習時におけるメモリ容量判定方法におけるメモリ容量検証処理について説明する。
 ステップ101において、学習条件登録部12a(図3参照)が、第1学習条件22を登録する。具体的には、学習条件登録部12aは、学習条件設定画面111a(図4参照)によって設定された第1学習条件22を記憶部13(図1参照)に記憶する。
 ステップ102において、学習モードを選択する。具体的には、第2プロセッサ12(図1参照)は、選択部45(図4参照)による入力に基づいて、学習モデル21の学習処理を行うことにより、学習モデル21(図1参照)の学習を行う学習モードと、学習モデル21の学習処理を行う際に作業領域に用いるメモリ10b(図1参照)の容量が不足するか否かの検証を行う検証モードと、を選択する。より具体的には、第2プロセッサ12は、検証ボタン45a(図4参照)が押下された場合には、検証モードを選択する。また、第2プロセッサ12は、学習開始ボタン45b(図4参照)が押下された場合には、学習モードを選択する。
 ステップ103において、第2プロセッサ12(図1参照)は、検証モードが選択されたか否かを判定する。検証モードが選択さなかった場合、処理は、ステップ104へ進む。検証モードが選択された場合、処理は、ステップ105へ進む。
 ステップ104において、学習処理部10(図1参照)は、学習モードにおける学習処理を行う。具体的には、学習処理部10は、予め設定された回数(エポック数23)分、細胞画像80を用いて、第1学習条件22による学習モデル21の学習を行う。その後、処理は、終了する。なお、予め設定された回数(エポック数23)は、学習条件設定画面111a(図4参照)のエポック数入力欄43に入力された値である。
 ステップ103からステップ105へ処理が進んだ場合、ステップ105において、判定部12d(図3参照)は、過去に同じ学習条件で検証行ったか否かを判定する。具体的には、判定部12dは、第1学習条件22(図1参照)と等しい第2学習条件24(図1参照)が記憶部13(図1参照)に記憶されているか否かを判定する。第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合、処理は、ステップ106へ進む。第1学習条件22と等しい第2学習条件24が記憶部13に記憶されていない場合、処理は、ステップ107へ進む。
 ステップ106において、表示部121は、第2学習条件24による第2判定結果33(図1参照)を報知する。その後、処理は、終了する。
 ステップ105からステップ107へ処理が進んだ場合、ステップ107において、学習処理部10は、第1学習条件22により、検証モードにおける学習処理を実行する。なお、本実施形態では、ステップ107における検証モードにおける学習処理と並行して、推定部11による細胞画像80の推定処理が実行される。また、本実施形態では、検証モードにおける学習処理は、学習条件設定画面111a(図4参照)のエポック数入力欄43に入力された値とは関係なく、1回の学習処理が行われる。
 ステップ108において、判定部12dは、検証モードにおける学習モデル21の学習処理において、メモリ10b(図1参照)の容量が不足したか否かを判定する。具体的には、判定部12dは、学習処理終了の情報31(図3参照)に基づいて、メモリ10bの容量が不足したか否かを判定する。メモリ10bの容量が不足した場合、処理は、ステップ109へ進む。メモリ10bの容量が不足しなかった場合、処理は、ステップ110へ進む。
 ステップ109において、表示部121は、メモリ10bの容量が不足したか否かの第1判定結果32を報知する。ステップ109では、表示部121は、メモリ10bの容量が不足したことを報知する。具体的には、表示部121は、検証結果報知画面111d(図7参照)を表示することにより、メモリ10bの容量が不足したことを報知する。その後、処理は、終了する。
 ステップ108からステップ110へ処理が進んだ場合、ステップ110において、表示部121は、メモリ10bの容量が充分であることを報知する。具体的には、表示部121は、検証結果報知画面111b(図5参照)を表示することにより、メモリ10bの容量が充分であることを報知する。その後、処理は、終了する。
 次に、図9を参照して、本実施形態による画像処理装置100が第1学習条件22(図1参照)を最適化する処理について説明する。なお、図9に示す第1学習条件22の最適化処理は、検証モードにおける学習処理が1度実行された後に行われる。
 ステップ201において、判定部12d(図3参照)は、検証モードにおける学習処理において、メモリ10bのアウトオブメモリ(メモリアウト)が発生したか否かを判定する。アウトオブメモリが発生した場合、処理は、ステップ202へ進む。アウトオブメモリが発生しなかった場合、処理は、ステップ206へ進む。
 ステップ202において、学習条件変更部12b(図3参照)は、バッチサイズ22cを1つ減少させる。
 ステップ203において、学習処理部10は、バッチサイズ22cが1つ減少された後の第1学習条件222(図3参照)によって、検証モードにおける学習処理を実行する。
 ステップ204において、判定部12dは、ステップ203においてバッチサイズ22cを1つ減少させた後の第1学習条件222による検証モードにおける学習処理において、メモリ10bのアウトオブメモリ(メモリアウト)が発生したか否かを判定する。メモリ10bのアウトオブメモリが発生した場合、処理は、ステップ202へ進む。メモリ10bのアウトオブメモリが発生しなかった場合、処理は、ステップ205へ進む。
 ステップ205において、学習条件登録部12a(図3参照)は、第1学習条件222を、記憶部13(図1参照)に記憶する。その後、処理は、終了する。すなわち、ステップ202~ステップ205の処理は、バッチサイズ22cを減少させながら繰り返し検証モードにおける学習処理を実行することにより、最適なバッチサイズ22cを取得する処理である。
 また、ステップ201からステップ206へ処理が進んだ場合、ステップ206において、学習条件変更部12b(図3参照)は、バッチサイズ22cを1つ増加させる。
 ステップ207において、学習処理部10は、バッチサイズ22cが1つ増加された後の第1学習条件222(図3参照)によって、検証モードにおける学習処理を実行する。
 ステップ208において、判定部12dは、ステップ207においてバッチサイズ22cを1つ増加させた後の第1学習条件222による検証モードにおける学習処理において、メモリ10bのアウトオブメモリ(メモリアウト)が発生したか否かを判定する。メモリ10bのアウトオブメモリが発生した場合、処理は、ステップ209へ進む。メモリ10bのアウトオブメモリが発生しなかった場合、処理は、ステップ206へ進む。
 ステップ209において、学習条件変更部12b(図3参照)は、バッチサイズ22cを1つ減少させる。
 ステップ210において、学習条件登録部12a(図3参照)は、ステップ209においてバッチサイズ22cを1つ減少させた第1学習条件222を、記憶部13(図1参照)に記憶する。その後、処理は、終了する。すなわち、ステップ206~ステップ210の処理は、バッチサイズ22cを増加させながら繰り返し検証モードにおける学習処理を実行することにより、最適なバッチサイズ22cを取得する処理である。
 (本実施形態の効果)
 本実施形態では、以下のような効果を得ることができる。
 本実施形態では、上記のように、細胞画像80の学習時におけるメモリ容量判定システム200は、予め設定された回数分、細胞画像80を用いて、第1学習条件22による学習モデル21の学習を行うプロセッサ(第1プロセッサ10a)と、学習モデル21の学習処理の作業領域に用いるメモリ10bとを備える学習処理部10と、学習処理部10による学習処理を行うことにより、学習モデル21の学習を行う学習モードと、学習処理部10による学習処理を行う際にメモリ10bの容量が不足するか否かの検証を行う検証モードと、を選択する選択部45と、検証モードにおける学習モデル21の学習処理においてメモリ10bの容量が不足したか否かを判定する判定部12dと、判定部12dによる判定結果(第1判定結果32)に基づく報知を行う報知部(表示部121)と、を備える。
 ここで、学習モードにおいても検証モードにおいても、作業領域50として確保されるメモリ10bの容量は等しい。したがって、学習モデル21の学習処理を行う際に作業領域に用いるメモリ10bの容量が不足するか否かの検証を行う検証モードにおいて検証を行うことにより、学習モードによってメモリ10bの容量が不足するか否かを判定することができる。また、メモリ10bの容量が不足したか否かの判定結果(第1判定結果32)が報知される。したがって、ユーザは、学習モードにおいて学習モデル21の学習を行う前に検証モードによって検証を行うことにより、メモリ10bの容量が不足するか否かを、学習モードによる学習処理を行う前に把握することができる。これらの結果、メモリ容量が不足したことに起因して、機械学習が完了しなかったことをユーザが把握することができる。また、学習モードと検証モードとを選択することが可能であるため、検証モードによって検証を行う必要がない場合には、検証モードによる学習処理を行うことなく、学習モードによって学習モデル21を学習させることができる。その結果、ユーザの利便性を向上させることができる。
 また、本実施形態では、上記のように、細胞画像80の学習時におけるメモリ容量判定方法は、予め設定された回数分、細胞画像80を用いて、第1学習条件22による学習モデル21の学習を行うステップと、学習モデル21の学習処理を行うことにより、学習モデル21の学習を行う学習モードと、学習モデル21の学習処理を行う際に作業領域に用いるメモリ10bの容量が不足するか否かの検証を行う検証モードと、を選択するステップと、検証モードにおける学習モデル21の学習処理において、メモリ10bの容量が不足したか否かを判定するステップと、メモリ10bの容量が不足したか否かの判定結果(第1判定結果32)を報知するステップと、を備える。
 これにより、上記細胞画像80の学習時におけるメモリ容量判定システム200と同様に、メモリ容量が不足したことに起因して、機械学習が完了しなかったことをユーザが把握することが可能な細胞画像80の学習時におけるメモリ容量判定を提供することができる。
 また、上記実施形態では、以下のように構成したことによって、下記のような更なる効果が得られる。
 すなわち、本実施形態では、上記のように、学習処理部10は、検証モードにおいて、学習モードにおける学習処理の回数よりも少ない回数の学習処理を実行するように構成されている。これにより、学習モードにおける学習処理に要する時間よりも検証モードにおける学習処理に要する時間を短縮することができる。その結果、メモリ10bの容量が不足するか否かの判定に要する時間を短縮することができる。
 また、本実施形態では、上記のように、学習処理部10は、検証モードにおいて、1回の学習処理を実行するように構成されている。これにより、検証モードにおける学習処理に要する時間をさらに短縮することができる。その結果、メモリ10bの容量が不足するか否かの判定に要する時間をより短縮することができる。
 また、本実施形態では、上記のように、細胞画像80のサイズ22bを増大する処理を行う画像サイズ増大部12cをさらに備え、学習処理部10は、画像サイズ増大部12cによってサイズが増大された細胞画像80aを用いて、検証モードにおける学習処理を行うように構成されている。これにより、検証モードにおける学習処理を行う際に、作業領域50として確保するメモリ10bの容量を増加させることができる。したがって、作業領域50としてメモリ10bの容量を余分に確保した状態で検証モードにおける学習処理を行うことが可能となるので、メモリ10bの容量が不足するか否かの判定条件を厳しくすることができる。その結果、検証モードによる学習モデル21の学習処理を、より厳しい条件で行うことが可能となるので、学習モードにおいてメモリ10bの容量が不足することを容易に抑制することができる。
 また、本実施形態では、上記のように、過去に検証モードにおける学習処理を行った際の学習条件である第2学習条件24と、第2学習条件24における判定結果(第2判定結果33)とを記憶する記憶部13をさらに備え、判定部12dは、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されているか否かを判定するように構成されており、学習処理部10は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、検証モードにおける学習処理を実行しないように構成されており、報知部(表示部121)は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、第2学習条件24による判定結果(第2判定結果33)を報知するように構成されている。これにより、第1学習条件22と等しい第2学習条件24において既に検証が実施されている場合には、検証モードにおける学習処理を行うことなく、第2判定結果33による報知が行われる。そのため、検証モードにおける学習処理を行うことなく、メモリ10bの容量が不足するか否かを、ユーザに報知することができる。その結果、第1学習条件22によって検証モードにおける学習処理を重複して実行することを抑制することができる。
 また、本実施形態では、上記のように、報知部(表示部121)は、メモリ10bの容量が不足した場合に、第1学習条件22における細胞画像80の画像数(バッチサイズ22c)を小さくすることを促す情報30cを報知するように構成されている。これにより、メモリ10bの容量が不足することを回避するために第1学習条件22における細胞画像80の画像数(バッチサイズ22c)を小さくすることをユーザに把握させることができる。その結果、メモリ10bの容量が不足することを回避するための第1学習条件22の項目を把握することが可能となるので、ユーザの熟練度が低い場合でも、第1学習条件22の調整を容易に行うことができる。
 また、本実施形態では、上記のように、報知部(表示部121)は、メモリ10bの容量が不足した場合に、第1学習条件22における細胞画像80のサイズ22bを小さくすることを促す情報30dをさらに報知するように構成されている。これにより、細胞画像80の画像数(バッチサイズ22c)を小さくすることに加えて、細胞画像80のサイズ22bを小さくすることをユーザに把握させることができる。その結果、ユーザの熟練度が低い場合でも、メモリ10bの容量が不足することを回避するための第1学習条件22の調整をより容易に行うことができる。
 また、本実施形態では、上記のように、学習処理部10による検証モードにおける学習処理を行う際に、学習処理部10による学習処理と並行して、すでに学習された学習済みモデル25による細胞画像80の推定処理を、メモリ10bを用いて実行する推定部11をさらに備える。これにより、学習モデル21の学習処理と並行して、学習済みモデル25による細胞画像80の推定処理が実施されるので、学習モデル21の学習処理のみを行う場合と比較して、メモリ10bの負荷を増大させた状態で、検証モードにおける学習処理を行うことができる。その結果、学習モードによる学習モデル21の学習処理を行っている際に、学習済みモデル25による推定処理が並行して行われた場合でも、学習モードにおいてメモリ10bの容量が不足することを抑制することができる。
 また、本実施形態では、上記のように、第1学習条件22の内容を変更する学習条件変更部12bをさらに備え、学習処理部10は、学習条件変更部12bによって第1学習条件22を変更しつつ、検証モードにおける学習処理を繰り返し実行するように構成されており、判定部12dは、判定結果(第1判定結果32)に基づいて、メモリ10bの容量が不足しない最適な第1学習条件22を取得するように構成されている。これにより、メモリ10bの容量が不足しない最適な第1学習条件22が取得されるので、ユーザの熟練度に依存することなく、最適な第1学習条件22によって、学習モードにおける学習モデル21の学習処理を行うことができる。
 また、本実施形態では、上記のように、学習条件変更部12bは、第1学習条件22のうち、細胞画像80の画像数(バッチサイズ22c)を変更するように構成されており、判定部12dは、最適な第1学習条件22として、メモリ10bの容量が不足しない最大の細胞画像80の画像数(バッチサイズ22c)を取得するように構成されている。これにより、メモリ10bの容量が不足しない最大の細胞画像80の画像数(バッチサイズ22c)によって、学習モデル21の学習処理を行うことができる。その結果、メモリ10bの容量が不足することを防止しつつ、学習モデル21の学習精度を向上させることができる。
 また、本実施形態では、上記のように、学習モデル21の種類22aと、学習モデル21の学習に用いる細胞画像80の画像数(バッチサイズ22c)と、細胞画像80のサイズ22bと、学習モデル21に学習させる識別クラスの数22dとを含む第1学習条件22を登録する学習条件登録部12aをさらに備える。これにより、登録された学習モデル21の種類22aと、学習モデル21の学習に用いる細胞画像80の画像数(バッチサイズ22c)と、細胞画像80のサイズ22bと、学習モデル21に学習させる識別クラスの数22dとによって学習モデル21を学習する際に、メモリ10bの容量が不足するか否かを把握することができる。
 [変形例]
 なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく請求の範囲によって示され、さらに請求の範囲と均等の意味および範囲内でのすべての変更(変形例)が含まれる。
 たとえば、上記実施形態では、画像処理装置100が、クライアントサーバモデルで構築された細胞画像80の学習時におけるメモリ容量判定システム200のサーバとして機能する例を示したが、本発明はこれに限られない。本発明では、たとえば図10に示すように、独立したコンピュータにより構成されていてもよい。図10の例では、画像処理装置100は、第2プロセッサ310および記憶部320を備えたコンピュータ300により構成されている。コンピュータ300には、表示部330および入力部340が接続されている。コンピュータ300は、撮像装置130と通信可能に接続されている。コンピュータ300の第2プロセッサ310が、上記実施形態(図3参照)で示した学習条件登録部12aと、学習条件変更部12bと、画像サイズ増大部12cと、判定部12dと、報知内容取得部12eと、を機能ブロックとして含む。
 また、上記実施形態および図10に示した変形例では、単一の第2プロセッサ12(310)により、学習条件登録部12a、学習条件変更部12b、画像サイズ増大部12c、判定部12d、報知内容取得部12eとしての各処理を実行する例を示したが、本発明はこれに限られない。細胞画像80の学習時におけるメモリ10bの容量が不足するか否かの各処理は、複数のプロセッサによって分担して実行されてもよい。1つ1つの処理が別々のプロセッサによって実行されてもよい。複数のプロセッサは、別々のコンピュータに設けられていてもよい。つまり、画像処理装置100が、複数台のコンピュータによって構成されていてもよい。
 また、上記実施形態では、学習処理部10が、検証モードにおいて、学習モードにおける学習処理よりも少ない回数の学習処理を実行する構成の例を示したが、本発明はこれに限られない。たとえば、学習処理部10は、検証モードにおいて、学習モードにおける学習処理と同じか、それ以上の回数の学習処理を実行するように構成されていてもよい。しかしながら、学習処理部10が、検証モードにおいて、学習モードにおける学習処理と同じか、それ以上の回数の学習処理を実行する場合、メモリ10bの容量が不足するか否かの検証に要する時間が増加する。したがって、学習処理部10は、検証モードにおいて、学習モードにおける学習処理よりも少ない回数の学習処理を実行するように構成されることが好ましい。
 また、上記実施形態では、学習処理部10が、画像サイズ増大部12cによってサイズが増加された細胞画像80aを用いて、検証モードにおける学習処理を実行する構成の例を示したが、本発明はこれに限られない。たとえば、学習処理部10は、サイズが増加された細胞画像80aではなく、細胞画像80を用いて検証モードにおける学習処理を実行するように構成されていてもよい。この場合、第2プロセッサ12は、画像サイズ増大部12cを備えていなくてもよい。
 また、上記実施形態では、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、学習処理部10が、第1学習条件22によって検証モードにおける学習処理を実行しない構成の例を示したが、本発明はこれに限られない。たとえば、学習処理部10は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合であっても、第1学習条件22による検証モードにおける学習処理を実行するように構成されていてもよい。しかしながら、学習処理部10が、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合であっても、第1学習条件22による検証モードにおける学習処理を実行する構成の場合、本来不要な検証モードにおける学習処理を行うことになる。したがって、学習処理部10は、第1学習条件22と等しい第2学習条件24が記憶部13に記憶されている場合には、第1学習条件22によって検証モードにおける学習処理を実行しないように構成されることが好ましい。
 また、上記実施形態では、メモリ容量判定システム200が、学習処理部10が検証モードにおける学習処理を行う際に、学習処理部10による学習処理と並行して、学習済みモデル25による細胞画像80の推定処理を、メモリ10bを用いて実行する推定部11を備える構成の例を示したが、本発明はこれに限られない。メモリ容量判定システム200は、推定部11を備えていなくてもよい、
 また、上記実施形態では、メモリ容量判定システム200が学習条件変更部12bを備え、学習処理部10が、学習条件変更部12bによって第1学習条件22を変更しつつ、検証モードにおける学習処理を繰り返し実行する構成の例を示したが、本発明はこれに限られない。たとえば、学習処理部10は、学習条件変更部12bによって第1学習条件22を変更しつつ、検証モードにおける学習処理を繰り返し実行しないように構成されていてもよい。この場合、メモリ容量判定システム200は、学習条件変更部12bを備えていなくてもよい。
 また、上記実施形態では、判定部12dが、最適な第1学習条件22として、メモリ10bの容量が不足しない最大の細胞画像80のバッチサイズ22cを取得する構成の例を示したが、本発明はこれに限られない。たとえば、判定部12dは、最適な第1学習条件22として、メモリ10bの容量が不足しない最大の細胞画像80のサイズを取得するように構成されていてもよい。
 また、上記実施形態では、第1プロセッサ10aと、推定部11とを、異なるプロセッサとする構成の例を示したが、本発明はこれに限られない。たとえば、第1プロセッサ10aと推定部11とは、同一のプロセッサによって構成されていてもよい。
 また、上記実施形態では、画像処理装置100が、学習モデル21の学習と、細胞画像80の解析とを行う構成の例を示したが、本発明はこれに限られない。たとえば、画像処理装置100は、学習モデル21の学習のみを行う学習装置として構成されていてもよい。
 また、上記実施形態では、画像処理装置100が、細胞画像80に写る細胞の分類を行うことを、学習モデル21に学習させる構成の処理を示したが、本発明はこれに限られない。たとえば、画像処理装置100は、細胞画像80に写る細胞の解像度を向上させることを学習モデルに学習させるように構成されていてもよい。画像処理装置100が学習モデルに学習させる内容は、ユーザが任意に設定し得る。
 [態様]
 上記した例示的な実施形態は、以下の態様の具体例であることが当業者により理解される。
(項目1)
 予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うプロセッサと、前記学習モデルの学習処理の作業領域に用いるメモリとを備える学習処理部と、
 前記学習処理部による学習処理を行うことにより、前記学習モデルの学習を行う学習モードと、前記学習処理部による学習処理を行う際に前記メモリの容量が不足するか否かの検証を行う検証モードと、を選択する選択部と、
 前記検証モードにおける前記学習モデルの学習処理において前記メモリの容量が不足したか否かを判定する判定部と、
 前記判定部による判定結果に基づく報知を行う報知部と、を備える、細胞画像の学習時におけるメモリ容量判定システム。
(項目2)
 前記学習処理部は、前記検証モードにおいて、前記学習モードにおける学習処理の回数よりも少ない回数の学習処理を実行するように構成されている、項目1に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目3)
 前記学習処理部は、前記検証モードにおいて、1回の学習処理を実行するように構成されている、項目2に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目4)
 前記細胞画像のサイズを増大する処理を行う画像サイズ増大部をさらに備え、
 前記学習処理部は、前記画像サイズ増大部によってサイズが増大された前記細胞画像を用いて、前記検証モードにおける学習処理を行うように構成されている、項目1~3のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目5)
 過去に前記検証モードにおける学習処理を行った際の学習条件である第2学習条件と、前記第2学習条件における前記判定結果とを記憶する記憶部をさらに備え、
 前記判定部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されているか否かを判定するように構成されており、
 前記学習処理部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されている場合には、前記検証モードにおける学習処理を実行しないように構成されており、
 前記報知部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されている場合には、前記第2学習条件による前記判定結果を報知するように構成されている、項目1~4のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目6)
 前記報知部は、前記メモリの容量が不足した場合に、前記第1学習条件における前記細胞画像のバッチサイズを小さくすることを促す情報を報知するように構成されている、項目1~5のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目7)
 前記報知部は、前記メモリの容量が不足した場合に、前記第1学習条件における前記細胞画像のサイズを小さくすることを促す情報をさらに報知するように構成されている、項目6に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目8)
 前記学習処理部による前記検証モードにおける学習処理を行う際に、前記学習処理部による学習処理と並行して、すでに学習された学習済みモデルによる前記細胞画像の推定処理を、前記メモリを用いて実行する推定部をさらに備える、項目1~7のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目9)
 前記第1学習条件の内容を変更する学習条件変更部をさらに備え、
 前記学習処理部は、前記学習条件変更部によって前記第1学習条件を変更しつつ、前記検証モードにおける学習処理を繰り返し実行するように構成されており、
 前記判定部は、前記判定結果に基づいて、前記メモリの容量が不足しない最適な前記第1学習条件を取得するように構成されている、項目1~8のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目10)
 前記学習条件変更部は、前記第1学習条件のうち、前記細胞画像のバッチサイズを変更するように構成されており、
 前記判定部は、前記最適な前記第1学習条件として、前記メモリの容量が不足しない最大の前記細胞画像のバッチサイズを取得するように構成されている、項目9に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目11)
 学習モデルの種類と、前記学習モデルの学習に用いる細胞画像のバッチサイズと、前記細胞画像のサイズと、前記学習モデルに学習させる識別クラスの数とを含む前記第1学習条件を登録する学習条件登録部をさらに備える、項目1~10のいずれか1項に記載の細胞画像の学習時におけるメモリ容量判定システム。
(項目12)
 予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うステップと、
 前記学習モデルの学習処理を行うことにより、前記学習モデルの学習を行う学習モードと、前記学習モデルの学習処理を行う際に作業領域に用いるメモリの容量が不足するか否かの検証を行う検証モードと、を選択するステップと、
 前記検証モードにおける前記学習モデルの学習処理において、前記メモリの容量が不足したか否かを判定するステップと、
 前記メモリの容量が不足したか否かの判定結果を報知するステップと、を備える、細胞画像の学習時におけるメモリ容量判定方法。
 10 学習処理部
 10a 第1プロセッサ
 10b メモリ
 12a 学習条件登録部
 12b 学習条件変更部
 12c 画像サイズ増大部
 12d 判定部
 13 記憶部
 21 学習モデル
 22 第1学習条件
 22a 学習モデルの種類
 22b 細胞画像のサイズ
 22c バッチサイズ(細胞画像の画像数)
 22d 識別クラスの数
 23 エポック数(予め設定された回数れ)
 24 第2学習条件
 25 学習済みモデル
 32 第1判定結果(判定結果)
 33 第2判定結果(判定結果)
 45 選択部
 45a 検証ボタン
 45b 学習開始ボタン
 50 作業領域
 80 細胞画像
 80a サイズが増加された細胞画像
 121、330 表示部(報知部)
 200 細胞画像の学習時におけるメモリ容量判定システム

Claims (12)

  1.  予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うプロセッサと、前記学習モデルの学習処理の作業領域に用いるメモリとを備える学習処理部と、
     前記学習処理部による学習処理を行うことにより、前記学習モデルの学習を行う学習モードと、前記学習処理部による学習処理を行う際に前記メモリの容量が不足するか否かの検証を行う検証モードと、を選択する選択部と、
     前記検証モードにおける前記学習モデルの学習処理において前記メモリの容量が不足したか否かを判定する判定部と、
     前記判定部による判定結果に基づく報知を行う報知部と、を備える、細胞画像の学習時におけるメモリ容量判定システム。
  2.  前記学習処理部は、前記検証モードにおいて、前記学習モードにおける学習処理の回数よりも少ない回数の学習処理を実行するように構成されている、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  3.  前記学習処理部は、前記検証モードにおいて、1回の学習処理を実行するように構成されている、請求項2に記載の細胞画像の学習時におけるメモリ容量判定システム。
  4.  前記細胞画像のサイズを増大する処理を行う画像サイズ増大部をさらに備え、
     前記学習処理部は、前記画像サイズ増大部によってサイズが増大された前記細胞画像を用いて、前記検証モードにおける学習処理を行うように構成されている、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  5.  過去に前記検証モードにおける学習処理を行った際の学習条件である第2学習条件と、前記第2学習条件における前記判定結果とを記憶する記憶部をさらに備え、
     前記判定部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されているか否かを判定するように構成されており、
     前記学習処理部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されている場合には、前記検証モードにおける学習処理を実行しないように構成されており、
     前記報知部は、前記第1学習条件と等しい前記第2学習条件が前記記憶部に記憶されている場合には、前記第2学習条件による前記判定結果を報知するように構成されている、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  6.  前記報知部は、前記メモリの容量が不足した場合に、前記第1学習条件における前記細胞画像の画像数を小さくすることを促す情報を報知するように構成されている、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  7.  前記報知部は、前記メモリの容量が不足した場合に、前記第1学習条件における前記細胞画像のサイズを小さくすることを促す情報をさらに報知するように構成されている、請求項6に記載の細胞画像の学習時におけるメモリ容量判定システム。
  8.  前記学習処理部による前記検証モードにおける学習処理を行う際に、前記学習処理部による学習処理と並行して、すでに学習された学習済みモデルによる前記細胞画像の推定処理を、前記メモリを用いて実行する推定部をさらに備える、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  9.  前記第1学習条件の内容を変更する学習条件変更部をさらに備え、
     前記学習処理部は、前記学習条件変更部によって前記第1学習条件を変更しつつ、前記検証モードにおける学習処理を繰り返し実行するように構成されており、
     前記判定部は、前記判定結果に基づいて、前記メモリの容量が不足しない最適な前記第1学習条件を取得するように構成されている、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  10.  前記学習条件変更部は、前記第1学習条件のうち、前記細胞画像の画像数を変更するように構成されており、
     前記判定部は、前記最適な前記第1学習条件として、前記メモリの容量が不足しない最大の前記細胞画像の画像数を取得するように構成されている、請求項9に記載の細胞画像の学習時におけるメモリ容量判定システム。
  11.  学習モデルの種類と、前記学習モデルの学習に用いる細胞画像の画像数と、前記細胞画像のサイズと、前記学習モデルに学習させる識別クラスの数とを含む前記第1学習条件を登録する学習条件登録部をさらに備える、請求項1に記載の細胞画像の学習時におけるメモリ容量判定システム。
  12.  予め設定された回数分、細胞画像を用いて、第1学習条件による学習モデルの学習を行うステップと、
     前記学習モデルの学習処理を行うことにより、前記学習モデルの学習を行う学習モードと、前記学習モデルの学習処理を行う際に作業領域に用いるメモリの容量が不足するか否かの検証を行う検証モードと、を選択するステップと、
     前記検証モードにおける前記学習モデルの学習処理において、前記メモリの容量が不足したか否かを判定するステップと、
     前記メモリの容量が不足したか否かの判定結果を報知するステップと、を備える、細胞画像の学習時におけるメモリ容量判定方法。
PCT/JP2022/033650 2021-09-13 2022-09-08 細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法 WO2023038074A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280055603.4A CN117859118A (zh) 2021-09-13 2022-09-08 进行细胞图像的学习时的存储器容量判定系统和进行细胞图像的学习时的存储器容量判定方法
JP2023546977A JPWO2023038074A1 (ja) 2021-09-13 2022-09-08

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-148567 2021-09-13
JP2021148567 2021-09-13

Publications (1)

Publication Number Publication Date
WO2023038074A1 true WO2023038074A1 (ja) 2023-03-16

Family

ID=85506417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/033650 WO2023038074A1 (ja) 2021-09-13 2022-09-08 細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法

Country Status (3)

Country Link
JP (1) JPWO2023038074A1 (ja)
CN (1) CN117859118A (ja)
WO (1) WO2023038074A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017117048A (ja) * 2015-12-22 2017-06-29 富士通株式会社 制御プログラム、制御装置、および制御方法
JP2018018451A (ja) * 2016-07-29 2018-02-01 富士通株式会社 機械学習方法、機械学習プログラム及び情報処理装置
WO2020003434A1 (ja) * 2018-06-28 2020-01-02 株式会社島津製作所 機械学習方法、機械学習装置、及び機械学習プログラム
JP2020127148A (ja) * 2019-02-05 2020-08-20 キヤノン株式会社 情報処理装置及びその制御方法及びプログラム
JP2020197861A (ja) * 2019-05-31 2020-12-10 株式会社沖データ 画像形成システムおよび異常対処方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017117048A (ja) * 2015-12-22 2017-06-29 富士通株式会社 制御プログラム、制御装置、および制御方法
JP2018018451A (ja) * 2016-07-29 2018-02-01 富士通株式会社 機械学習方法、機械学習プログラム及び情報処理装置
WO2020003434A1 (ja) * 2018-06-28 2020-01-02 株式会社島津製作所 機械学習方法、機械学習装置、及び機械学習プログラム
JP2020127148A (ja) * 2019-02-05 2020-08-20 キヤノン株式会社 情報処理装置及びその制御方法及びプログラム
JP2020197861A (ja) * 2019-05-31 2020-12-10 株式会社沖データ 画像形成システムおよび異常対処方法

Also Published As

Publication number Publication date
JPWO2023038074A1 (ja) 2023-03-16
CN117859118A (zh) 2024-04-09

Similar Documents

Publication Publication Date Title
US20220413839A1 (en) Software component defect prediction using classification models that generate hierarchical component classifications
US10262233B2 (en) Image processing apparatus, image processing method, program, and storage medium for using learning data
JP6090327B2 (ja) ボトルネック検出装置、方法及びプログラム
US7043400B2 (en) Testing using policy-based processing of test results
US7092571B2 (en) Method and apparatus for regional image quantification verification
RU2013134325A (ru) Устройство и способ распознавания жестов на основе анализа множества возможных границ раздела
JP2020030692A (ja) 判別装置及び機械学習方法
US20200279359A1 (en) Inspection apparatus, inspection method, and non-volatile storage medium
WO2020255224A1 (ja) 異常検知装置、学習装置、異常検知方法、学習方法、異常検知プログラム、及び学習プログラム
WO2023038074A1 (ja) 細胞画像の学習時におけるメモリ容量判定システムおよび細胞画像の学習時におけるメモリ容量判定方法
JP5231159B2 (ja) 人物検出装置及び方法、学習モデル作成装置及び方法、並びにプログラム
Clark et al. Performance characterization in computer vision a tutorial
JP2001043367A (ja) 外観検査シミュレーションシステムおよびその方法
US20220351533A1 (en) Methods and systems for the automated quality assurance of annotated images
Chan et al. PAT: A pattern classification approach to automatic reference oracles for the testing of mesh simplification programs
US20200167908A1 (en) Determination device and determining method thereof
JP2022003446A (ja) 情報処理装置
US20230267727A1 (en) Image analysis apparatus, image analysis method, and storage medium
JP5812941B2 (ja) プログラム試験装置
WO2024095721A1 (ja) 画像処理装置および画像処理方法
JP7073806B2 (ja) スクラッチ判定プログラム、スクラッチ判定装置およびスクラッチ判定方法
JP2018112959A (ja) ソフトウェア性能測定システム及びプログラム
US8775558B1 (en) Device and method for automation via image-based user interfaces
CN113094291B (zh) 锁屏界面的匹配验证方法、装置、设备及存储介质
JP7309134B2 (ja) 可視化方法、これに用いるプログラム、および、可視化装置、並びに、これを備える判別装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22867395

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023546977

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 202280055603.4

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE