class_docstr: Model allows using pre-trained models.
class_docstr_tok: ["Model","allows","using","pre-trained","models","."]
code: def load_from_metadata(model_url, metadata):
      class DynamicModel(Model):
          model_path = model_url
          input_name = metadata["input_name"]
          image_shape = metadata["image_shape"]
          image_value_range = metadata["image_value_range"]
  
      return DynamicModel()
  
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 21 for calling the Model obj's underlying member method code with example usage: obj.load_from_metadata(model_url, metadata) and returns: DynamicModel