Instructions to use CaptainHaaz/FERmodelCNN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use CaptainHaaz/FERmodelCNN with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://CaptainHaaz/FERmodelCNN") - Notebooks
- Google Colab
- Kaggle
| {"architectures": ["CNN"], "id2label": {"0": "angry", "1": "disgust", "2": "fear", "3": "happy", "4": "neutral", "5": "sad", "6": "surprise"}, "label2id": {"angry": 0, "disgust": 1, "fear": 2, "happy": 3, "neutral": 4, "sad": 5, "surprise": 6}} |