code: def from_dict(self, d):
      self.freeze(False)
      for k, v in d.items():
          self_v = getattr(self, k)
          if isinstance(self_v, AttrDict):
              self_v.from_dict(v)
          else:
              setattr(self, k, v)
  
file_path: tensorpack/examples/FasterRCNN/config.py
imports: import numpy
  import os
  import pprint
  import six
  from tensorpack.utils import logger
  from tensorpack.utils.gpu import get_num_gpu
label_desc: Use image node_id 5 for calling the AttrDict obj's underlying member method code with example usage: obj.from_dict(d) without return types