uoe-agents / IGP2

Official Repository for "Interpretable Goal-based Prediction and Planning for Autonomous Driving" (ICRA 2021)
Other
82 stars 18 forks source link

AttributeError: 'CarlaSim' object has no attribute '_CarlaSim__world' #4

Closed limeng-1234 closed 2 years ago

limeng-1234 commented 2 years ago

Hello, this is a great research. I'm running the ‘’carla_traffic_manager.py‘’ and it shows the error 'CarlaSim' object has no attribute '_CarlaSim__world'. However I did not find attribute '_CarlaSim__world' in this project. I am looking forward to your answer!

gyevnarb commented 2 years ago

Hi! Thanks for your comment. You are most likely running the code from the wrong directory. Can you try running the script from the root folder of IGP2 and see if that works?