Illegal Instruction : 4 when running deepface
I finally found a solution : underlying was an issue with tensor flow. I changed the version I had and replaced it with an M1-compatible version. It worked as intented
I have a recurring issue when running even the simplest code using deepface.
For information I run it on python 3.9, with a M1 macbook air on OS Monterey 12.0.1
I can't seem to find any information on how to resolve it, hope anyone can help !
Thank you very much in advance,
Paul
from deepface import DeepFace
result = DeepFace.verify(img1_path = "photo1.jpg", img2_path = "photo2.jpg")
obj = DeepFace.analyze(img_path = "photo1.jpg", actions = ['age', 'gender', 'race', 'emotion'])