Loss Regularizing Robotic Terrain Classification