markdown slider and max threads
Browse files- main_noweb.py +0 -3
main_noweb.py
CHANGED
@@ -34,8 +34,6 @@ print("[INFO]: Imported modules!")
|
|
34 |
human = MMPoseInferencer("simcc_mobilenetv2_wo-deconv-8xb64-210e_coco-256x192") # simcc_mobilenetv2_wo-deconv-8xb64-210e_coco-256x192 dekr_hrnet-w32_8xb10-140e_coco-512x512
|
35 |
hand = MMPoseInferencer("hand")
|
36 |
|
37 |
-
hand.to(device)
|
38 |
-
human.to(device)
|
39 |
#"https://github.com/open-mmlab/mmpose/blob/main/configs/body_3d_keypoint/pose_lift/h36m/pose-lift_simplebaseline3d_8xb64-200e_h36m.py",
|
40 |
#"https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth") # pose3d="human3d"
|
41 |
#https://github.com/open-mmlab/mmpose/tree/main/configs/hand_2d_keypoint/topdown_regression
|
@@ -98,7 +96,6 @@ def pose3d(video, kpt_threshold):
|
|
98 |
print(device)
|
99 |
|
100 |
human3d = MMPoseInferencer(pose3d="human3d")
|
101 |
-
human3d.to(device)
|
102 |
|
103 |
# Define new unique folder
|
104 |
add_dir = str(uuid.uuid4())
|
|
|
34 |
human = MMPoseInferencer("simcc_mobilenetv2_wo-deconv-8xb64-210e_coco-256x192") # simcc_mobilenetv2_wo-deconv-8xb64-210e_coco-256x192 dekr_hrnet-w32_8xb10-140e_coco-512x512
|
35 |
hand = MMPoseInferencer("hand")
|
36 |
|
|
|
|
|
37 |
#"https://github.com/open-mmlab/mmpose/blob/main/configs/body_3d_keypoint/pose_lift/h36m/pose-lift_simplebaseline3d_8xb64-200e_h36m.py",
|
38 |
#"https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth") # pose3d="human3d"
|
39 |
#https://github.com/open-mmlab/mmpose/tree/main/configs/hand_2d_keypoint/topdown_regression
|
|
|
96 |
print(device)
|
97 |
|
98 |
human3d = MMPoseInferencer(pose3d="human3d")
|
|
|
99 |
|
100 |
# Define new unique folder
|
101 |
add_dir = str(uuid.uuid4())
|