rl icon indicating copy to clipboard operation
rl copied to clipboard

Tutorial of implementing learning using torchrl in a PettingZoo environment

Open AnastasiaPsarou opened this issue 1 year ago • 2 comments

Is there a tutorial on how to implement an RL algorithm like PPO in a PettingZoo env using TorchRL. I used the PettingZooWrapper() function on the already created environment but after that I am confused on how to procede further.

AnastasiaPsarou avatar Apr 08 '24 13:04 AnastasiaPsarou

Hello! I think this is the purpose of https://github.com/pytorch/rl/pull/2047 but @matteobettini will be the person to confirm

vmoens avatar Apr 09 '24 07:04 vmoens

It is indeed!

matteobettini avatar Apr 09 '24 07:04 matteobettini

Does this https://pytorch.org/rl/stable/tutorials/multiagent_competitive_ddpg.html solve your issue?

matteobettini avatar May 31 '24 07:05 matteobettini

I believe this is solved now thanks to Matteo's amazing tuto, happy to reopen if needed

vmoens avatar Jun 03 '24 12:06 vmoens