The official repository for CosPGD: a unified white-box adversarial attack for pixel-wise prediction tasks.