-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Question mark (?) in the model image using plot_model instead of None #41744
Comments
What you see there is caused by this line in keras utils:
It's actually the desired behavior. Now you could replace the '?' string with 'None' string, but what would it be good for? It wouldn't make it any more readable. |
Actually I am working on a research paper in which I need the image of the model architecture although it wouldn't make it any more readable from a programmer's point of view but from a layman's understanding it would atleast come out to be a tad bit readable as the '?' mark signifies as if there's an error or something is missing where as None kind of explains that I voluntary didn't add the batch sizes. Thanks for the answer though! |
Worst case scenario you can add an explanatory footnote. |
Okay thanks! |
I am using the tf.keras.utils.plot_model function to plot the model. The code is given below. Now instead of getting None for the batch sizes I am getting question mark (?). So can you please address why this is happening and how I can replace None inplace of ? question mark.
tf.keras.utils.plot_model(
model,
to_file='model2.png',
show_shapes=True,
show_layer_names=True
)
The text was updated successfully, but these errors were encountered: