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

Error while running "data_collect.py" #46

Open
SExpert12 opened this issue May 21, 2024 · 2 comments
Open

Error while running "data_collect.py" #46

SExpert12 opened this issue May 21, 2024 · 2 comments

Comments

@SExpert12
Copy link

Hi,
I am running code in CARLA 0.9.14 and while data collection I received the error:
from gym.wrappers.monitoring.video_recorder import ImageEncoder
ImportError: cannot import name 'ImageEncoder' from 'gym.wrappers.monitoring.video_recorder'

Although version is different this error is of carla gym. ImageEncoder is deprecated so how to change code according?

Thanks in advance.

@anthonyhu
Copy link
Collaborator

Hey, which gym version as you using? The code was tested with gym=0.17.2

@SExpert12
Copy link
Author

carla gym 1.0.0.

Thanks for quick reply.

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

No branches or pull requests

2 participants