code: def __init__(self, model_config: AttrDict):
      super(FeatureExtractorModel, self).__init__()
      logging.info("Creating Feature extractor trunk...")
      self.model_config = model_config
      trunk_name = model_config["TRUNK"]["NAME"]
      self.base_model = get_model_trunk(trunk_name)(
          self.model_config, trunk_name
      )
      self.feature_pool_ops = self._attach_feature_pool_layers()
      self._freeze_model()
  
file_path: vissl/vissl/models/trunks/feature_extractor.py
imports: import logging
  import torch
  import torch.nn
  from vissl.config import AttrDict
  from vissl.models.model_helpers import Identity
  from vissl.models.trunks import get_model_trunk
label_desc: Use image node_id 1 to create a new FeatureExtractorModel object from inherited base classes: nn with example: obj = FeatureExtractorModel(model_config)