Skip to content

GH-3070: Fix inconsistency between best path and scores in ViterbiDecoder #1995

GH-3070: Fix inconsistency between best path and scores in ViterbiDecoder

GH-3070: Fix inconsistency between best path and scores in ViterbiDecoder #1995

Triggered via pull request October 12, 2023 12:47
@mauryalandmauryaland
synchronize #3189
crf_score
Status Failure
Total duration 22m 13s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.