You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting below error when trying Quickstart example.
File "/Users/terry/Documents/project/recommender/recommenders/collab_filtering_movie.py", line 222, in
model.evaluate(cached_test, return_dict=True)
File "/Users/terry/Documents/project/recommender/recommenders/.venv/lib/python3.12/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/Users/terry/Documents/project/recommender/recommenders/tensorflow_recommenders/models/base.py", line 90, in test_step
loss = self.compute_loss(inputs, training=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/terry/Documents/project/recommender/recommenders/collab_filtering_movie.py", line 136, in compute_loss
return self.task(user_embeddings, positive_movie_embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/terry/Documents/project/recommender/recommenders/tensorflow_recommenders/tasks/retrieval.py", line 198, in call
metric.update_state(
File "/Users/terry/Documents/project/recommender/recommenders/tensorflow_recommenders/metrics/factorized_top_k.py", line 194, in update_state
return tf.group(update_ops)
^^^^^^^^^^^^^^^^^^^^
TypeError: Exception encountered when calling Retrieval.call().
'inputs' should be zero or more (nested) Tensors. Received 'None' with type '<class 'NoneType'>'.
Getting below error when trying Quickstart example.
OSX 14.2.1
python 3.12
tensorflow 2.16.2
tensorflow-recommenders 0.7.3
tensorflow-datasets 4.9.6
keras 3.4.1
The text was updated successfully, but these errors were encountered: