Trying to diagnose a `-inf` initial energy error: theano problem

See also: How to debug Bad initial energy: nan?