Closed tom-doerr closed 4 years ago
Even after over 5000 Episodes the Training doesn't start. The following error messages keep popping up:
X Error: BadShmSeg (invalid shared segment parameter) 128 Extension: 130 (MIT-SHM) Minor opcode: 3 (X_ShmPutImage) Resource id: 0x2c0000e
I'm running the training inside a docker container using the following command:
docker run -it --gpus all -v /tmp/.X11-unix:/tmp/.X11-unix \ -v ~/.Xauthority:/home/root/.Xauthority \ --link carla_server \ -u 1000 \ --env DISPLAY=:0 sentdex_carla_rl_image bash -c ' echo started & \ socat TCP-LISTEN:2000,fork TCP:carla_server:2000 & \ socat TCP-LISTEN:2001,fork TCP:carla_server:2001 & \ sleep 1 && \ #./carla_095/PythonAPI/examples/manual_control.py && \ python3 train.py '
I fixed it by setting the following environment variable:
QT_X11_NO_MITSHM=1
Even after over 5000 Episodes the Training doesn't start. The following error messages keep popping up:
I'm running the training inside a docker container using the following command: