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

Keras type error : symbolic inputs/outputs donot match #15

Open
Jay2109 opened this issue Jan 3, 2021 · 2 comments
Open

Keras type error : symbolic inputs/outputs donot match #15

Jay2109 opened this issue Jan 3, 2021 · 2 comments

Comments

@Jay2109
Copy link

Jay2109 commented Jan 3, 2021

raise TypeError('Keras symbolic inputs/outputs do not '
TypeError: Keras symbolic inputs/outputs do not implement __len__. You may be trying to pass Keras symbolic inputs/outputs to a TF API that does not register dispatching, preventing Keras from automatically converting the API call to a lambda layer in the Functional Model. This error will also get raised if you try asserting a symbolic input/output directly

@mangotee
Copy link
Collaborator

mangotee commented Jan 5, 2021

Hi Jay2109, this reads like a Tensorflow >2.0 issue to me. Either downgrade your TF version to 1.12.0, or you may need to make a port to TF2.0, since we are working on a major update (including a switch to PyTorch) which is taking up our ressources for this project. However, afaik, spokV has already been working on a port to TF2.0 already, you can check out their version at: https://github.com/spokV/DeepVOG

@KamranBinaee
Copy link

Hi,
I have the same issue. I was able to run on CPU after downgrading the TF. Trying to run on GPU and I get Cuda error apparently:
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

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

3 participants