Building a powerful country in transportation is a major strategic decision made based on national conditions, focusing on the overall situation and facing the future. The identification of potholes has important applications in the field of reducing accident rates as well as geological exploration and autonomous driving. In this paper, based on 301 road pictures, the training samples of the model are increased by data augmentation method. After normalization and standardization of the augmented training data, the random weighted sampling method is adopted as the training input of the model. In this paper, the VGG16 model is adopted as the classification model of road images, and the model parameters of lmageNet 1000 data set are taken as the feature extraction layer of the model in the way of transfer learning, and the model is trained on the modified classification layer. Two indexes, F1-score and Kappa coefficient, were used to evaluate the model. The model F1-score fluctuates around 0.5 and is higher than 0.4, and the Kappa coefficient is close to 0.6 in most cases. This shows that the model trained in this paper has high generalization ability and classification accuracy.