Skip to content

Commit c07ec71

Browse files
committed
Changed openmmlab addresses to huggingface ones
1 parent 92f118e commit c07ec71

7 files changed

Lines changed: 25 additions & 25 deletions

File tree

Pose2Sim/Demo_Batch/Config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ mode = 'balanced' # 'lightweight', 'balanced', 'performance',
6262
# If your pose_model is not provided in skeletons.py, you may have to create your own one (see example at the end of the file).
6363
# Example, equivalent to mode='balanced':
6464
# mode = """{'det_class':'YOLOX',
65-
# 'det_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
65+
# 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
6666
# 'det_input_size':[640, 640],
6767
# 'pose_class':'RTMPose',
68-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zip',
68+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
6969
# 'pose_input_size':[192,256]}"""
7070
# Example with one-stage RTMO model (Requires pose_model = 'Body'):
7171
# mode = """{'pose_class':'RTMO',
72-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
72+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
7373
# 'pose_input_size':[640, 640]}"""
7474
# Example with animal pose estimation:
7575
# mode = """{'pose_class':'RTMPose',
76-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
76+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
7777
# 'pose_input_size':[256,256]}"""
7878

7979

Pose2Sim/Demo_Batch/Trial_1/Config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@
6262
# # If your pose_model is not provided in skeletons.py, you may have to create your own one (see example at the end of the file).
6363
# # Example, equivalent to mode='balanced':
6464
# # mode = """{'det_class':'YOLOX',
65-
# # 'det_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
65+
# # 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
6666
# # 'det_input_size':[640, 640],
6767
# # 'pose_class':'RTMPose',
68-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zip',
68+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
6969
# # 'pose_input_size':[192,256]}"""
7070
# # Example with one-stage RTMO model (Requires pose_model = 'Body'):
7171
# # mode = """{'pose_class':'RTMO',
72-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
72+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
7373
# # 'pose_input_size':[640, 640]}"""
7474
# # Example with animal pose estimation:
7575
# # mode = """{'pose_class':'RTMPose',
76-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
76+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
7777
# # 'pose_input_size':[256,256]}"""
7878

7979
# det_frequency = 4 # Run person detection only every N frames, and inbetween track previously detected bounding boxes (pose estimation is still run on all frames).

Pose2Sim/Demo_Batch/Trial_2/Config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ participant_mass = [70.0, 63.5] # float (eg 70.0), or list of floats (eg [70
6161
# # If your pose_model is not provided in skeletons.py, you may have to create your own one (see example at the end of the file).
6262
# # Example, equivalent to mode='balanced':
6363
# # mode = """{'det_class':'YOLOX',
64-
# # 'det_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
64+
# # 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
6565
# # 'det_input_size':[640, 640],
6666
# # 'pose_class':'RTMPose',
67-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zip',
67+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
6868
# # 'pose_input_size':[192,256]}"""
6969
# # Example with one-stage RTMO model (Requires pose_model = 'Body'):
7070
# # mode = """{'pose_class':'RTMO',
71-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
71+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
7272
# # 'pose_input_size':[640, 640]}"""
7373
# # Example with animal pose estimation:
7474
# # mode = """{'pose_class':'RTMPose',
75-
# # 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
75+
# # 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
7676
# # 'pose_input_size':[256,256]}"""
7777

7878
# det_frequency = 4 # Run person detection only every N frames, and inbetween track previously detected bounding boxes (pose estimation is still run on all frames).

Pose2Sim/Demo_MultiPerson/Config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ mode = 'balanced' # 'lightweight', 'balanced', 'performance',
6262
# If your pose_model is not provided in skeletons.py, you may have to create your own one (see example at the end of the file).
6363
# Example, equivalent to mode='balanced':
6464
# mode = """{'det_class':'YOLOX',
65-
# 'det_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
65+
# 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
6666
# 'det_input_size':[640, 640],
6767
# 'pose_class':'RTMPose',
68-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zip',
68+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
6969
# 'pose_input_size':[192,256]}"""
7070
# Example with one-stage RTMO model (Requires pose_model = 'Body'):
7171
# mode = """{'pose_class':'RTMO',
72-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
72+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
7373
# 'pose_input_size':[640, 640]}"""
7474
# Example with animal pose estimation:
7575
# mode = """{'pose_class':'RTMPose',
76-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
76+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
7777
# 'pose_input_size':[256,256]}"""
7878

