Skip to content

[Fix] modified H36m convert in mmhuman3d\data\data_converts\h36m.py #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions mmhuman3d/data/data_converters/h36m.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@
for user_i in tqdm(user_list, desc='user id'):
user_name = f'S{user_i}'
# path with GT bounding boxes
# sometimes the path of GT bbox may be ground_truth_bb
if os.path.exists(
os.path.join(dataset_path, user_name, 'MySegmentsMat',
'ground_truth_bb')):
os.rename(

Check warning on line 241 in mmhuman3d/data/data_converters/h36m.py

View check run for this annotation

Codecov / codecov/patch

mmhuman3d/data/data_converters/h36m.py#L241

Added line #L241 was not covered by tests
os.path.join(dataset_path, user_name, 'MySegmentsMat',
'ground_truth_bb'),
os.path.join(dataset_path, user_name, 'MySegmentsMat',
'ground_truth_bs'))
bbox_path = os.path.join(dataset_path, user_name, 'MySegmentsMat',
'ground_truth_bs')
# path with GT 2D pose
Expand Down