The application discloses a pumping unit
noise positioning method based on
deep learning, and steps are as follows: S1, local
seismic trace sets of several fixed sizes are obtained by using sliding window single-step sliding to block seismic data by columns, if the number of seismic traces containing pumping unit
noise reaches threshold Th1, it is marked as 1, and if the number of seismic traces containing pumping unit
noise is lower than threshold Th2, it is marked as 0; S2, the local
seismic trace sets are pretreated, the
energy spectrum is calculated, mean filtering is carried out, then down-sampling is carried out, and part of data is randomly selected as a
training set, and the remaining part is used as a
test set; S3, a
deep CNN network is built, and the
training set obtained in step S2 is used to
train the CNN network, and in the training process, the misclassified data is used to supplement the
training set for repeated training; S4, the
test sample is used to test the CNN network trained in step S3, and the positioning function is quantitatively evaluated; S5, the width of the positioned pumping unit noise is estimated according to the positioning result in step S4.