I have been trying to move my code from old ray RLlib version to 2.5.0 (latest).
You can find the old code @ GitHub - ankithaldar/all_python_projects at world_of_supply/main
I have made significant changes to the old code to move it to new version which can be found in branch
world_of_supply/fix_errors
in the same repo.
Below error is in the new version of the code in branch
world_of_supply/fix_errors
I’m getting an error as
TypeError: create_policy_mapping_fn.<locals>.mapping_fn() got an unexpected keyword argument 'worker'
when I try to train my PPO in the file at line 228
result = ppo_trainer.train()
How do I resolve this?