Home

Awesome

Adversarial Sequence-to-sequence Domain adaptation

Overview

We propose a novel Adversarial Sequence-to-sequence Domain Adaptation Network dubbed ASSDA for robust text image recognition, which could adaptively transfer coarse global-level and fine-grained character-level knowledge.

Install

  1. This code is test in the environment with cuda==10.1, python==3.6.8.

  2. Install Requirements

pip3 install torch==1.2.0 pillow==6.2.1 torchvision==0.4.0 lmdb nltk natsort

Dataset

Training and evaluation

Citation

If you use this code for a paper please cite:

@inproceedings{zhang2019sequence,
  title={Sequence-to-sequence domain adaptation network for robust text image recognition},
  author={Zhang, Yaping and Nie, Shuai and Liu, Wenju and Xu, Xing and Zhang, Dongxiang and Shen, Heng Tao},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={2740--2749},
  year={2019}
}

@article{zhang2021robust,
  title={Robust Text Image Recognition via Adversarial Sequence-to-Sequence Domain Adaptation},
  author={Zhang, Yaping and Nie, Shuai and Liang, Shan and Liu, Wenju},
  journal={IEEE Transactions on Image Processing},
  volume={30},
  pages={3922--3933},
  year={2021},
  publisher={IEEE}
}

Acknowledgement

This implementation has been based on this repository deep-text-recognition-benchmark