FFTFormer Documentation

repository·main·Indexed 18 days ago

https://github.com/kkkls/fftformer

An efficient frequency domain-based Transformer implementation for high-quality image deblurring based on the CVPR 2023 paper. It features a Frequency Domain-based Self-Attention Solver (FSAS) and a Discriminative Frequency Domain-based FFN (DFFN) to enhance restoration quality.

Tokens
371
Snippets
2
Records
4
Agent score
14%

What's inside FFTFormer

  1. Generate representative figures using plot scripts

    main

    The repository provides source code for generating representative figures used in the project. These scripts can be modified to suit specific visualization needs.

    Note that these scripts rely on utility functions defined in the basicsr/utils/plot_util.py module (from the BasicSR library), such as:

    • read_data_from_tensorboard: To ingest data from TensorBoard logs.
    • smooth_data: To apply smoothing to data series.
    • read_data_from_txt_2v: To read data from text files.

    One available script is model_complexity_cmp_bsrn.py, which compares model complexity (based on the BSRN paper).