Luca96 / carla-driving-rl-agent

Code for the paper "Reinforced Curriculum Learning for Autonomous Driving in CARLA" (ICIP 2021)
MIT License
98 stars 23 forks source link

'CARLAEnv' object has no attribute 'seed' #22

Open malevors opened 1 year ago

malevors commented 1 year ago

File /Carla/RNN/carla-agent/rl/agents/agents.py", line 70, in set_random_seed self.env.seed(seed) AttributeError: 'CARLAEnv' object has no attribute 'seed'

Luca96 commented 1 year ago

Hi, I guess the error is due to the newer versions of gym to have adopted a new API, and so old things have broken... Try to install version 0.22 or older: e.g. pip install gym==0.22.0