original_docstring: 
      Load a list of images from list of datasets
      :param datasets:
      :return:
      
docstring: Load a list of images from list of datasets
docstring_tokens: Load a list of images from list of datasets
code: def load_image_datasets(datasets, class_map=None, force_categories=False):
      """
      Load a list of images from list of datasets
      :param datasets:
      :return:
      """
      datasets_ = {}
  
      for d in datasets:
          log.debug("Loading dataset %r" % d['id'])
          datasets_[d['id']] = load_dataset(d,
                                       filter=filter_file_by_ending({'bmp', 'jpeg', 'jpg', 'png'}),
                                       category_map=class_map,
                                       force_categories=force_categories)
          log.debug([(k, len(v)) for k, v in datasets_[d['id']].items()])
  
      return datasets_
code_tokens: def load_image_datasets ( datasets , class_map = None , force_categories = False ) : datasets_ = { } for d in datasets : log . debug ( "Loading dataset %r" % d [ 'id' ] ) datasets_ [ d [ 'id' ] ] = load_dataset ( d , filter = filter_file_by_ending ( { 'bmp' , 'jpeg' , 'jpg' , 'png' } ) , category_map = class_map , force_categories = force_categories ) log . debug ( [ ( k , len ( v ) ) for k , v in datasets_ [ d [ 'id' ] ] . items ( ) ] ) return datasets_
short_docstring: Load a list of images from list of datasets
short_docstring_tokens: Load a list of images from list of datasets
comment: """
      Load a list of images from list of datasets
      :param datasets:
      :return:
      """