This fixes an error in the _set_max_lengths_from_model function. I think it clearly makes sense to pass self.model.get_input_shape_at(0)[1][1:], considering the words are at self.model.get_input_shape_at(0)[1][1].
I'd like to add a non-regression test to make sure that this issue doesn't come up again, but i'm not sure what sort of examples would be appropriate. thoughts?
This fixes an error in the
_set_max_lengths_from_model
function. I think it clearly makes sense to passself.model.get_input_shape_at(0)[1][1:]
, considering the words are atself.model.get_input_shape_at(0)[1][1]
.I'd like to add a non-regression test to make sure that this issue doesn't come up again, but i'm not sure what sort of examples would be appropriate. thoughts?