Vision Transformer for DeepFake detection
Training and evaluation of a Vision Transformer for classifying real and generated faces.
Vision Transformers are a more recent approach for detecting image forgery and DeepFakes with quite promising results. In the following you can see the implementation of a Vision Transformer Model that is trained on the classification of real and generated faces. The model could be used for analyzing DeepFake videos with a frame-by-frame approach, however since this would require a lot more time and computational power, I decided to keep it simple with images so that you can run it in a reasonable amount of time.