Text classification using reusable embeddings のレビュー

5249 件のレビュー

Jena Subhasish · 約1年前にレビュー済み

kanchimi Rishitha · 約1年前にレビュー済み

H Sujay · 約1年前にレビュー済み

Shafat Hadi · 約1年前にレビュー済み

Hamdan Mohammed · 約1年前にレビュー済み

Hamdan Mohammed · 約1年前にレビュー済み

Vargas Ray · 1年以上前にレビュー済み

Ramanathan Premnath · 1年以上前にレビュー済み

Maria Mota Catarina · 1年以上前にレビュー済み

jha amit · 1年以上前にレビュー済み

jha amit · 1年以上前にレビュー済み

Asif Muhammad · 1年以上前にレビュー済み

Neeraj Ranikreddy · 1年以上前にレビュー済み

--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[38], line 1 ----> 1 nnlm_model = build_model(nnlm_module, 'nnlm') 2 nnlm_history = train_and_evaluate(data, val_data, nnlm_model) Cell In[35], line 2, in build_model(hub_module, name) 1 def build_model(hub_module, name): ----> 2 model = Sequential([ 3 hub_module, # TODO 2 4 Dense(16, activation='relu'), 5 Dense(N_CLASSES, activation='softmax') 6 ], name=name) 8 model.compile( 9 optimizer='adam', 10 loss='categorical_crossentropy', 11 metrics=['accuracy'] 12 ) 13 return model File /opt/conda/lib/python3.10/site-packages/keras/src/models/sequential.py:75, in Sequential.__init__(self, layers, trainable, name) 73 if layers: 74 for layer in layers: ---> 75 self.add(layer, rebuild=False) 76 self._maybe_rebuild() File /opt/conda/lib/python3.10/site-packages/keras/src/models/sequential.py:97, in Sequential.add(self, layer, rebuild) 95 layer = origin_layer 96 if not isinstance(layer, Layer): ---> 97 raise ValueError( 98 "Only instances of `keras.Layer` can be " 99 f"added to a Sequential model. Received: {layer} " 100 f"(of type {type(layer)})" 101 ) 102 if not self._is_layer_name_unique(layer): 103 raise ValueError( 104 "All layers added to a Sequential model " 105 f"should have unique names. Name '{layer.name}' is already " 106 "the name of a layer in this model. Update the `name` argument " 107 "to pass a unique name." 108 ) ValueError: Only instances of `keras.Layer` can be added to a Sequential model. Received: <tensorflow_hub.keras_layer.KerasLayer object at 0x7fbbb8792290> (of type <class 'tensorflow_hub.keras_layer.KerasLayer'>)

raj vasanth · 1年以上前にレビュー済み

Mancera Sonia · 1年以上前にレビュー済み

Emad Eldin Ahmed · 1年以上前にレビュー済み

tensorflow installation was an issue.

Ally Dilara · 1年以上前にレビュー済み

tensorflow installation was an issue.

Ally Dilara · 1年以上前にレビュー済み

Tomelius Christian · 1年以上前にレビュー済み

Rachman Bachtiar Djamaluddin Basirudin · 1年以上前にレビュー済み

Faeldon Van Alistair · 1年以上前にレビュー済み

darla ganesh · 1年以上前にレビュー済み

tensorflow installation was an issue.

Ally Dilara · 1年以上前にレビュー済み

Jung Kevin · 1年以上前にレビュー済み

Deshmukh Sachin · 1年以上前にレビュー済み

公開されたレビューが、製品を購入または使用した人によるものであることは保証されません。Google はこれらのレビューの検証を行っていません。