Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
malevors opened this issue Dec 21, 2022 · 1 comment
Open

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

malevors opened this issue Dec 21, 2022 · 1 comment

Comments

@malevors
Copy link

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
Copy link
Owner

Luca96 commented Dec 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants