Update convert2bvh.py

typo error in line 155. isinstace => isinstance
This commit is contained in:
rdenubila 2023-01-04 12:10:38 -03:00 committed by GitHub
parent 72e7c1ec6f
commit 5243fac7f4
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']: