Towards generalization of deep learning in pervasive human motion analysis