Skip to content

TensorFlow savedmodel input dimension does not match #9

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

Open
ZhanqiuHu opened this issue Nov 15, 2023 · 0 comments
Open

TensorFlow savedmodel input dimension does not match #9

ZhanqiuHu opened this issue Nov 15, 2023 · 0 comments

Comments

@ZhanqiuHu
Copy link

When I used the saved TensorFlow query tower model created using offline-batch-recsys/Offline-Batch-Recommender-System.ipynb for Triton inference server, I got an error saying

1-user-embeddings      UNAVAILABLE: Invalid argument: model '1-user-embeddings', tensor 'user_age': the model expects 1 dimensions ( shape [-1]) but the model configuration specifies 2 dimensions (shape [-1,1])

I'm wondering if there is a way to create the query tower model so that the input shape becomes (shape [-1,1]) instead of shape [-1].

Thanks!

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

No branches or pull requests

1 participant