researchmm / TTSR

[CVPR'20] TTSR: Learning Texture Transformer Network for Image Super-Resolution
MIT License
765 stars 115 forks source link

how to train a Scale 2 network #11

Closed ningbende closed 4 years ago

ningbende commented 4 years ago

Thanks for your great work. I want to train a Scale 2 network, eg. 1920x1080->3840x2160. what should I modified the code? Thanks

FuzhiYang commented 4 years ago

Currently, our code only supports x4 upscale factor. If you want to train other scale factors (e.g. x2), roughly you need to do such changes:

  1. Use another backbone which is proper to the new scale factor.
  2. Modify texture transformers to transfer textures of proper resolution scales.
  3. Modify CSFI modules to do proper information exchange
ningbende commented 4 years ago

Thanks for your reply. I will Try