Instructions to use KalalukaP/soil-moisture-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use KalalukaP/soil-moisture-model with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://KalalukaP/soil-moisture-model") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
import keras
MODEL_REPO = "KalalukaP/soil-moisture-model"
print("=" * 60) print("ZASI SMART IRRIGATION - STARTING") print("=" * 60) print(f"Model repository: {MODEL_REPO}")
try: model = keras.saving.load_model( f"hf://{MODEL_REPO}" )
print("Model loaded successfully.")
print(f"Model type: {type(model).__name__}")
except Exception as e: print(f"ERROR: Failed to load model: {e}") raise
- Downloads last month
- 17
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support