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

TypeSpec error while DRMM model build #851

Open
govind17 opened this issue Jul 16, 2022 · 0 comments
Open

TypeSpec error while DRMM model build #851

govind17 opened this issue Jul 16, 2022 · 0 comments
Labels

Comments

@govind17
Copy link

govind17 commented Jul 16, 2022

Hello,
I am getting the following error while I am trying to build the DRMM model for my ranking task at this line (here)

TypeError: Could not build a TypeSpec for KerasTensor(type_spec=TensorSpec(shape=(1, None, 10, 1), dtype=tf.float32, name=None), name='tf.operators.add/AddV2:0', description="created by layer 'tf.operators.add'") of unsupported type <class 'keras.engine.keras_tensor.KerasTensor'>.

Please note that I am using the following environment configuration in my local machine

Python 3.8.11
MatchZoo 2.1.0
tensorflow 2.8.0

Describe your attempts

  • I checked the documentation and found no answer
  • I checked to make sure that this is not a duplicate issue
  • Additionally, I also tried different kinds of solution like this here
  • And here

Context

  • OS [macOS 12.4]:
  • Hardware [Metal M1]

Thank-you for your help and time.

Regards,
Govind Shukla

@govind17 govind17 added the bug label Jul 16, 2022
@govind17 govind17 changed the title Keyspec error while DRMM model build TypeSpec error while DRMM model build Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant