SRGAN-tensorflow
SRGAN-tensorflow copied to clipboard
Issue training SRGAN with perceptual loss
Hi, I got this issue while training SRGAN with perceptual loss
Traceback (most recent call last):
File "main.py", line 231, in
It seemed that I can't not reproduce the problem you encountered. Can you use pdb or ipdb to break at model.py line 341 and check what's inside variable "output"?
In the debugger, keys in 'output' are 'vgg_19/conv5/conv5_4' instead of 'vgg_19_1/vgg_19/conv5/conv5_4'.
I changed line 335 and 337 to target_layer = 'vgg_19/conv5/conv5_4' and target_layer = 'vgg_19/conv2/conv2_2' respectively and solved the problem. Not sure what caused the problem though.
Reinstall tensorflow tensorflow-gpu
I got the same error, how did you solve it?
Go to this commit in pull request: https://github.com/brade31919/SRGAN-tensorflow/pull/37/commits/61d0c25ae0ff298ab00f8ab324414073beb38b87 Thanks @ryancom16