ActFusion: a Unified Diffusion Model for Action Segmentation and Anticipation