code: def reset(self, **kwargs):
      obs = self.env.reset(**kwargs)
  
      if self._total_steps is None:
          self._total_steps = sum(self._episode_lengths)
  
      if self._current_reward is not None:
          self._episode_rewards.append(self._current_reward)
          self._episode_lengths.append(self._num_steps)
          self._num_episodes += 1
  
      self._current_reward = 0
      self._num_steps = 0
  
      return obs
  
imports: import time
  import numpy
  from collections import deque
  import gym
  from gym import spaces
  from parl.env.compat_wrappers import CompatWrapper, is_gym_version_ge, V_NPRANDOM_CHANGED
  import cv2
label_desc: Use image node_id 2 for calling the MonitorEnv obj's underlying member method code with example usage: obj.reset() and returns: obs