class_docstr: Class which stores batches of images from the dataset.
class_docstr_tok: ["Class","which","stores","batches","of","images","from","the","dataset","."]
docstr: Initializes DatasetBatches.
  
  Args:
    datastore_client: instance of CompetitionDatastoreClient
    storage_client: instance of CompetitionStorageClient
    dataset_name: name of the dataset ('dev' or 'final')
docstr_tok: ["Initializes","DatasetBatches",".","Args",":","datastore_client",":","instance","of","CompetitionDatastoreClient","storage_client",":","instance","of","CompetitionStorageClient","dataset_name",":","name","of","the","dataset","(","'dev","'","or","'final","'",")"]
code: def __init__(self, datastore_client, storage_client, dataset_name):
      """Initializes DatasetBatches.
  
      Args:
        datastore_client: instance of CompetitionDatastoreClient
        storage_client: instance of CompetitionStorageClient
        dataset_name: name of the dataset ('dev' or 'final')
      """
      super(DatasetBatches, self).__init__(
          datastore_client=datastore_client,
          entity_kind_batches=KIND_DATASET_BATCH,
          entity_kind_images=KIND_DATASET_IMAGE,
      )
      self._storage_client = storage_client
      self._dataset_name = dataset_name
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  from io import BytesIO
  from io import StringIO
  import itertools
  import logging
  import os
  import zipfile
  from six import iteritems
  from six import iterkeys
  from six import itervalues
label_desc: Use image node_id 1 to create a new DatasetBatches object from inherited base classes: ImageBatchesBase with example: obj = DatasetBatches(datastore_client, storage_client, dataset_name)