From 3ddc408dd8ebfd13982ad1f564ac55852c6ff274 Mon Sep 17 00:00:00 2001
From: "Vukovic, Renato (revuk100)" <renato.vukovic@uni-duesseldorf.de>
Date: Sun, 16 Oct 2022 20:28:21 +0000
Subject: [PATCH] Fix prediction file error

---
 evaluation/MLMscore_model_predictions.py          | 4 ++--
 evaluation/RoBERTa_model_predictions.py           | 4 ++--
 evaluation/codensity_model_predictions.py         | 4 ++--
 evaluation/persistence_image_model_predictions.py | 4 ++--
 evaluation/wasserstein_model_predictions.py       | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/evaluation/MLMscore_model_predictions.py b/evaluation/MLMscore_model_predictions.py
index 09b6710..492c2ec 100644
--- a/evaluation/MLMscore_model_predictions.py
+++ b/evaluation/MLMscore_model_predictions.py
@@ -39,7 +39,7 @@ def main():
         print("Wrong dataset name given! Only multiwoz and SGD allowed")
         exit(1)
 
-    with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file:
+    with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file:
         data = json.load(file)
 
     turns = data["turn examples"]
@@ -78,4 +78,4 @@ def main():
         json.dump(prediction_indices, file)
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()
diff --git a/evaluation/RoBERTa_model_predictions.py b/evaluation/RoBERTa_model_predictions.py
index 72ca1ed..0d4570f 100644
--- a/evaluation/RoBERTa_model_predictions.py
+++ b/evaluation/RoBERTa_model_predictions.py
@@ -39,7 +39,7 @@ def main():
         print("Wrong dataset name given! Only multiwoz and SGD allowed")
         exit(1)
 
-    with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file:
+    with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file:
         data = json.load(file)
 
     turns = data["turn examples"]
@@ -70,4 +70,4 @@ def main():
         json.dump(prediction_indices, file)
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()
diff --git a/evaluation/codensity_model_predictions.py b/evaluation/codensity_model_predictions.py
index ee4fed5..a868da1 100644
--- a/evaluation/codensity_model_predictions.py
+++ b/evaluation/codensity_model_predictions.py
@@ -39,7 +39,7 @@ def main():
         print("Wrong dataset name given! Only multiwoz and SGD allowed")
         exit(1)
 
-    with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file:
+    with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file:
         data = json.load(file)
 
     turns = data["turn examples"]
@@ -77,4 +77,4 @@ def main():
         json.dump(prediction_indices, file)
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()
diff --git a/evaluation/persistence_image_model_predictions.py b/evaluation/persistence_image_model_predictions.py
index 448e51f..8b849e3 100644
--- a/evaluation/persistence_image_model_predictions.py
+++ b/evaluation/persistence_image_model_predictions.py
@@ -39,7 +39,7 @@ def main():
         print("Wrong dataset name given! Only multiwoz and SGD allowed")
         exit(1)
 
-    with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file:
+    with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file:
         data = json.load(file)
 
     turns = data["turn examples"]
@@ -72,4 +72,4 @@ def main():
         json.dump(prediction_indices, file)
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()
diff --git a/evaluation/wasserstein_model_predictions.py b/evaluation/wasserstein_model_predictions.py
index 0245bed..1fe9c83 100644
--- a/evaluation/wasserstein_model_predictions.py
+++ b/evaluation/wasserstein_model_predictions.py
@@ -39,7 +39,7 @@ def main():
         print("Wrong dataset name given! Only multiwoz and SGD allowed")
         exit(1)
 
-    with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file:
+    with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file:
         data = json.load(file)
 
     turns = data["turn examples"]
@@ -75,4 +75,4 @@ def main():
 
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()
-- 
GitLab