code: def __init__(
      self,
      num_classes,
      pretrained=True,
      backbone="resnet101",
      aux=False,
      se_loss=True,
      lateral=False,
      **kwargs,
  ):
      super(EncNet, self).__init__(
          num_classes,
          pretrained=pretrained,
          aux=aux,
          backbone=backbone,
          **kwargs,
      )
      self.head = _EncHead(
          2048, num_classes, se_loss=se_loss, lateral=lateral, **kwargs
      )
      if aux:
          self.auxlayer = _FCNHead(1024, num_classes, **kwargs)
  
      self.__setattr__(
          "exclusive", ["head", "auxlayer"] if aux else ["head"]
      )
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from pywick.models.segmentation.da_basenets.segbase import SegBaseModel
  from pywick.models.segmentation.da_basenets.fcn import _FCNHead
label_desc: Use image node_id 1 to create a new EncNet object from inherited base classes: SegBaseModel with example: obj = EncNet(num_classes, pretrained, backbone, aux, se_loss, lateral)