【发布时间】:2021-02-24 17:32:01
【问题描述】:
以下 python 代码在 Google App Engine 上引发错误:
import tensorflow_hub as hub
embed = hub.Module("https://tfhub.dev/google/universal-sentence-encoder/4")
错误:
RuntimeError: Missing implementation that supports: loader(*('/tmp/tfhub_modules/063d866c06683311b44b4992fd46003be952409c',), **{})
我的 app.yaml 是标准环境,正在使用
instance_class: F4_1G
这适用于我的本地盒子
【问题讨论】:
标签: python-3.x google-app-engine tensorflow-hub