Autism_System / test_fer.py
nehal2006's picture
initial commit
68f9b9e
raw
history blame contribute delete
213 Bytes
import os
os.environ["KERAS_BACKEND"] = "torch"
try:
from fer import FER
detector = FER()
print("FER imported and detector created with torch backend.")
except Exception as e:
print(f"Error: {e}")