JingyunLiang / SwinIR

SwinIR: Image Restoration Using Swin Transformer (official repository)

Home Page:https://arxiv.org/abs/2108.10257

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the FLOPs of SwinIR

yueruchen opened this issue · comments


Thanks for sharing the code of this interesting work. Would you mind helping provide the FLOPs cost of SwinIR? E.g., FLOPs under 256x256x3 images. Thanks!

Please refer to the code below

print(height, width, model.flops() / 1e9)

Feel free to open it if you have more questions.

ezoic increase your site revenue