Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,10 @@ def tube_mask_generator(mask_ratio):
|
|
61 |
|
62 |
|
63 |
def get_model(model_type):
|
64 |
-
|
65 |
-
|
|
|
|
|
66 |
|
67 |
if 'K400' in model_type:
|
68 |
data_type = 'K400'
|
|
|
61 |
|
62 |
|
63 |
def get_model(model_type):
|
64 |
+
print('---------------------')
|
65 |
+
print('innat/videomae/' + model_type + '_FT')
|
66 |
+
ft_model = keras.models.load_model('innat/videomae/' + model_type + '_FT')
|
67 |
+
pt_model = keras.models.load_model('innat/videomae/' + model_type + '_PT')
|
68 |
|
69 |
if 'K400' in model_type:
|
70 |
data_type = 'K400'
|