The invention discloses an eye fundus image-based cardiovascular and cerebrovascular disease occurrence type and risk prediction method and system, computer equipment and a storage medium. The method comprises the following steps: S1, acquiring a sample data set of cardiovascular and cerebrovascular diseases, wherein the sample data set comprises fundus images of previous patients and occurrence conditions of cardiovascular and cerebrovascular diseases of three-year and five-year follow-up visit; s2, taking the fundus images in the sample data set as input data, taking occurrence conditions of cardiovascular and cerebrovascular diseases of follow-up visit of three years and five years as data labels, inputting the data labels into a deep learning model Inception-ResNet-V2 for feature extraction, training and verification, and constructing a cardiovascular and cerebrovascular occurrence type and risk prediction model based on the fundus images; s3, the eye fundus image of the patient to be detected is input into the constructed prediction model, a prediction result is output, and the prediction result is disease category classification and occurrence risk level classification of cardiovascular and cerebrovascular diseases of the patient in the next three years and five years. The heart and cerebral vessel occurrence type and risk are predicted based on the eye fundus image, and the method is simple, convenient, high in prediction accuracy and good in effect.