Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 0
1 answer
74 views

I am doing some NLP exercises. I am unable to use a saved model with a hub.KerasLayer layer :( Here are the steps I done: Create the model - OK Compile the model - OK Fit/Train the model - OK ...
Score of 3
1 answer
192 views

I am learning TensorFlow and transfer learning, and I am trying to add a TensorFlow Hub feature extractor to a Keras Sequential model. But I get this error: ValueError: Only instances of keras.Layer ...
Score of 1
1 answer
106 views

I have questions about a model obtained from TensorFlow Hub. I am trying to use "movenet" with the following source code. https://www.kaggle.com/models/google/movenet/tensorFlow2 (1) The ...
Score of 1
0 answers
77 views

I'm using this tutorial to apply transfer learning to my dataset which has 32 classes of audio. https://www.tensorflow.org/tutorials/audio/transfer_learning_audio?hl=en But this does not seem to work ...
Score of -2
1 answer
38 views

hi guys i'm successfully import tensorflow_hub. but when I trey to run this code part " **IMAGE_SHAPE = (224, 224) classifier = tf.keras.Sequential([ hub.KerasLayer(classifier_model, input_shape=...
Score of 1
4 answers
2206 views

I encountered an error related to Sequential while working with TensorFlow Hub. Can anyone help me with this?" enter image description here "ValueError: Only instances of keras.Layer can be ...
Score of 6
9 answers
10083 views

I simply want to wrap the model as a keras layer but it simply is not happening ans keeps showing this error to me, i don't know if it's the keras or tensorflow version but i don't want to change them ...
Score of 0
0 answers
233 views

Got this error message. Used Pycharm IDE for Python. This is the code I had used: import tensorflow_hub as hub embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder-large/5")...
Score of 4
2 answers
1608 views

I am trying to use BERT to do a text classification project. However I keep running into this error ` ValueError Traceback (most recent call last) Cell In[37], line 4 ...
Score of 0
2 answers
3250 views

I used Jupyter Notebook to do ELMo to extract features. However, when I am trying to run the code !pip install tensorflow !pip install tensorflow-hub import tensorflow_hub as hub import tensorflow as ...
Score of 1
0 answers
73 views

I've followed the TensorFlow_Hub documentation to retrain one of their models to identify one of 20 cat breeds from an image. I'm doing this for school, and part of it requires me making it available ...
Score of 0
1 answer
512 views

I have downloaded a model from Hub. The archive contains TensorFlow 2 saved model and if decompressed shows a file named saved_model.pb and a variables folder that inside has 2 files variables.data-...
Score of 0
1 answer
633 views

Created a project almost a year ago that uses TensorFlow models. All has been working fine up until this morning. Suddenly our application has started getting errors to fetch models at the following ...
Score of 0
1 answer
97 views

I want to use the model food_V1, https://tfhub.dev/google/aiy/vision/classifier/food_V1/1 in Flutter, but when I download the model, there is no labels.txt file. There is only one tflite file and I ...
Score of 0
1 answer
1100 views

I am trying to use the universal sentence encoder 4, It works on my desktop at home but I am not home so I am having to re-set everything up. I am using this all in a virtual environment. I have ...

15 30 50 per page
1
2 3 4 5
22