Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei-Chen-hub committed Mar 1, 2024
1 parent a7a3461 commit cb5451a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions mmhuman3d/data/data_converters/synbody_whac.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
@DATA_CONVERTERS.register_module()
class SynbodyWhacConverter(BaseModeConverter):
"""Synbody dataset."""
ACCEPTED_MODES = ['AMASS_tracking', 'DuetDance']
ACCEPTED_MODES = ['AMASS_tracking-20240221', 'AMASS_tracking-20240229',
'DuetDance-20240218']

def __init__(self, modes: List = []) -> None:

Expand Down Expand Up @@ -131,7 +132,7 @@ def convert_by_mode(self, dataset_path: str, out_path: str,

# get target sequences
seqs_targeted = glob.glob(os.path.join(dataset_path, 'Synbody_whac',
f'{mode}*', '*',
f'{mode}', '*',
'*_*', 'smplx_adjusted', '*.npz'))

# bulid smplx model
Expand Down
3 changes: 2 additions & 1 deletion tools/convert_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
synbody_whac=dict(
type='SynbodyWhacConverter', # synthetic
prefix='synbody',
modes=['AMASS_tracking', 'DuetDance']),
modes=['AMASS_tracking-20240221', 'AMASS_tracking-20240229',
'DuetDance-20240218']),
ubody=dict(
type='UbodyConverter', # real, has some single
prefix='ubody',
Expand Down

0 comments on commit cb5451a

Please sign in to comment.