class_docstr: Modified Alighed Xception
code: def __load_xception_pretrained(self):
      # pretrain_dict = model_zoo.load_url('http://data.lip6.fr/cadene/pretrainedmodels/xception-b5690688.pth')
      pretrain_dict = model_zoo.load_url(
          "http://data.lip6.fr/cadene/pretrainedmodels/xception-43020ad28.pth"
      )
      model_dict = {}
      state_dict = self.state_dict()
  
      for k, v in pretrain_dict.items():
          if k in state_dict:
              # if 'pointwise' in k:
              #     v = v.unsqueeze(-1).unsqueeze(-1)
              if k.startswith("block12"):
                  model_dict[k.replace("block12", "block20")] = v
              elif k.startswith("block11"):
                  model_dict[k.replace("block11", "block12")] = v
                  model_dict[k.replace("block11", "block13")] = v
                  model_dict[k.replace("block11", "block14")] = v
                  model_dict[k.replace("block11", "block15")] = v
                  model_dict[k.replace("block11", "block16")] = v
                  model_dict[k.replace("block11", "block17")] = v
                  model_dict[k.replace("block11", "block18")] = v
                  model_dict[k.replace("block11", "block19")] = v
              elif k.startswith("conv3"):
                  model_dict[k] = v
              elif k.startswith("bn3"):
                  model_dict[k] = v
                  model_dict[k.replace("bn3", "bn4")] = v
              elif k.startswith("conv4"):
                  model_dict[k.replace("conv4", "conv5")] = v
              elif k.startswith("bn4"):
                  model_dict[k.replace("bn4", "bn5")] = v
              else:
                  model_dict[k] = v
      state_dict.update(model_dict)
      self.load_state_dict(state_dict)
  
imports: import math
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.utils.model_zoo
label_desc: Use image node_id 4 for calling the Xception obj's underlying member method code with example usage: obj.__load_xception_pretrained() without return types