neerajx0/Aerial-Image
Viewer โข Updated โข 4.5k โข 14 โข 2
How to use neerajx0/Aeriel-Scene-Detection 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://neerajx0/Aeriel-Scene-Detection")