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
Hello,
Thank you for your handy library.
I have an environment which I have to pass multiple arguments. in your tutorials LINK it was mentioned to use the following code:
I'm sorry, but it's quite difficult for me to resolve your issue with just this limited information. You can successfully run the examples in the tutorial, but you're not able to implement them in your own code, right? To achieve your goal, I suggest you consider manually editing the omnisafe/configs/on-policy/PPOLag.yaml file to make the necessary changes. Hope it can work.
Required prerequisites
Questions
Hello,
Thank you for your handy library.
I have an environment which I have to pass multiple arguments. in your tutorials LINK it was mentioned to use the following code:
custom_cfgs.update({'env_cfgs': {'num_agents': 2}})
agent = omnisafe.Agent('PPOLag', 'NewExample-v0', custom_cfgs=custom_cfgs)
However, when I used it I got this error:
KeyError: 'Invalid key: env_cfgs'
Please help with it.
thanks
The text was updated successfully, but these errors were encountered: