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

"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). " #47

Open
TianQingX opened this issue Jul 5, 2024 · 1 comment

Comments

@TianQingX
Copy link

python benchmark.py
Calculating device: cpu
Deep learning toolbox: PyTorch.
Algorithm: DQN
Environment: Atari
Scenario: Breakout-v4
A.L.E: Arcade Learning Environment (version 0.7.5+db37282)
[Powered by Stella]
/home/pillar/anaconda3/envs/xuance_env/lib/python3.7/site-packages/gym/utils/passive_env_checker.py:32: UserWarning: WARN: A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (210, 160)
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). "

image

请问什么版本才有breakoutv5,  当前版本运行会如下有报错

@wenzhangliu
Copy link
Collaborator

Hi, this is not an error. The Atari tasks are recommended to be run on a GPU rather than a CPU. If you want to test the Atari tasks with CPU, you can reduce the number of parallel environments, buffer size and test_episode in configuration files.

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