mahyar-amiri / keras-visualizer

A Keras Model Visualizer
MIT License
25 stars 2 forks source link

Not supporting Multi Input keras layers #6

Closed thomasjv799 closed 1 year ago

thomasjv799 commented 3 years ago

Ideally in the single input model.layers[0].input_shape should give (None,X) where X is the input

However in multi input model.layers[0].input_shape gives [(None,X)] which is causing "ValueError: invalid literal for int() with base 10:" because of extra ']' element.

Though I tried correcting this line finally its throwing a Exception

emmarbee commented 2 years ago

Have the same issue. Multi input layer works fine with keras.utils.plot_model though.

mahyar-amiri commented 1 year ago

Hi, I apologize for the delay in replying.

This issue is same as #5. The bug has been fixed in the new version.

Thanks for your feedback.