Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

results are super blurry #35

Open
ihavetoomanyquestions opened this issue Jun 5, 2018 · 3 comments
Open

results are super blurry #35

ihavetoomanyquestions opened this issue Jun 5, 2018 · 3 comments

Comments

@ihavetoomanyquestions
Copy link

ihavetoomanyquestions commented Jun 5, 2018

I am trying to use SRGAN for increasing resolution of some artwork. However, the results I got are super blurry, basically it seems to be doing opposite of what I was expecting: instead of a higher resolution image, I got an image where all nearby colors are mixed together (see this: https://i.imgur.com/1AZpoiZ.png)

My config is as follows:

CUDA_VISIBLE_DEVICES=0,1 python main.py
--output_dir ./experiment_SRResnet/
--summary_dir ./experiment_SRResnet/log/
--mode train
--is_training True
--task SRResnet
--batch_size 2
--flip True
--random_crop True
--crop_size 24
--input_dir_LR ./data/img_lowres/
--input_dir_HR ./data/img_highres/
--num_resblock 16
--name_queue_capacity 4096
--image_queue_capacity 4096
--perceptual_mode MSE
--queue_thread 4
--ratio 0.001
--learning_rate 0.0001
--decay_step 400000
--decay_rate 0.1
--stair False
--beta 0.9
--max_iter 1000000
--save_freq 20000

I am so upset after training the model for so long (1M iterations) and getting this :( What might go wrong?

PS: my images are png files, and I created the low-res version by resizing the high-res ones to 128 x height (the high-res ones are around 800 x height), and I have 3000 images in total.

@harsh306
Copy link

Yes,

  1. You may try to change the crop size
  2. Test intermediate results like after 2k iterations.
  3. Analyze your PSNR plot and content loss plots

@webdevserv
Copy link

I have the same problem. The results are blurry.

@webdevserv
Copy link

PSNR Achieved: 43.998844

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants