n class="sd">    CustomCallbacks class that extends the DefaultCallbacks class and overrides its methods to customize the</span>
<span class="sd">    behavior of the callbacks during the RL training process.</span>
<span class="sd">    &quot;&quot;&quot;</span>

<div class="viewcode-block" id="CustomCallbacks.on_episode_start">
<a class="viewcode-back" href="../../code/utils.html#utils.rllib_callbacks.CustomCallbacks.on_episode_start">[docs]</a>
    <span class="k">def</span> <span class="nf">on_episode_sta