Open Deepak3994 opened 5 years ago
Please refer to https://github.com/carla-simulator/imitation-learning/blob/master/agents/imitation/imitation_learning.py. This controller has to read the model/checkpoint file. This is how you can run it in the carla environment.
The above file contains imitation_learning.py consists of set of function calls but there is no main function associated with it, is there is any main function so that all the function can be called in appropriate order to do the inference on carla.
You have to go to yet another repository (the Carla main repository) https://github.com/carla-simulator/carla/blob/master/Deprecated/PythonClient/driving_benchmark_example.py, and switch out the agent for the one in imitation_learning.py
KIndly help