Update convert2bvh.py
This commit is contained in:
parent
7a8546e118
commit
1c3cd8be62
@ -152,7 +152,7 @@ def read_smpl(outname):
|
||||
assert os.path.exists(outname), outname
|
||||
datas = read_json(outname)
|
||||
outputs = []
|
||||
if isinstace(datas, dict):
|
||||
if isinstance(datas, dict):
|
||||
datas = datas['annots']
|
||||
for data in datas:
|
||||
for key in ['Rh', 'Th', 'poses', 'shapes']:
|
||||
|
Loading…
Reference in New Issue
Block a user