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
When running semantic text segmentation, I found that if the input utterance line is all stop words, (i.e. "Bye. Uh huh. Yeah."), SemanticTextSegmentation._get_similarity fails with ValueError: Input contains NaN.
I found that adding a check for nan in both embeddings could solve this problem.
When running semantic text segmentation, I found that if the input utterance line is all stop words, (i.e. "Bye. Uh huh. Yeah."),
SemanticTextSegmentation._get_similarity
fails withValueError: Input contains NaN
.I found that adding a check for nan in both embeddings could solve this problem.
I would like to have someone else look at it because I don't want to make any assumptions that the stop words should be part of the same segments.
The text was updated successfully, but these errors were encountered: