def convert_to_string(image_path, labels):
    """convert image_path, lables to string 
  Returns:
    string 
  """
    out_string = ''
    out_string += image_path
    for label in labels:
        for i in label:
            out_string += ' ' + str(i)
    out_string += '\n'
    return out_string
