huangwl18 / VoxPoser

VoxPoser: Composable 3D Value Maps for Robotic Manipulation with Language Models
https://voxposer.github.io/
MIT License
592 stars 78 forks source link

OSError: [Errno 22] Invalid argument: 'visualizations/9:57:4.html' #6

Open YuzhouPeng opened 1 year ago

YuzhouPeng commented 1 year ago

Thank you for your great work, I use gpt-3.5-turbo to do instruction, then it showed following error:

(using cache) OpenAI API call took 0.00s ########################################

"composer" generated code

########################################

Query: grasp the rubbish.

movable = parse_query_obj('rubbish') affordance_map = get_affordance_map('a point at the center of the rubbish') gripper_map = get_gripper_map('open everywhere except 1cm around the rubbish') execute(movable, affordance_map=affordance_map, gripper_map=gripper_map) ... composer("back to default pose") composer("move to the top of the bin") composer("open gripper")

done

Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

OSError Traceback (most recent call last) Cell In[5], line 3 1 instruction = np.random.choice(descriptions) 2 print(instruction) ----> 3 voxposer_ui(instruction)

File /media/test/DATA/VoxPoser/src/LMP.py:146, in LMP.call(self, query, **kwargs) 144 import pdb ; pdb.set_trace() 145 else: --> 146 exec_safe(to_exec, gvars, lvars) 148 self.exec_hist += f'\n{to_log.strip()}' 150 if self._cfg['maintain_session']:

File /media/test/DATA/VoxPoser/src/LMP.py:189, in exec_safe(code_str, gvars, lvars) 187 except Exception as e: 188 print(f'Error executing code:\n{code_str}') --> 189 raise e

File /media/test/DATA/VoxPoser/src/LMP.py:186, in exec_safe(code_str, gvars, lvars) 181 custom_gvars = merge_dicts([ 182 gvars, 183 {'exec': empty_fn, 'eval': empty_fn} 184 ]) 185 try: ... 1118 def _opener(self, name, flags, mode=0o666): 1119 # A stub for the opener argument to built-in open() -> 1120 return self._accessor.open(self, flags, mode)

OSError: [Errno 22] Invalid argument: 'visualizations/9:57:4.html'

How can I solve it, thank you!