Skip to main content
3 votes
1 answer
152 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 ...
Sanjay Jithesh's user avatar
1 vote
1 answer
103 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 ...
Shinobu HUYUGIRI's user avatar
1 vote
0 answers
75 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 ...
Marcel's user avatar
  • 11
-2 votes
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=...
kavindu shashen's user avatar
1 vote
4 answers
2k 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 ...
ercan kurtoğlu's user avatar
6 votes
9 answers
10k 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 ...
inter galactic's user avatar
0 votes
0 answers
231 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")...
WaldeModer's user avatar
4 votes
2 answers
2k 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 ...
vmmgame's user avatar
  • 51
0 votes
2 answers
3k 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 ...
user23483084's user avatar
1 vote
0 answers
49 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 ...
Steven Jones's user avatar
0 votes
1 answer
511 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-...
AndreaF's user avatar
  • 12.5k
0 votes
1 answer
625 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 ...
pj_qb's user avatar
  • 11
0 votes
1 answer
94 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 ...
martin Hm's user avatar
0 votes
1 answer
1k 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 ...
Zor's user avatar
  • 1
0 votes
1 answer
180 views

When I try to load a model from tensorflow hub like: INPUT_SHAPE = [None, IMG_SIZE, IMG_SIZE, 3] OUTPUT_SHAPE = len(unique_labels) MODEL_URL = "https://tfhub.dev/google/imagenet/...
DjoleDMonke's user avatar

15 30 50 per page
1
2 3 4 5
22