AnimatedDrawings icon indicating copy to clipboard operation
AnimatedDrawings copied to clipboard

AssertionError,when I use my own BVH file

Open Pythonpa opened this issue 2 years ago • 0 comments

Thanks to the author's outstanding work! I encountered the following error when using the BVH file extracted by myself to drive the picture animation. Where can I correct it?

from animated_drawings import render render.start('./examples/config/mvc/interactive_window_example.yaml') CRITICAL:root:framenum specified (1482) and found (1483) do not match CRITICAL:root:Error loading BVH: framenum specified (1482) and found (1483) do not match Traceback (most recent call last): File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\retargeter.py", line 34, in init self.bvh = BVH.from_file(str(motion_cfg.bvh_p), motion_cfg.start_frame_idx, motion_cfg.end_frame_idx) File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\bvh.py", line 162, in from_file assert False, msg AssertionError: framenum specified (1482) and found (1483) do not match

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "D:\pythonProject\AnimatedDrawings\animated_drawings\render.py", line 21, in start scene = Scene(cfg.scene) File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\scene.py", line 30, in init ad = AnimatedDrawing(*each) File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\animated_drawing.py", line 255, in init self._initialize_retargeter_bvh(motion_cfg, retarget_cfg) File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\animated_drawing.py", line 317, in _initialize_retargeter_bvh self.retargeter = Retargeter(motion_cfg, retarget_cfg) File "D:\pythonProject\AnimatedDrawings\animated_drawings\model\retargeter.py", line 38, in init assert False, msg AssertionError: Error loading BVH: framenum specified (1482) and found (1483) do not match

Pythonpa avatar Apr 16 '23 16:04 Pythonpa