class_docstr: Trains an instance of the Model class.
docstr: Args:
      hparams:
  
  Returns:
docstr_tok: ["Args",":","hparams",":","Returns",":"]
code: def _get_label_info(self, hparams: dict) -> None:
      """
  
      Args:
          hparams:
  
      Returns:
  
      """
      from paddlehub_utils.reader import _read_classes
  
      data_config = hparams.data_config
      label_list = data_config.label_list
      if os.path.isfile(label_list):
          class_to_id_dict = _read_classes(label_list)
      else:
          assert 0, "label_list:{} not exist".format(label_list)
      self.num_classes = len(class_to_id_dict)
      self.class_to_id_dict = class_to_id_dict
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  import six
  import os
  from typing import Dict, List, Optional, Union, Tuple
  from auto_augment.autoaug.utils import log
  import logging
  import auto_augment
label_desc: Use image node_id 3 for calling the HubFitterClassifer obj's underlying member method code with example usage: obj._get_label_info(hparams) without return types