GH-3070: Fix inconsistency between best path and scores in ViterbiDecoder #1995
Annotations
3 errors
test:
flair/__init__.py#L1
mypy-status
mypy exited with status 1.
|
test:
flair/models/sequence_tagger_utils/viterbi.py#L1
flair/models/sequence_tagger_utils/viterbi.py
237: error: Invalid index type "signedinteger[Any]" for "Tensor"; expected type "Union[None, int, slice, Tensor, List[Any], Tuple[Any, ...]]" [index]
238: error: Invalid index type "signedinteger[Any]" for "Tensor"; expected type "Union[None, int, slice, Tensor, List[Any], Tuple[Any, ...]]" [index]
243: error: Invalid index type "signedinteger[Any]" for "Tensor"; expected type "Union[None, int, slice, Tensor, List[Any], Tuple[Any, ...]]" [index]
244: error: Invalid index type "signedinteger[Any]" for "Tensor"; expected type "Union[None, int, slice, Tensor, List[Any], Tuple[Any, ...]]" [index]
|
test
Process completed with exit code 1.
|