oserror

SavedModel file does not exist when using Tensorflow hub

六眼飞鱼酱① 提交于 2021-01-28 19:35:41
问题 When trying to use the hub.load function from tensorflow_hub , I get an OSError: SavedModel file does not exist at: error. The weird thing is that it worked a few days ago, so I don't quite understand why I'm getting this error now. Code to reproduce: import tensorflow as tf import tensorflow_hub as hub URL = 'https://tfhub.dev/google/universal-sentence-encoder/4' embed = hub.load(URL) Specific error received: OSError Traceback (most recent call last) <ipython-input-11-dfb80f0299b2> in