I have 2 GPUs in my conputer and I want to train the RL model on the 2nd one. I replaced the code gpu: [0]in endless_all.yaml with gpu: [1], the final shell comand of CARLA startup is CUDA_VISIBLE_DEVICES=1 bash /media/carla/CarlaUE4.sh -fps=10 -quality-level=Low -carla-rpc-port=2000. However, I find that all CARLA servers are still running on GPU0, as shown in the picture .
I am really confused and don't know how to solve this problem. Thanks for any help!
Hi, guys!
I have 2 GPUs in my conputer and I want to train the RL model on the 2nd one. I replaced the code
gpu: [0]
inendless_all.yaml
withgpu: [1]
, the final shell comand of CARLA startup isCUDA_VISIBLE_DEVICES=1 bash /media/carla/CarlaUE4.sh -fps=10 -quality-level=Low -carla-rpc-port=2000
. However, I find that all CARLA servers are still running onGPU0
, as shown in the picture .I am really confused and don't know how to solve this problem. Thanks for any help!![2023-02-16 21-55-15 的屏幕截图](https://user-images.githubusercontent.com/96912246/219383923-5b125aae-ec42-44b4-a9d3-3be64b0e726c.png)