Open panoskyriakis opened 8 months ago
Thank you for the comment. Yes, we have that planned for actor-critic methods. Note that for value based methods, we do give the option to users to pass in a network instance.
Hi,
Just following up on this. We have updated the actor-critic base class to also be able to pass in actor and critic networks as arguments. Thank you for this suggestion. Please let us know if you notice any errors when using it. It will be helpful for us.
The current implementation of
ActorCriticBase
makes it a bit trick to have custom actor and critic networks that have shared layers. This is because the instantiation of the networks happen in theActorCriticBase
class. You can probably get around it but it's very tricky. I'd recommend you pass in the actor/critic objects rather than the class types and let the user initialize them.