path problem
Browse files- .idea/KIE-Engines-Comparison.iml +8 -0
- Evaluator.py +1 -1
.idea/KIE-Engines-Comparison.iml
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<module type="PYTHON_MODULE" version="4">
|
| 3 |
+
<component name="NewModuleRootManager">
|
| 4 |
+
<content url="file://$MODULE_DIR$" />
|
| 5 |
+
<orderEntry type="jdk" jdkName="llr_env" jdkType="Python SDK" />
|
| 6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
| 7 |
+
</component>
|
| 8 |
+
</module>
|
Evaluator.py
CHANGED
|
@@ -177,7 +177,7 @@ class Evaluator:
|
|
| 177 |
|
| 178 |
def evaluate_predictions_for_list(
|
| 179 |
predictions_json_filenames: list[str] | str, filenames_to_skip: list[str] = [],
|
| 180 |
-
dataset_json_filepath: str =
|
| 181 |
save_metrics_in_folder: bool = True):
|
| 182 |
outputs = {}
|
| 183 |
|
|
|
|
| 177 |
|
| 178 |
def evaluate_predictions_for_list(
|
| 179 |
predictions_json_filenames: list[str] | str, filenames_to_skip: list[str] = [],
|
| 180 |
+
dataset_json_filepath: str = 'data/ground_truth/sroie_ground_truth.json',
|
| 181 |
save_metrics_in_folder: bool = True):
|
| 182 |
outputs = {}
|
| 183 |
|