upload model name in app
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
from mmaction.apis import init_recognizer, inference_recognizer
|
| 5 |
|
| 6 |
CONFIG_FILE = 'demo/demo_configs/tsn_r50_1x1x8_video_infer.py'
|
| 7 |
-
CHECKPOINT_FILE = 'checkpoints/
|
| 8 |
LABEL_FILE = 'tools/data/kinetics/label_map_k400.txt'
|
| 9 |
|
| 10 |
def load_labels(path):
|
|
|
|
| 4 |
from mmaction.apis import init_recognizer, inference_recognizer
|
| 5 |
|
| 6 |
CONFIG_FILE = 'demo/demo_configs/tsn_r50_1x1x8_video_infer.py'
|
| 7 |
+
CHECKPOINT_FILE = 'checkpoints/tsn_r50_8xb32-1x1x8-100e_kinetics400-rgb_20220818-2692d16c.pth'
|
| 8 |
LABEL_FILE = 'tools/data/kinetics/label_map_k400.txt'
|
| 9 |
|
| 10 |
def load_labels(path):
|