At this function: https://github.com/guoyww/AnimateDiff/blob/cf80ddeb47b69cf0b16f225800de081d486d7f21/animatediff/utils/util.py#L17 I do not think the correct logic is *and* but it should be *or*?