7979

Pose2Sim/Demo_SinglePerson/Config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ mode = 'balanced' # 'lightweight', 'balanced', 'performance',
6060
# If your pose_model is not provided in skeletons.py, you may have to create your own one (see example at the end of the file).
6161
# Example, equivalent to mode='balanced':
6262
# mode = """{'det_class':'YOLOX',
63-
# 'det_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
63+
# 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
6464
# 'det_input_size':[640, 640],
6565
# 'pose_class':'RTMPose',
66-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zip',
66+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
6767
# 'pose_input_size':[192,256]}"""
6868
# Example with one-stage RTMO model (Requires pose_model = 'Body'):
6969
# mode = """{'pose_class':'RTMO',
70-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
70+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
7171
# 'pose_input_size':[640, 640]}"""
7272
# Example with animal pose estimation:
7373
# mode = """{'pose_class':'RTMPose',
74-
# 'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
74+
# 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
7575
# 'pose_input_size':[256,256]}"""
7676

7777

Pose2Sim/Utilities/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def test_workflow(self, mock_input):
170170
config_dict.get("project").update({"project_dir":project_dir})
171171
config_dict.get("pose").update({"pose_model":'Body'})
172172
config_dict.get("pose").update({"mode":"""{'pose_class':'RTMO',
173-
'pose_model':'https://download.openmmlab.com/mmpose/v1/projects/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
173+
'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
174174
'pose_input_size':[640, 640]}"""})
175175
config_dict.get("pose").update({"display_detection":False})
176176
config_dict.get("pose").update({"save_video":'none'})

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,22 +578,22 @@ This will run pose estimation on your videos and save the results in the `pose`
578578
> ```
579579
> # Equivalent to mode='balanced', with body_with_feet pose model
580580
> mode = """{'det_class':'YOLOX',
581-
> 'det_model':'https://download.openmmlab.com/mmpose/v1/prects/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.zip',
581+
> 'det_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/yolox_m_8xb8-300e_humanart-c2c7a14a.onnx',
582582
> 'det_input_size':[640, 640],
583583
> 'pose_class':'RTMPose',
584-
> 'pose_model':'https://download.openmmlab.com/mmpose/v1/prects/rtmposev1/onnx_sdk/rtose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.zi,
584+
> 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.onnx',
585585
> 'pose_input_size':[192,256]}"""
586586
>
587587
> # With one-stage RTMO model
588588
> # Requires pose_model = 'Body'. Marker augmentation won't work, Kimatic analysis will
589589
> mode = """{'pose_class':'RTMO',
590-
> 'pose_model':'https://download.openmmlab.com/mmpose/v1/prects/rtmo/onnx_sdk/rt-m_16xb16-600e_body7-640x640-39e78cc4_20231211.zip',
590+
> 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmo/onnx_sdk/rtmo-m_16xb16-600e_body7-640x640-39e78cc4_20231211.onnx',
591591
> 'pose_input_size':[640, 640]}"""
592592
>
593593
> # With animal pose estimation:
594594
> # Marker augmentation won't work, and you will need to create your owOpenSim skeleton for kinematic analysis.
595595
> mode = """{'pose_class':'RTMPose',
596-
> 'pose_model':'https://download.openmmlab.com/mmpose/v1/prects/rtmposev1/onnx_sdk/> rtose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.zip',
596+
> 'pose_model':'https://huggingface.co/datasets/DavidPagnon/rtmlib_models/resolve/main/mmpose/rtmposev1/onnx_sdk/rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1_20230206.onnx',
597597
> 'pose_input_size':[256,256]}"""
598598
>
599599
> # Same approach for hand or face pose estimation, check the RTMLib domentation for more information.

0 commit comments

Comments
 (0)