alterzero / DBPN-Pytorch

The project is an official implement of our CVPR2018 paper "Deep Back-Projection Networks for Super-Resolution" (Winner of NTIRE2018 and PIRM2018)
https://alterzero.github.io/projects/DBPN.html
MIT License
565 stars 164 forks source link

[Maybe BUG] Output image's brightness is wrong #30

Closed LoSealL closed 5 years ago

LoSealL commented 5 years ago

I'm using the pre-trained model downloaded from DBPNLL_x8

Use the default command line:

python eval.py

The output somehow looks like: x8 backup link

I use DBPN_x4.pth and

python eval.py --scale_factor=4 --model=models/DBPN_x4.pth --test_dataset=Set5_LR_x4

The output looks like: x4 backup link

Any ideas? @alterzero

alterzero commented 5 years ago

Hi,

Set --residual to False and use --model_type DBPNLL for DBPNLL_x8 For DBPN_x8, use --model_type DBPN and --residual to False

LoSealL commented 5 years ago

Thanks, solved. P.S. The default value of --model is miss spelled corresponding to the downloaded file name (x8 -> 8x)

alterzero commented 5 years ago

Thanks