I am following the reference from the following page:
https://tfhub.dev/google/universal-sentence-encoder/4
In the code the model is loaded from the internet with the following code:
import tensorflow as tf
embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder/4")
I would like to be able to load a model I have saved in my local directory
For example:
embed = hub.Module('data\models\universal-sentence-encoder_4.tar.gz')
This code returns the following error
RuntimeError: Missing implementation that supports: loader
How can this be done?