Stuck pipe refers to the accidental phenomenon whereby drilling tools are stuck in a well during the drilling process and cannot move freely due to various reasons. As a result, the stuck pipe can consume a lot of manpower and material resources. With the development of artificial intelligence, the intelligent prediction and identification of stuck pipe risk has gradually advanced. However, there are usually only a few stuck samples, so the intelligent model is not sufficient to excavate the stuck feature law, and then the model overfitting phenomenon occurs. Regarding the above issue, this paper proposed a limited incident dataset method based on data augmentation. Firstly, in terms of data processing, by applying percentage scaling and random dithering to the original data and combining it with GAN to generate new data, the training dataset was effectively extended, solving the problem of insufficient sample size. Then, in the selection and training of the intelligent model, an LSTM neural network model with an attention mechanism (ATT-LSTM) is introduced. By applying the attention mechanism in each time step, the model can dynamically adjust the degree of attention to different parts of the sequence and better capture the key information in the data, which improve the accuracy of the recognition and the generalization ability of the model. By testing the trained model on field data, the test results show that the method achieves more significant performance improvement on the stuck pipe recognition task, and the prediction accuracy of the intelligent model increases by 21.31% after data enhancement.