Physics-based deep learning for understanding crowd behaviors