parameters: ()
return_statement: return files
docstring: find image files in test data path
      :return: list of files found
docstring_summary: find image files in test data path
      :return: list of files found
docstring_tokens: find image files in test data path : return : list of files found
function: def get_images():
      '''
      find image files in test data path
      :return: list of files found
      '''
      files = []
      exts = ['jpg', 'png', 'jpeg', 'JPG']
      for parent, dirnames, filenames in os.walk(FLAGS.test_data_path):
          for filename in filenames:
              for ext in exts:
                  if filename.endswith(ext):
                      files.append(os.path.join(parent, filename))
                      break
      logger.info('Find {} images'.format(len(files)))
      return files
function_tokens: def get_images ( ) : files = [ ] exts = [ 'jpg' , 'png' , 'jpeg' , 'JPG' ] for parent , dirnames , filenames in os . walk ( FLAGS . test_data_path ) : for filename in filenames : for ext in exts : if filename . endswith ( ext ) : files . append ( os . path . join ( parent , filename ) ) break logger . info ( 'Find {} images' . format ( len ( files ) ) ) return files