I need to apply some custom changes to the SACTorchModel. As indicated in the docstring of this class, one way to do it is to subclass it and do the changes.
The question is, where in the policy/trainer’s config do I indicate that this modified model should be used?
Hey @bmanczak , what @mannyv said!
Plus, for those algos that must use special model APIs, like SAC (or DQN), you should simply sub-class the given SAC[Torch|Tf]Model and plug your new sub-class into the config like so:
config:
model:
custom_model: [your sub-class]
custom_model_config: {
c'tor kwargs for your new class
}