class_docstr: Hindsight Experience Replay (HER) https://arxiv.org/abs/1707.01495
  
  :param policy: (BasePolicy or str) The policy model to use (MlpPolicy, CnnPolicy, CnnLstmPolicy, ...)
  :param env: (Gym environment or str) The environment to learn from (if registered in Gym, can be str)
  :param model_class: (OffPolicyRLModel) The off policy RL model to apply Hindsight Experience Replay
      currently supported: DQN, DDPG, SAC
  :param n_sampled_goal: (int)
  :param goal_selection_strategy: (GoalSelectionStrategy or str)
code: def load(cls, load_path, env=None, custom_objects=None, **kwargs):
      data, _ = cls._load_from_file(
          load_path, custom_objects=custom_objects
      )
  
      if (
          "policy_kwargs" in kwargs
          and kwargs["policy_kwargs"] != data["policy_kwargs"]
      ):
          raise ValueError(
              "The specified policy kwargs do not equal the stored policy kwargs. "
              "Stored kwargs: {}, specified kwargs: {}".format(
                  data["policy_kwargs"], kwargs["policy_kwargs"]
              )
          )
  
      model = cls(
          policy=data["policy"],
          env=env,
          model_class=data["model_class"],
          n_sampled_goal=data["n_sampled_goal"],
          goal_selection_strategy=data["goal_selection_strategy"],
          _init_setup_model=False,
      )
      model.__dict__["observation_space"] = data["her_obs_space"]
      model.__dict__["action_space"] = data["her_action_space"]
      model.model = data["model_class"].load(
          load_path, model.get_env(), **kwargs
      )
      model.model._save_to_file = model._save_to_file
      return model
  
imports: import functools
  from stable_baselines.common import BaseRLModel
  from stable_baselines.common import OffPolicyRLModel
  from stable_baselines.common.base_class import _UnvecWrapper
  from stable_baselines.common.vec_env import VecEnvWrapper
  from .replay_buffer import HindsightExperienceReplayWrapper, KEY_TO_GOAL_STRATEGY
  from .utils import HERGoalEnvWrapper
label_desc: Use image node_id 16 for calling the HER obj's underlying member method code with example usage: obj.load(cls, load_path, env, custom_objects) and returns: model