code: def from_directory(cls, model_path, manifest_path=None):
      warnings.warn(
          "SerializedModel is deprecated. Please use Model.load_from_manifest instead.",
          DeprecationWarning,
      )
      if manifest_path is None:
          manifest_path = path.join(model_path, "manifest.json")
      return Model.load_from_manifest(manifest_path)
  
imports: from __future__ import absolute_import, division, print_function
  from os import path
  import warnings
  import logging
  from itertools import chain
  import tensorflow
  import numpy
  from lucid.modelzoo import util
  from lucid.modelzoo.aligned_activations import get_aligned_activations
  from lucid.modelzoo.get_activations import get_activations
  from lucid.misc.io import load, save
  import lucid.misc.io.showing
label_desc: Use image node_id 1 for calling the SerializedModel obj's underlying member method code with example usage: obj.from_directory(cls, model_path, manifest_path) and returns: Model