You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I'm trying to run
'python experiments.py evaluate configs/IntersectionEnv/env.json
configs/IntersectionEnv/agents/DQNAgent/ego_attention_2h.json
--train --episodes=4000 --name-from-config'
Something wrong happend:
import_module highway_env
Traceback (most recent call last):
File "/.local/lib/python3.9/site-packages/rl_agents/agents/common/factory.py", line 76, in load_environment
env = gym.make(env_config['id'],render_mode='rgb_array')
File "/.local/lib/python3.9/site-packages/gym/envs/registration.py", line 569, in make
_check_version_exists(ns, name, version)
File "/.local/lib/python3.9/site-packages/gym/envs/registration.py", line 219, in _check_version_exists
_check_name_exists(ns, name)
File "/.local/lib/python3.9/site-packages/gym/envs/registration.py", line 197, in _check_name_exists
raise error.NameNotFound(
gym.error.NameNotFound: Environment intersection doesn't exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/rl-agents-master/rl-agents-master/scripts/experiments.py", line 150, in
main()
File "/rl-agents-master/rl-agents-master/scripts/experiments.py", line 45, in main
evaluate(opts[''], opts[''], opts)
File "/rl-agents-master/rl-agents-master/scripts/experiments.py", line 61, in evaluate
env = load_environment(environment_config)
File "/.local/lib/python3.9/site-packages/rl_agents/agents/common/factory.py", line 85, in load_environment
raise gym.error.UnregisteredEnv('Environment {} not registered. The environment module should be specified by '
gym.error.UnregisteredEnv: Environment intersection-v0 not registered. The environment module should be specified by the "import_module" key of the environment configuration
I've aleardy installed all the packages required,and I tried to find a solution online, but it didn't work.
Hope to receive your replay!
The text was updated successfully, but these errors were encountered:
Hi,thanks for your work first!
But when I'm trying to run
'python experiments.py evaluate configs/IntersectionEnv/env.json
configs/IntersectionEnv/agents/DQNAgent/ego_attention_2h.json
--train --episodes=4000 --name-from-config'
Something wrong happend:
I've aleardy installed all the packages required,and I tried to find a solution online, but it didn't work.
Hope to receive your replay!
The text was updated successfully, but these errors were encountered: