Surface wave inversion can be used to detect shallow surface stratigraphic structures. However, the efficiency and accuracy of surface wave inversion is always a problem that earthquake researchers need to consider and solve. To address the highly nonlinear, multi-parameter geophysical optimization problem of surface wave inversion, this study proposes a Rayleigh wave dispersion curve based on a one-dimensional convolutional neural network combined with support vector regression (CNN-SVR). The inversion method improves the inversion efficiency and accuracy of the surface wave to a certain extent. Among them, in the deep learning training stage, the method of refinement and layering was used to process the training set to improve the inversion resolution. The experimental results show that the surface wave inversion method proposed in this paper can better predict the stratigraphic structure in practical data applications, and the prediction error is small, which shows the practicability and superiority of this research method.