Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Made changes to be compabitle with tf==2.17.0 and tfrs==0.7.3 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keivanipchihagh
Copy link

Reason for PR

This notebook no longer works as Colaboratory has upgraded its libraries to tensorflow==2.17.0 and tensorflow-recommenders==0.7.3.

Changes

  • Add TF_USE_LEGACY_KERAS flag for compatibility between Keras and TFRS libraries (Known issue).
  • Replace keras.layers.experimental with keras.layers as these layers have been pushed to stable versions (GitHub Issue).
  • Add tf.convert_to_tensor() when passing lists to Sequential models as they now require Tensors.
  • Convert the dataset from movielens/100k-ratings to movielens/latest-small-ratings since it takes 1h to run with 100k ratings, but <30mins for latest-small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant