IDT
A transformer for removing rain from images that pairs window-based and spatial transformer blocks.
1,881 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 16.4M
- Operations
- 1,881
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE TPAMI 45(11), 2023
- Cited by
- 395 (as of 27 October 2026)
- Authors
- Jie Xiao, Xueyang Fu, Aiping Liu and others
- Source
- GitHub: jiexiaou/IDT
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17479
- Graph hash
- 28c6d586ac071a2692057c596ee80926329e74f260010c3ea011813744f75a7a
- Skeleton hash
- 863f0ff4ddf627780f466a17fd98fb71a82464b9a901ccf152a4e66938e68abd
- Architecture hash
- 73621c74cafebf0c6aaf0e3a175e15e3ca34d26c7ab08583441914996a8bafa5
- Diagram SHA-256
- 3d60b1791a5342cadad5ddd2a97e73daccfb846bc092980214aa8789d7ea1592
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
IDT, the Image De-raining Transformer, is a transformer-based architecture for removing rain from images. Its authors argue that the limitations of convolution, local receptive fields and independence of input content, hinder a model's ability to capture long-range and complicated rain artifacts. They build locality and hierarchy into the network architecture so that the model performs well without costly pre-training.
Because the geometric appearance of rain artifacts is complicated and varies across the image, the model needs both local and non-local features. It therefore uses complementary window-based and spatial transformers, which enhance locality while capturing long-range dependencies. To compensate for the positional blindness of self-attention, it models positional relationships in a separate representative space, with a relative position enhanced multi-head self-attention. For images of arbitrary size, the released code splits the image into overlapped 128 by 128 patches and merges the evaluated patches back to the original resolution.
Key idea. IDT combines complementary window-based and spatial transformers with a relative position enhanced multi-head self-attention to remove rain while recovering image content.
- IDT
- Image De-raining Transformer
- Image Deraining Transformer
- IDT-Derain
- deraining
- rain removal
- image restoration
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Xiao_2023, title={Image De-Raining Transformer}, volume={45}, ISSN={1939-3539}, url={http://dx.doi.org/10.1109/TPAMI.2022.3183612}, DOI={10.1109/tpami.2022.3183612}, number={11}, journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, publisher={Institute of Electrical and Electronics Engineers (IEEE)}, author={Xiao, Jie and Fu, Xueyang and Liu, Aiping and Wu, Feng and Zha, Zheng-Jun}, year={2023}, month=Nov, pages={12978–12995} }