The invention provides a construction and training method and device for an eye
fundus image multi-task model, and belongs to the field of
image processing, and the method comprises the steps: S1, collecting and sorting a public eye
fundus image data set, constructing an image text pair according to a real
label, and carrying out the two-stage training of a multi-
modal large
language model, the multi-mode large
language model comprises a visual
encoder, a visual
projector and a large
language model; s2, inputting the image data # imgabs0 # into a visual
encoder in the trained multi-
modal large language model to obtain an enhanced visual feature # imgabs1 #, and extracting a visual feature # imgabs3 # from the # imgabs2 # through a visual
projector; and S3, embedding the text input # imgabs4 # to obtain a text feature # imgabs5 #, splicing the text feature # imgabs5 # with the visual feature # imgabs6 #, and inputting the spliced text feature # imgabs5 # and the visual feature # imgabs6 # into a large language model to generate a prediction text A. According to the method, a wide range of
fundus image data is collected for training, multilevel
lesion features in the fundus image are fully utilized, and the performance of the model for executing a fundus
disease auxiliary diagnosis task can be effectively improved.