Prostate cancer is one of the most common cancers in men worldwide, second only to lung cancer. The most common method used in diagnosing prostate cancer is the microscopic observation of stained biopsies by a pathologist and the Gleason score of the tissue microarray images. However, scoring prostate cancer tissue microarrays by pathologists using Gleason mode under many tissue microarray images is time-consuming, susceptible to subjective factors between different observers, and has low reproducibility. We have used the two most common technologies, deep learning, and computer vision, in this research, as the development of deep learning and computer vision has made pathology computer-aided diagnosis systems more objective and repeatable. Furthermore, the U-Net network, which is used in our study, is the most extensively used network in medical image segmentation. Unlike the classifiers used in previous studies, a region segmentation model based on an improved U-Net network is proposed in our research, which fuses deep and shallow layers through densely connected blocks. At the same time, the features of each scale are supervised. As an outcome of the research, the network parameters can be reduced, the computational efficiency can be improved, and the method's effectiveness is verified on a fully annotated dataset.