Update convert2bvh.py

This commit is contained in:
앞예리 2022-10-08 23:16:50 +09:00 committed by GitHub
parent 7a8546e118
commit 1c3cd8be62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']: