tensorflow / tensorflow/recommenders

Deep recommendation load model error

Open
#186 1 comment 0 reactions 1 assignee View on GitHub

@maciejkula is already working on this.

Since Dec 21, 2020.

question
Dominant language
Python
Stars
2k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Hi,
I am following the instruction of “deep_recommenders.ipynb” notebook. I’ve done with the model training and also create the “BruteForce” layer to make the prediction.

However, when I try to save the model for the serving usage, it throw out the error message like this “The two structures don’t have the same nested structure”. I am not able to load the model which I just saved.

Here is some relative screen shot of my issue

BBDB43E9-FA10-48E8-8053-E12E154D90FC
D55E2686-28AF-46EB-A8AC-6797A83AB252
1BCA5AE3-9647-41D4-A844-B8905CCB76B2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.