Closed ulisesvid closed 6 years ago
Just had to remove argument Drop(): model.add(SpatialDropout1D(0.2)) instead of model.add(SpatialDropout1D(Dropout(0.2)))
Thanks Ulises. I ran into the same problem. Indeed it says in the documentation that SpatialDropout1D only takes a rate
as argument.
Thank you! That was driving me mad!
Hi all!
I am trying to replicate the model of transfer_glove_embeddings.py. When I try to execute the model I gel the following error:
`--------------------------------------------------------------------------- TypeError Traceback (most recent call last)