code: def get_scaler(cfg):
      input_size = cfg.NETWORK.SCALER_INPUT_SIZE
      num_res_blocks = cfg.NETWORK.SCALER_RES_BLOCKS
      num_channels = cfg.NETWORK.NUM_CHANNELS
      bn_track = cfg.NETWORK.BN_TRACK
      dropout = cfg.NETWORK.DROPOUT
      scaler = Scaler(
          input_size=input_size,
          num_channels=num_channels,
          num_res_blocks=num_res_blocks,
          dropout=dropout,
          bn_track=bn_track,
      )
      return scaler
  
file_path: insightface/body/human_pose/ambiguity_aware/lib/models/scaler.py
imports: import torch
  import torch.nn
  from lib.models.building_blocks import ResBlock
label_desc: Use image node_id 1 for calling a global function with example usage: get_scaler(cfg) and returns: scaler