CoolFace
Apppublic

jeffliulab/adversarial-attack

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
App README

Adversarial Attack Demo | FGSM & PGD

Upload an image and watch how small, imperceptible perturbations can fool a neural network classifier.

Courses: 215 AI Safety ch1-ch2

Features

  • FGSM (Fast Gradient Sign Method) attack
  • PGD (Projected Gradient Descent) iterative attack
  • Side-by-side comparison: original vs perturbation vs adversarial
  • Adjustable epsilon, step size, and iteration count
  • L-inf / L2 / SSIM metrics