code: def load_act(path):
      with open(path, "rb") as f:
          model_data, act_params = cloudpickle.load(f)
      act = deepq.build_act(**act_params)
      sess = tf.Session()
      sess.__enter__()
      with tempfile.TemporaryDirectory() as td:
          arc_path = os.path.join(td, "packed.zip")
          with open(arc_path, "wb") as f:
              f.write(model_data)
  
          zipfile.ZipFile(
              arc_path, "r", zipfile.ZIP_DEFLATED
          ).extractall(td)
          load_variables(os.path.join(td, "model"))
  
      return ActWrapper(act, act_params)
  
imports: import os
  import tempfile
  import tensorflow
  import zipfile
  import cloudpickle
  import numpy
  import baselines.common.tf_util
  from baselines.common.tf_util import load_variables, save_variables
  from baselines import logger
  from baselines.common.schedules import LinearSchedule
  from baselines.common import set_global_seeds
  from baselines import deepq
  from baselines.deepq.replay_buffer import ReplayBuffer, PrioritizedReplayBuffer
  from baselines.deepq.utils import ObservationInput
  from baselines.common.tf_util import get_session
  from baselines.deepq.models import build_q_func
label_desc: Use image node_id 2 for calling the ActWrapper obj's underlying member method code with example usage: obj.load_act(path) and returns: ActWrapper