map(self):     label_map_string = """       item {         id:0         name:'cat'       }       item {         id:0         name:'dog'       }     """     label_map_path = os.path.join(self.get_temp_dir(), 'label_map.pbtxt')     with tf.gfile.Open(label_map_path, 'wb') as f:       f.write(label_map_string)      category_index = label_map_util.create_category_index