Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ from mmpose.apis import (inference_top_down_pose_model, init_pose_model,
|
|
| 15 |
from mmdet.apis import inference_detector, init_detector
|
| 16 |
|
| 17 |
pose_config = 'configs/topdown_heatmap_hrnet_w48_coco_256x192.py'
|
| 18 |
-
pose_checkpoint = '
|
| 19 |
-
det_config = '
|
| 20 |
-
det_checkpoint = '
|
| 21 |
|
| 22 |
# initialize pose model
|
| 23 |
pose_model = init_pose_model(pose_config, pose_checkpoint, device='cpu')
|
|
|
|
| 15 |
from mmdet.apis import inference_detector, init_detector
|
| 16 |
|
| 17 |
pose_config = 'configs/topdown_heatmap_hrnet_w48_coco_256x192.py'
|
| 18 |
+
pose_checkpoint = 'hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth'
|
| 19 |
+
det_config = 'configs/faster_rcnn_r50_fpn_1x_coco.py'
|
| 20 |
+
det_checkpoint = 'faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth'
|
| 21 |
|
| 22 |
# initialize pose model
|
| 23 |
pose_model = init_pose_model(pose_config, pose_checkpoint, device='cpu')
|