Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ def load_v2t_samples(data_root):
|
|
21 |
return sample_videos, idx2sid
|
22 |
|
23 |
def load_t2v_samples(data_root):
|
24 |
-
sample_text = ['cut the sausage', 'stir vegetables into salmon', 'rinse cutting board']
|
25 |
-
|
26 |
-
idx2sid = {0: 2119, 2: 1276}
|
27 |
return sample_text, idx2sid
|
28 |
|
29 |
def format_pred(pred, gt):
|
|
|
21 |
return sample_videos, idx2sid
|
22 |
|
23 |
def load_t2v_samples(data_root):
|
24 |
+
#sample_text = ['cut the sausage', 'stir vegetables into salmon', 'rinse cutting board']
|
25 |
+
sample_text = ['cut the sausage', 'rinse cutting board']
|
26 |
+
idx2sid = {0: 2119, 1: 1730, 2: 1276}
|
27 |
return sample_text, idx2sid
|
28 |
|
29 |
def format_pred(pred, gt):
|