paulgavrikov / visualkeras

Visualkeras is a Python package to help visualize Keras (either standalone or included in TensorFlow) neural network architectures. It allows easy styling to fit most needs. This module supports layered style architecture generation which is great for CNNs (Convolutional Neural Networks), and a graph style architecture, which works great for most models including plain feed-forward networks.
MIT License
582 stars 67 forks source link

Attribute Error: 'Sequential' object has no attribute '_layers' #18

Closed alessiogmonti closed 2 years ago

alessiogmonti commented 2 years ago

This is a quick fix, with simple try/except flags that can be improved further down the line. If you'd like to suggest any improvements I'll be happy to incorporate them.

paulgavrikov commented 2 years ago

Could you please active Allow edits from maintainers?