Layouts from Panoramic Images with Geometry and Deep Learning