Learning to Traverse Image Manifolds