Skip to content

fix _all_scores_for_token in ViterbiDecoder #2185

fix _all_scores_for_token in ViterbiDecoder

fix _all_scores_for_token in ViterbiDecoder #2185

Triggered via pull request May 29, 2024 19:40
Status Failure
Total duration 23m 51s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
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 224: error: Argument 2 to "_all_scores_for_token" of "ViterbiDecoder" has incompatible type "Tensor"; expected "IntTensor" [arg-type]
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.