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

cannot import name 'EPISODE_RETURN_MEAN' from 'ray.rllib.utils.metrics' #45453

Open
luweiagi opened this issue May 21, 2024 · 0 comments
Open
Labels
bug Something that is supposed to be working; but isn't P3 Issue moderate in impact or severity rllib RLlib related issues

Comments

@luweiagi
Copy link

What happened + What you expected to happen

~/ray/rllib/examples# python cartpole_lstm.py
Traceback (most recent call last):
  File "/root/autodl-tmp/ray/rllib/examples/cartpole_lstm.py", line 9, in <module>
    from ray.rllib.utils.metrics import (
ImportError: cannot import name 'EPISODE_RETURN_MEAN' from 'ray.rllib.utils.metrics' (/root/miniconda3/envs/rllib/lib/python3.11/site-packages/ray/rllib/utils/metrics/__init__.py)

Versions / Dependencies

Python 3.11.9
ray 2.22.0

Reproduction script

image

Issue Severity

None

@luweiagi luweiagi added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels May 21, 2024
@luweiagi luweiagi changed the title annot import name 'EPISODE_RETURN_MEAN' from 'ray.rllib.utils.metrics' cannot import name 'EPISODE_RETURN_MEAN' from 'ray.rllib.utils.metrics' May 21, 2024
@anyscalesam anyscalesam added the rllib RLlib related issues label May 24, 2024
@simonsays1980 simonsays1980 added P3 Issue moderate in impact or severity and removed triage Needs triage (eg: priority, bug/not-bug, and owning component) labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't P3 Issue moderate in impact or severity rllib RLlib related issues
Projects
None yet
Development

No branches or pull requests

3 participants