The accelerometer signal is capable of providing crucial information regarding object motion, posture, and vibration. Therefore, it is of great significance to investigate noise suppression techniques for accelerometer signals. However, in complex industrial environments and under various equipment conditions, the noise generated exhibits a diverse nature, leading to suboptimal noise reduction outcomes when employing conventional denoising algorithms. This paper proposes a neural network model (AgentUNet) for denoising accelerometer signals. The network consists of a combination of UNet and Agent Attention, enhancing its ability to learn contextual information and achieve superior denoising performance. Additionally, instead of using clean signals as labeled data, we train the neural network using pairs of noisy data, thereby alleviating the challenge of collecting clean signals in industrial environments. Finally, we conduct experiments on experiment dataset. The experimental results indicate that AgentUNet achieves superior denoising performance compared to other baseline models. Furthermore, the denoising effectiveness of the neural network trained without using clean signals as labeled data is similar to that of the network trained using supervised learning methods.