示例#1
0
 def __init__(self, data_path, image_set):
   self._classes = ('__background__', # always index 0
     'bag', 'bra', 'jacket_coat', 'onepiece', 
     'pants', 'panty', 'shoes', 'skirt', 'swimwear', 
     'tshirts_shirts_blouse_hoody', 'vest', 'knit_cardigan')
   self.num_classes = 13
   self.name = 'eleven_all_' + image_set
   Loader.__init__(self, data_path, image_set)
 def __init__(self, data_path, image_set):
   self.classes = ('__background__', 'bag')
   self.num_classes = 2
   self.name = 'eleven_12cat_bag_' + image_set
   Loader.__init__(self, data_path, image_set)