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

Centralized paradigm benchmark custom_preprocessor error #1236

Closed
nkaslin opened this issue Jan 11, 2022 · 1 comment
Closed

Centralized paradigm benchmark custom_preprocessor error #1236

nkaslin opened this issue Jan 11, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@nkaslin
Copy link

nkaslin commented Jan 11, 2022

High Level Description
I am in the process of running the marl_benchmarks. Training and evaluation works for the decentralized paradigm. I would also like to run it for the centralized paradigm to compare performances.

Desired SMARTS version
0.4.17

Operating System
ubuntu 18.04

Problems
When I run the training with the centralized paradigm, it gives me the following error:
command: python run.py scenarios/double_merge/nocross -f marl_benchmark/agents/ppo/baseline-lane-control.yaml --num_workers 2 --headless --paradigm centralized

error:

Failure # 1 (occurred at 2022-01-11_19-08-17)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/ray/tune/trial_runner.py", line 890, in _process_trial
results = self.trial_executor.fetch_result(trial)
File "/usr/local/lib/python3.7/dist-packages/ray/tune/ray_trial_executor.py", line 788, in fetch_result
result = ray.get(trial_future[0], timeout=DEFAULT_GET_TIMEOUT)
File "/usr/local/lib/python3.7/dist-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/ray/worker.py", line 1627, in get
raise value
ray.exceptions.RayActorError: The actor died because of an error raised in its creation task, �[36mray::PPO.init()�[39m (pid=147, ip=172.17.0.10)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer_template.py", line 137, in init
Trainer.init(self, config, env, logger_creator)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 623, in init
super().init(config, logger_creator)
File "/usr/local/lib/python3.7/dist-packages/ray/tune/trainable.py", line 107, in init
self.setup(copy.deepcopy(self.config))
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer_template.py", line 147, in setup
super().setup(config)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 740, in setup
self._allow_unknown_configs)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 1537, in merge_trainer_configs
cls._override_all_subkeys_if_type_changes)
File "/usr/local/lib/python3.7/dist-packages/ray/util/ml_utils/dict.py", line 51, in deep_update
raise Exception("Unknown config parameter {} ".format(k))
Exception: Unknown config parameter custom_preprocessor

I already tried a bunch of fixes for this, one was updating to ray 1.8.0.

@nkaslin nkaslin added the help wanted Extra attention is needed label Jan 11, 2022
@RutvikGupta RutvikGupta linked a pull request Jan 14, 2022 that will close this issue
@Adaickalavan
Copy link
Member

This issue is being closed as the marl_benchmark has been archived and is not expected to receive any further updates. See #2025.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants