offline_rl¶
td3bc_agent¶
- class xuance.torch.agents.offline_rl.td3bc_agent.TD3_BC_Agent(config: Namespace, envs: DummyVecEnv | SubprocVecEnv, callback: BaseCallback | None = None)[source]¶
Bases:
OfflineAgentThe implementation of TD3_BC agent.
- Parameters:
config – the Namespace variable that provides hyperparameters and other settings.
envs – the vectorized environments.
callback – A user-defined callback function object to inject custom logic during training.