class_docstr: Doppelganger Simulator for time series generation.
  The codes and algorithm are adapted from https://github.com/fjxmlzn/DoppelGANger.
class_docstr_tok: ["Doppelganger","Simulator","for","time","series","generation",".","The","codes","and","algorithm","are","adapted","from","https",":","\/\/github.com\/fjxmlzn\/DoppelGANger","."]
docstr: Load the simulator.
  
  :param path_dir: saving path
  :param model_version: model version(filename) you would like to load.
docstr_tok: ["Load","the","simulator",".",":","param","path_dir",":","saving","path",":","param","model_version",":","model","version","(","filename",")","you","would","like","to","load","."]
code: def load(self, path_dir, model_version=MODEL_PATH):
      """
      Load the simulator.
  
      :param path_dir: saving path
      :param model_version: model version(filename) you would like to load.
      """
      with open(os.path.join(path_dir, FEATURE_OUTPUT), "rb") as f:
          data_feature_outputs = pickle.load(f)
      with open(os.path.join(path_dir, ATTRIBUTE_OUTPUT), "rb") as f:
          data_attribute_outputs = pickle.load(f)
      path_dir_model = os.path.join(path_dir, "model")
      from zoo.chronos.simulator.doppelganger.doppelganger_pl import (
          DoppelGANger_pl,
      )
  
      self.model = DoppelGANger_pl.load_from_checkpoint(
          os.path.join(path_dir_model, model_version),
          data_feature_outputs=data_feature_outputs,
          data_attribute_outputs=data_attribute_outputs,
      )
  
file_path: analytics-zoo/pyzoo/zoo/chronos/simulator/doppelganger_simulator.py
imports: import pickle
  import os
  import numpy
  from zoo.chronos.simulator.doppelganger.util import gen_attribute_input_noise, gen_feature_input_noise, gen_feature_input_data_free, renormalize_per_sample
  from zoo.chronos.simulator.doppelganger.output import OutputType
  import torch
  import torch.nn.functional
label_desc: Use image node_id 5 for calling the DPGANSimulator obj's underlying member method code with example usage: obj.load(path_dir, model_version) without return types