I am practicing Neural Style Transfer and am facing an issue here with the costs. After few iterations, the costs become NaN.. What might be the issue here? Where should I try to focus on?
Iteration 0 :
total cost = 1919359.6
content cost = 125.083374
style cost = 47952.72
Iteration 1 :
total cost = nan
content cost = nan
style cost = nan
Iteration 2 :
total cost = nan
content cost = nan
style cost = nan
Iteration 3 :
total cost = nan
content cost = nan
style cost = nan
Generally I don't have a good plan how to figure out where the nan happens. Especially with TensorFlow, where I am not familiar with the debugging techniques.
The code is here: https://github.com/enyangxxx/neuralStyleTransferMonet It is the code from a Coursera course and I want to apply it on my own themes later :)