code: def init_weight(self):
      state_dict = modelzoo.load_url(resnet18_url)
      self_state_dict = self.state_dict()
      for k, v in state_dict.items():
          if "fc" in k:
              continue
          self_state_dict.update({k: v})
      self.load_state_dict(self_state_dict)
  
file_path: insightface/reconstruction/ostec/external/graphonomy/FaceHairMask/ParsingResnet.py
imports: import torch.nn
  import torch.nn.functional
  import torch.utils.model_zoo
label_desc: Use image node_id 3 for calling the Resnet18 obj's underlying member method code with example usage: obj.init_weight() without return types