I am trying to reproduce the results from a GitHub project, this porject is a deepfake detection model. I am running into an error. The error is "TypeError: image must be numpy array type". One of the...

I am trying to reproduce the results from a GitHub project, this porject is a deepfake detection model. I am running into an error. The error is "TypeError: image must be numpy array type". One of the errors seems to be in the test_model.py file. I am currently using access to remote linux server to run the program. I need your help to work through errors I get until I make the program work. My ultimate goal is I need to find a way to improve the program perhaps by adding an algorithm or something. However for I now I need help just to make the program work.
This is the link to the Github project I am using:

GitHub - noame12/Explainable_Attention_Based_Deepfake_Detector: A Deepfake detector based on hybrid EfficientNet CNN and Vision Transformer archietcture. The model is explainable by rendering a heatmap visualization of the Transformer Relevancy / Attention map.


https://github.com/noame12/Explainable_Attention_Based_Deepfake_Detector https://github.com/noame12/Explainable_Attention_Based_Deepfake_Detector
May 13, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here