The Curious Robot: Learning Visual Representations via Physical Interactions