Load a TensorFlow (.h5) model hosted online

I am trying to load .h5 model using a link (https://<url>) stored online but I get this error from TensorFlow:

MODEL_PATH = 'http://<url>/<model_name>.h5'
# I have replace the <tags> with actual URL and file name
model = load_model(MODEL_PATH)
tensorflow.python.framework.errors_impl.UnimplementedError: File system scheme 'http' not implemented 

The link to the .h5 is perfectly fine so it’s something to do with TensorFlow. Can someone please help with this

1 Like