Eran Fainman
commited on
Commit
·
59df494
1
Parent(s):
ffeaeb6
update gt to test
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def get_match_index(row):
|
|
62 |
|
63 |
|
64 |
def calculate_metrics(df_pred):
|
65 |
-
df_gt = pd.read_csv(os.path.join(GT_PATH, '
|
66 |
if len(df_pred) != len(df_gt):
|
67 |
raise Exception("Your predictions file should contain {} rows, only {} rows were found in the file".format(
|
68 |
len(df_gt), len(df_pred)
|
|
|
62 |
|
63 |
|
64 |
def calculate_metrics(df_pred):
|
65 |
+
df_gt = pd.read_csv(os.path.join(GT_PATH, 'test_matches.csv'))
|
66 |
if len(df_pred) != len(df_gt):
|
67 |
raise Exception("Your predictions file should contain {} rows, only {} rows were found in the file".format(
|
68 |
len(df_gt), len(df_pred)
|