Jeff-sjtu/HybrIK

fail to import .pk file using Hybrlk add-on

Opened this issue · 2 comments

hi, thanks for your great work.
But when I try importing a ".pk" file with your add-on, it fails and says: no module named torch:
企业微信截图_1700047389392
I have no idea why cause that. Does anyone have any suggestion?

The above question has been resolved. But a new strange problem appears:
image
when I try to import pk file, it says:
Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\hybrik_blender_addon_init_.py", line 69, in execute
load_bvh(res_db, root_path, gender)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\hybrik_blender_addon\convert2bvh.py", line 198, in load_bvh
ob, obname, arm_ob = init_scene(scene, root_path, gender)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\hybrik_blender_addon\convert2bvh.py", line 68, in init_scene
cam_ob = bpy.data.objects['Camera']
KeyError: 'bpy_prop_collection[key]: key "Camera" not found'
what should I do

hi did you check this pr convo? #170