Upload hk_transit_flow_net.keras with huggingface_hub 7e5c00b verified
Antcar commited on
How to use WheelsTransit/HK-TransitFlow-Net 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://WheelsTransit/HK-TransitFlow-Net")