Instructions to use SopanhaZinII/panha1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use SopanhaZinII/panha1 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://SopanhaZinII/panha1") - Notebooks
- Google Colab
- Kaggle
Facial Condition Analysis Model
Detects 5 skin conditions: Acne, Dry Skin, Oily Skin, Dark Spots, Wrinkles
Usage
import tensorflow as tf
from tensorflow.keras.models import load_model
model = load_model('finetuned_best.h5')
# Input: 224x224 RGB images
# Output: 5 predictions (percentages)
Model Details
- Framework: TensorFlow/Keras
- Input Size: 224x224x3
- Output: 5 sigmoid outputs
- Accuracy: ~88%