huangwl18 / VoxPoser

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

Running issue #1

Open songhat opened 10 months ago

songhat commented 10 months ago

my config: wsl Ubuntu-22.04 python 3.9

when i run following code. jupyter Kernel was restarting.

config = get_config('rlbench')
# uncomment this if you'd like to change the language model (e.g., for faster speed or lower cost)
for lmp_name, cfg in config['lmp_config']['lmps'].items():
    cfg['model'] = 'gpt-3.5-turbo'

# initialize env and voxposer ui
visualizer = ValueMapVisualizer(config['visualizer'])
env = VoxPoserRLBench(visualizer=visualizer)
lmps, lmp_env = setup_LMP(env, config, debug=False)
voxposer_ui = lmps['plan_ui']

jupyter debug info:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/mnt/d/all_codes/VoxPoser/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
songhat commented 10 months ago

I changed to ubuntu20.04 version and solved the above problem, but there are new problems. when i run following code. the coppeliasim crash.

env.load_task(tasks.PutRubbishInBin)
descriptions, obs = env.reset()
set_lmp_objects(lmps, env.get_object_names())  # set the object names to be used by voxposer

and the error is : Error: signal 11:


/mnt/d/all_codes/VoxPoser/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04/libcoppeliaSim.so.1(_Z11_segHandleri+0x30)[0x7f7bab6e2ae0]
/lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f7c5d06b090]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd7deb7)[0x7f7b842b4eb7]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd81994)[0x7f7b842b8994]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd79593)[0x7f7b842b0593]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd2395f)[0x7f7b8425a95f]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd2457e)[0x7f7b8425b57e]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x2370ad)[0x7f7b8376e0ad]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x237d23)[0x7f7b8376ed23]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x2392ee)[0x7f7b837702ee]
xsw1208 commented 9 months ago

I also meet this problem. It might be something wrong with RLBench.

lxsy-xcy commented 9 months ago

I also meet this problem.

Beyond0128 commented 7 months ago

I also meet the same problems. Maybe we can have a further communication~ Maybe we can have a further conversation @songhat @lxsy-xcy @xsw1208 @huangwl18 Which my Email is : williamyang0128@gmail.com Hope for your message~

FB-wh commented 6 months ago

I also meet this problem.How to solve it please?

Beyond0128 commented 6 months ago

Probably you can try to use it in a physical ubuntu instead of trying it in a virtual machine.^_^ @FB-wh