ValueError: Items of feature_columns must be a _FeatureColumn. Given (type <class ‘tensorflow_hub.feature_column_v2._TextEmbeddingColumnV2’>): _TextEmbeddingColumnV2(key=‘sentence’, module_path=‘TensorFlow Hub’, output_key=None, trainable=False), can anyone help me?
Ideally please provide a small python script that demonstrates the bug. This shouldn’t be your whole program, instead it should be an example script that reproduces the issue in as little code as possible. That makes it easier to debug.
If it’s under, say, 100 lines, it might be reasonable to post that directly here in the forum. If it’s longer, consider sharing a public GitHub repo or a Colab.
It would also help to include which versions of Tensorflow and TF Hub you are using.