trt_pose_hand icon indicating copy to clipboard operation
trt_pose_hand copied to clipboard

Cursor control application error: FileNotFoundError: [Errno 2] No such file or directory: 'hand_pose.json'

Open ztbupt opened this issue 1 year ago • 0 comments

The first(Hand Pose demo) and second(Hand gesture recoginition) demo work good, but the third(Cursor control application) demo meet below issues:

Traceback (most recent call last): File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "/tmp/ipykernel_9901/750183242.py", line 1, in with open('hand_pose.json', 'r') as f: File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 284, in _modified_open return io_open(file, *args, **kwargs) FileNotFoundError: [Errno 2] No such file or directory: 'hand_pose.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 2105, in showtraceback stb = self.InteractiveTB.structured_traceback( File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1396, in structured_traceback return FormattedTB.structured_traceback( File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1287, in structured_traceback return VerboseTB.structured_traceback( File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1140, in structured_traceback formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context, File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1030, in format_exception_as_a_whole self.get_records(etb, number_of_lines_of_context, tb_offset) if etb else [] File "/home/em3/.local/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1082, in get_records style = stack_data.style_with_executing_node(style, self._tb_highlight) File "/home/em3/.local/lib/python3.8/site-packages/stack_data/core.py", line 455, in style_with_executing_node class NewStyle(style): File "/usr/lib/python3/dist-packages/pygments/style.py", line 91, in new ndef[4] = colorformat(styledef[3:]) File "/usr/lib/python3/dist-packages/pygments/style.py", line 58, in colorformat assert False, "wrong color format %r" % text AssertionError: wrong color format 'ansiyellow'

ztbupt avatar Jan 27 '24 06:01 ztbupt