问题描述
import tensorflow as tf
import tensorflow_hub as hub
module_url = "https://tfhub.dev/tensorflow/bert_en_uncased_L-24_H-1024_A-16/1"
bert_layer = hub.KerasLayer(module_url,trainable=True)
我正在使用Kaggle笔记本进行这项工作。从TensorFlow Hub导入任何嵌入层都会出现URL错误。有人可以指导我解决此问题吗?
错误消息如下:URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)