hongyuanyu / SPAN

Swift Parameter-free Attention Network for Efficient Super-Resolution
Apache License 2.0
135 stars 6 forks source link

dont know how to use #2

Open guoqi1217 opened 12 months ago

guoqi1217 commented 12 months ago

download checkpoints,but dont now how to use to get the performance in the introduct

JR-Wang commented 10 months ago

Can you get the performance in the introduction now? I tried to use 'options/test/EDSR/test_EDSR_Mx4.yml',but it seems not the correct yaml file.

ZHAOZHIHAO commented 3 months ago

Just load the model using the model class defined in span_arch.py. No yml needed. When I use their codes, I normalize the image as in their codes, but don't do de-normalization and just clip the output to [0, 1]. By doing so, the output looks good to me.