我遇到了 elmo 和 tensorflow 的这个问题,我想在不降级的情况下修复它。我应该怎么办
`**CODE**
import tensorflow_hub as hub
import tensorflow as tf
#Elmo
elmo = hub.Module("https://tfhub.dev/google/elmo/2", trainable=True)
# Provide input tensor and create embeddings
input_tensor = ["my birthday is the best day of the year"]
embeddings_tensor = elmo(input_tensor, signature="default", as_dict=True)["elmo"]
* here i got the problem *
with tf.Session() as sess:
sess.run(tf.global_variables_initializer())
embeddings = sess.run(embeddings_tensor)
print(embeddings.shape)
print(embeddings)
`