Residual nets for understanding animal behavior