Instructions to use Syahhh01/Stunting_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use Syahhh01/Stunting_model with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("Syahhh01/Stunting_model") - Notebooks
- Google Colab
- Kaggle
File size: 175 Bytes
c5a65e1 | 1 2 3 4 5 6 7 8 | import tensorflow as tf
# Load SavedModel
model = tf.keras.models.load_model('.')
# Save sebagai .h5
model.save('model.h5', save_format='h5')
print("Model converted to .h5") |