Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Error Rate #575

Merged
merged 54 commits into from
Oct 25, 2021
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4507ece
Create cer.py
mahinlma Oct 21, 2021
d2fa126
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2021
0cdf823
Update cer.py
mahinlma Oct 21, 2021
73829db
Create cer.py
mahinlma Oct 22, 2021
691d5d3
Update cer.py
mahinlma Oct 22, 2021
ab0f57c
Merge branch 'master' into master
mahinlma Oct 22, 2021
0ea9e73
Update cer.py
mahinlma Oct 22, 2021
3c06cee
Update cer.py
mahinlma Oct 22, 2021
48150cd
removed unused imports
mahinlma Oct 22, 2021
2be8086
removed unused imports
mahinlma Oct 22, 2021
a2155cc
Update torchmetrics/functional/text/cer.py
mahinlma Oct 22, 2021
e77b68f
Update torchmetrics/text/cer.py
mahinlma Oct 22, 2021
d2d7311
Update CHANGELOG.md
mahinlma Oct 22, 2021
74ed688
Update cer.py
mahinlma Oct 22, 2021
22cc84f
Update cer.py
mahinlma Oct 22, 2021
2ad0a0e
adding bindings and other changes
mahinlma Oct 22, 2021
fea2774
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
62b7570
Merge branch 'master' into master
mahinlma Oct 22, 2021
b241adf
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
8f9fc0a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 22, 2021
d10fcf2
issue fix
mahinlma Oct 22, 2021
e9eba96
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 22, 2021
bf1885e
Create test_cer.py
mahinlma Oct 22, 2021
508775c
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
22c6a60
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 22, 2021
c6f1beb
Update test_cer.py
mahinlma Oct 22, 2021
dfa940d
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
f5001bc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 22, 2021
5f3fea1
issue fix
mahinlma Oct 22, 2021
2253a6a
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
f3ad044
Update cer.py
mahinlma Oct 22, 2021
7ae8b58
Apply suggestions from code review
SkafteNicki Oct 22, 2021
0fb6b16
move to alphabetical order
SkafteNicki Oct 22, 2021
0d91116
Update test_cer.py
mahinlma Oct 22, 2021
faf4de2
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 22, 2021
71a7cef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 22, 2021
00169a1
Merge branch 'master' into master
mahinlma Oct 22, 2021
61a60ae
minor issue fix
mahinlma Oct 23, 2021
f3993cf
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 23, 2021
0f7bded
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2021
21a4b2a
Update test_cer.py
mahinlma Oct 23, 2021
0d358b1
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 23, 2021
d9f0b35
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2021
0d9e658
Update test_cer.py
mahinlma Oct 23, 2021
41455ee
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 23, 2021
e5e74f8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2021
7de0aec
Update test_cer.py
mahinlma Oct 23, 2021
27626c4
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 23, 2021
51d7fbe
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2021
cddddc9
Update test_cer.py
mahinlma Oct 23, 2021
de33c88
Merge branch 'master' of https://github.com/mahinlma/metrics
mahinlma Oct 23, 2021
77afb25
Merge branch 'master' into master
Borda Oct 23, 2021
c2525e7
improve tests
SkafteNicki Oct 25, 2021
bc9132c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update torchmetrics/functional/text/cer.py
Co-authored-by: Jirka Borovec <[email protected]>
  • Loading branch information
mahinlma and Borda authored Oct 22, 2021
commit a2155cc6310f72a8793aeff591e2334df76221ba
2 changes: 1 addition & 1 deletion torchmetrics/functional/text/cer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _cer_compute(errors: Tensor, total: Tensor) -> Tensor:
return errors / total


def cer(
def char_error_rate(
predictions: Union[str, List[str]],
references: Union[str, List[str]],
) -> Tensor:
Expand Down