Skip to content

Commit

Permalink
Merge branch 'master' into release-0.8.1
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/ci-build-manual-crf.yml
  • Loading branch information
lfoppiano committed Aug 30, 2024
2 parents 7025697 + 399ef9d commit 5b045af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-build-manual-crf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
registry: docker.io
pushImage: true
tags: |
latest-develop${{ github.event.inputs.suffix && '-' + github.event.inputs.suffix || '' }}
latest-crf${{ github.event.inputs.suffix && '-' + github.event.inputs.suffix || '' }}
latest-develop${{ github.event.inputs.suffix != '' && '-' || '' }}${{ github.event.inputs.suffix }}, latest-crf${{ github.event.inputs.suffix != '' && '-' || '' }}${{ github.event.inputs.suffix }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ public String splitTrainEvaluate(Double split, boolean incremental) {
// if we are here, that means that training succeeded
renameModels(oldModelPath, tempModelPath);

if (split == 1.0) {
return "Split ratio is 1.0, no evaluation performed.";
}

return EvaluationUtilities.evaluateStandard(evalDataPath.getAbsolutePath(), getTagger()).toString();
}

Expand Down

0 comments on commit 5b045af

Please sign in to comment.