Setting-Up-CARLA-Reinforcement-Learning icon indicating copy to clipboard operation
Setting-Up-CARLA-Reinforcement-Learning copied to clipboard

Run training faster

Open kargarisaac opened this issue 4 years ago • 1 comments

Hi,

Is it possible to run the simulator faster for training the RL agent? It is too slow in real time

kargarisaac avatar Jan 29 '20 17:01 kargarisaac

It is true that simulation is costly and takes time. These are some factors that affect the simulation:

  • Resolution of RGB camera
  • Number of cameras
  • Additional outputs like depth maps and segmented images (if you're using)
  • Reduce rendering resolution or Disable rendering

In addition, you can also try playing with the FPS rate in the config.py, but it won't help if the bottleneck is your GPU and the actual simulation/graphics. Also, you may try using Carla latest versions, but I haven't added support for it / tested it.

GokulNC avatar Jan 30 '20 06:01 GokulNC