Research Article
A Deep Learning-Based Approach for Curve Image Classification Using PyTorch
Abstract
Curve image classification is important in fields of biomedical imaging, remote sensing and industrial quality control. They are traditional person based methods, which heavily utilize hand crafted features and traditional machine learning techniques, and they break down toward data that are too complex to process. Here, we introduce a deep learning scheme using PyTorch with a CNN augmented with Transformer-based enhancements for improved classification accuracy and generalizability. A hybrid CNN-Transformer architecture is introduced and hyperparameters are optimized. Advanced data augmentation is also employed. Experimental results reveal significant improvement with respect to traditional methods in accuracy, robustness, and efficiency.
Keywords: Curve Classification; Deep Learning; PyTorch; Convolutional Neural Networks; Transformers
References
- Ronneberger, O., Fischer, P., & Brox, T. (2015). U-net: Convolutional networks for biomedical image segmentation. Medical Image Computing and Computer-Assisted Intervention, 234-241.
- Woo, S., Park, J., Lee, J. Y., et al. (2018). CBAM: Convolutional block attention module. European Conference on Computer Vision (ECCV), 3-19.
- He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 770-778.
- Vaswani, A., Shazeer, N., Parmar, N., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems (NeurIPS), 5998-6008.
- Dosovitskiy, A., Beyer, L., Kolesnikov, A., et al. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. International Conference on Learning Representations (ICLR).
- Tan, M., & Le, Q. (2019). EfficientNet: Rethinking model scaling for convolutional neural networks. Proceedings of the International Conference on Machine Learning (ICML), 6105-6114.
- Howard, A. G., Sandler, M., Chen, B., et al. (2019). Searching for MobileNetV3. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 1314-1324.
- Zhang, X., Zhou, X., Lin, M., & Sun, J. (2018). ShuffleNet: An extremely efficient convolutional neural network for mobile devices. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 6848-6856.
- Xie, S., Girshick, R., Dollár, P., et al. (2017). Aggregated residual transformations for deep neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1492-1500.
- Han, K., Wang, Y., Zhang, H., et al. (2021). Transformer in transformer. Advances in Neural Information Processing Systems (NeurIPS), 15908-15919.