-
Notifications
You must be signed in to change notification settings - Fork 107
Description
When I run the code for rlbench, there will be one or more errors, but the code can run until meet the error. There is a example:
`*** OpenAI API call took 0.87s ***
########################################
...
composer("move to the center of the button with the magenta base")
composer("close the gripper")
composer("back to default pose")
done`
KeyError Traceback (most recent call last)
nstruction = np.random.choice(descriptions)
voxposer_ui(instruction)
import pdb ; pdb.set_trace()
exec_safe(to_exec, gvars, lvars)
custom_gvars = merge_dicts([
gvars,
{'exec': empty_fn, 'eval': empty_fn}
exec(code_str, custom_gvars, lvars)
File ~/Enbodied_AI/voxposer1/VoxPoser/src/utils.py:141, in Observation.getattr(self, key)
def getattr(self, key):
return self.obs_dict[key]
KeyError: 'color'
Can anyone tell what result in this, thanks.