Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei-Chen-hub committed Feb 24, 2024
1 parent c208103 commit 7e42bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmhuman3d/data/data_converters/synbody_whac.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def convert_by_mode(self, dataset_path: str, out_path: str,
# use HumanData to store all data
human_data = HumanData()

seqs = seqs_targeted[i * len(seqs_targeted) // slices: (i + 1) * len(seqs_targeted) // slices]
seqs = seqs_targeted[slid * len(seqs_targeted) // slices: (slid + 1) * len(seqs_targeted) // slices]
print(f'Processing {mode} slice {i + 1} / {slices} with {len(seqs)} sequences')
# initialize output for human_data
smplx_ = {}
Expand Down

0 comments on commit 7e42bd3

Please sign in to comment.