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
han.show_sent_attention(x) is supposed to take in an array of size (max_sent_num, max_sent_length) as input. But the return Model(self.model.input, dummy_layer).predict(x) throws a ValueError, saying that the array should have 3 dimensions instead of 2.
han.show_sent_attention(x)
is supposed to take in an array of size (max_sent_num, max_sent_length) as input. But thereturn Model(self.model.input, dummy_layer).predict(x)
throws a ValueError, saying that the array should have 3 dimensions instead of 2.Error traceback attached (
data[i]
has shape (10, 100) ) :The text was updated successfully, but these errors were encountered: