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

Fix keras layer naming (the char ":" is not a valid char for a name of keras layer) #106

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

Conversation

doronHarnoy
Copy link

@doronHarnoy doronHarnoy commented Feb 2, 2021

This PR is fixing a naming problem that is causing the call of Keras layers to fail.

In TensorFlow.Keras the char : is not supported for name_scope hence using it as a name for layer will cause the computation of a layer to fail ( running the computation of a layer is creating a named scope with the layer's name )

Converting the unsupported char : to the char _ instead is suggested here to fix that problem

Supported chars for a named scope can be seen here

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