-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
2,852 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,5 +132,6 @@ dmypy.json | |
.vscode/ | ||
|
||
tests/caption-evaluation-tools | ||
tests/fense | ||
tmp/ | ||
tmp*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ torch>=1.10.1 | |
numpy>=1.21.2 | ||
pyyaml>=6.0 | ||
tqdm>=4.64.0 | ||
sentence-transformers>=2.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
from .base import Metric | ||
from .coco_bleu import CocoBLEU | ||
from .coco_cider_d import CocoCIDErD | ||
from .coco_meteor import CocoMETEOR | ||
from .coco_rouge_l import CocoRougeL | ||
from .coco_spice import CocoSPICE | ||
from .evaluate import CustomEvaluate, AACEvaluate | ||
from .spider_max import spider_max | ||
from .bleu import BLEU | ||
from .cider_d import CIDErD | ||
from .evaluate import Evaluate, AACEvaluate | ||
from .fense import FENSE | ||
from .meteor import METEOR | ||
from .rouge_l import ROUGEL | ||
from .spice import SPICE | ||
from .spider import SPIDEr | ||
from .spider_max import SPIDErMax | ||
|
||
|
||
__all__ = [ | ||
"BLEU", | ||
"CIDErD", | ||
"AACEvaluate", | ||
"Evaluate", | ||
"FENSE", | ||
"METEOR", | ||
"ROUGEL", | ||
"SPICE", | ||
"SPIDEr", | ||
"SPIDErMax", | ||
] |
Oops, something went wrong.