parameters: (gt_dir, gt_id)
return_statement: return gt
docstring: This helper reads groundtruths from mat files
docstring_summary: This helper reads groundtruths from mat files
docstring_tokens: This helper reads groundtruths from mat files
function: def gt_reading_mod(gt_dir, gt_id):
      """This helper reads groundtruths from mat files"""
      gt_id = gt_id.split('.')[0]
      gt = io.loadmat('%s/poly_gt_%s.mat' % (gt_dir, gt_id))
      gt = gt['polygt']
      return gt
function_tokens: def gt_reading_mod ( gt_dir , gt_id ) : gt_id = gt_id . split ( '.' ) [ 0 ] gt = io . loadmat ( '%s/poly_gt_%s.mat' % ( gt_dir , gt_id ) ) gt = gt [ 'polygt' ] return gt