carla-simulator / reinforcement-learning

Reinforcement learning baseline agent trained with the Actor-critic (A3C) algorithm.
Other
238 stars 60 forks source link

How to train this model? #21

Open minori5214 opened 3 years ago

minori5214 commented 3 years ago

Hi, could someone tell me how to train A3C on the CARLA simulator? I believe I should use A3CTrainer in a3c.py, but I cannot find where this class is used to train the model. Also, I am not sure how the reward function is defined in A3C. Is it manually defined in somewhere in the codes or is it pre-defined by the CARLA simulator?

Thank you!