code: def dump_video_of_last_episode(self):
      from rl_coach.logger import experiment_path
  
      self.env._run_config.replay_dir = experiment_path
      self.env.save_replay("replays")
      super().dump_video_of_last_episode()
  
imports: from enum import Enum
  from typing import Union, List
  import numpy
  from rl_coach.filters.observation.observation_move_axis_filter import ObservationMoveAxisFilter
  from rl_coach.environments.environment import Environment, EnvironmentParameters, LevelSelection
  from rl_coach.base_parameters import VisualizationParameters
  from rl_coach.spaces import BoxActionSpace, VectorObservationSpace, PlanarMapsObservationSpace, StateSpace, CompoundActionSpace, DiscreteActionSpace
  from rl_coach.filters.filter import InputFilter, OutputFilter
  from rl_coach.filters.observation.observation_rescale_to_size_filter import ObservationRescaleToSizeFilter
  from rl_coach.filters.action.linear_box_to_box_map import LinearBoxToBoxMap
  from rl_coach.filters.observation.observation_to_uint8_filter import ObservationToUInt8Filter
label_desc: Use image node_id 6 for calling the StarCraft2Environment obj's underlying member method code with example usage: obj.dump_video_of_last_episode() without return types