raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.98k stars 664 forks source link

TypeError: __init__() got an unexpected keyword argument 'ragged' #210

Closed sharpant closed 4 years ago

sharpant commented 4 years ago

I am using keras 2.2.4 and on running the below code

model = utils.apply_modifications(model)

I get the error:

TypeError: __init__() got an unexpected keyword argument 'ragged' in the interfaces.py file.

Is there a solution? Thanks!

sharpant commented 4 years ago

I upgraded to Keras 2.3.0 (with TF 2.0.0) and the problem got solved

AhmadSabbirChowdhury commented 3 years ago

from tensorflow.keras import different packages, then it will not show these errors