Update app.py
Browse files
app.py
CHANGED
@@ -121,6 +121,17 @@ def inference(video_file, model_type, mask_ratio):
|
|
121 |
|
122 |
def main():
|
123 |
datasets = ['K400', 'SSv2', 'UCF']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
sample_example = [
|
125 |
["examples/k400.mp4", datasets[0], 0.9],
|
126 |
["examples/ucf.mp4", datasets[1], 0.8],
|
|
|
121 |
|
122 |
def main():
|
123 |
datasets = ['K400', 'SSv2', 'UCF']
|
124 |
+
|
125 |
+
ALL_MODELS = [
|
126 |
+
'TFVideoMAE_S_K400_16x224',
|
127 |
+
'TFVideoMAE_B_K400_16x224',
|
128 |
+
'TFVideoMAE_L_K400_16x224',
|
129 |
+
'TFVideoMAE_S_SSv2_16x224',
|
130 |
+
'TFVideoMAE_B_SSv2_16x224',
|
131 |
+
'TFVideoMAE_B_UCF_16x224',
|
132 |
+
]
|
133 |
+
|
134 |
+
|
135 |
sample_example = [
|
136 |
["examples/k400.mp4", datasets[0], 0.9],
|
137 |
["examples/ucf.mp4", datasets[1], 0.8],
|