Merge pull request #253 from rdenubila/patch-1

Fix typo in file convert2bvh.py
This commit is contained in:
Qing Shuai 2023-02-11 20:54:56 +08:00 committed by GitHub
commit a4d301a061
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 assert os.path.exists(outname), outname
datas = read_json(outname) datas = read_json(outname)
outputs = [] outputs = []
if isinstace(datas, dict): if isinstance(datas, dict):
datas = datas['annots'] datas = datas['annots']
for data in datas: for data in datas:
for key in ['Rh', 'Th', 'poses', 'shapes']: for key in ['Rh', 'Th', 'poses', 'shapes']: