You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the init function for RecurrentSequential, it calls
super(RecurrentModel, self).init(**kwargs)
But RecurrentSequential is inherited from RecurrentModel. The call should be
super(RecurrentSequential, self).init(**kwargs)
But the arguments don't match. I'm not quite sure how to fix this the "right" way, but calling the base class constructor is not correct for RecurrentSequential
The text was updated successfully, but these errors were encountered:
I also encountered this problem while trying to run the Nesting RecurrentSequentials demo. Indeed that super call in RecurrentSequential looks suspicious and should probably call RecurrentModel's constructor instead of itself, but this also wouldn't really make sense.
In opposite to Keras' Sequential model which updates itself with every add(...) call and hence doesn't need to be build in the end explicitly, RecurrentSequential doesn't and thus you need to call build(...) on the instance before you can access the internal model.
In the init function for RecurrentSequential, it calls
super(RecurrentModel, self).init(**kwargs)
But RecurrentSequential is inherited from RecurrentModel. The call should be
super(RecurrentSequential, self).init(**kwargs)
But the arguments don't match. I'm not quite sure how to fix this the "right" way, but calling the base class constructor is not correct for RecurrentSequential
The text was updated successfully, but these errors were encountered: