class_docstr: Generate data for a custom CSV dataset.
  
  See https://github.com/fizyr/keras-retinanet#csv-datasets for more information.
class_docstr_tok: ["Generate","data","for","a","custom","CSV","dataset",".","See","https",":","\/\/github.com\/fizyr\/keras-retinanet","#","csv-datasets","for","more","information","."]
docstr: Returns the image path for image_index.
          
docstr_tok: ["Returns","the","image","path","for","image_index","."]
code: def image_path(self, image_index):
      """Returns the image path for image_index."""
      return os.path.join(self.base_dir, self.image_names[image_index])
  
imports: from .generator import Generator
  from ..utils.image import read_image_bgr
  import numpy
  from PIL import Image
  from six import raise_from
  import csv
  import sys
  import os.path
  from collections import OrderedDict
label_desc: Use image node_id 8 for calling the CSVGenerator obj's underlying member method code with example usage: obj.image_path(image_index) and returns: os