Arcade-Learning-Environment icon indicating copy to clipboard operation
Arcade-Learning-Environment copied to clipboard

Bizarre warnings

Open slerman12 opened this issue 3 years ago • 1 comments

Hi, I'm getting the following bizarre warnings on a freshly installed Conda env of Atari and gym. Running on M1 MacBook.

First,

/lib/python3.8/site-packages/gym/envs/registration.py:423: UserWarning: WARN: Custom namespace ALEis being overridden by namespaceALE. If you are developing a plugin you shouldn't specify a namespace in registercalls. The namespace is specified through the entry point package metadata.

And second,

/lib/python3.8/site-packages/gym/utils/env_checker.py:137: UserWarning: WARN: Your observation has an unconventional shape (neither an image, nor a 1D vector). We recommend you to flatten the observation to have only a 1D vector or use a custom policy to properly process the data. logger.warn(

slerman12 avatar Jun 23 '22 15:06 slerman12

Hi @slerman12, the first warning can be safely ignored. There is something in your environment that might be non-standard. For example, do you have the ALE in your current path or PYTHONPATH when you already have the wheel installed via conda? Are you using a local copy of Gym in editable mode?

Somehow the ALE environments are getting registered twice and hence the warning about overriding the namespace.

RE: the second warning, do you get this upon importing Gym? As far as I know we comply with the Gym environment checker. I'll have to check this again with the latest version and I plan on making a release soon so if we somehow fell out of compliance then I'll make the necessary changes.

JesseFarebro avatar Aug 05 '22 03:08 JesseFarebro