class_names = ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle',
                   'bus', 'car', 'cat', 'chair', 'cow',
                   'diningtable', 'dog', 'horse', 'motorbike', 'person',
                   'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor',
                   ]
                   
new_class_names = ['aeroplane', 'bicycle', 'bird avian', 'boat', 'bottle',
                   'bus', 'car', 'cat', 'chair seat', 'cow',
                   'diningtable', 'dog', 'horse', 'motorbike', 'person with clothes,people,human',
                   'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor screen',
                   ]


class_names_coco = ['person','bicycle','car','motorbike','aeroplane',
                    'bus','train','truck','boat','traffic light',
                    'fire hydrant','stop sign','parking meter','bench','bird',
                    'cat','dog','horse','sheep','cow',
                    'elephant','bear','zebra','giraffe','backpack',
                    'umbrella','handbag','tie','suitcase','frisbee',
                    'skis','snowboard','sports ball','kite','baseball bat',
                    'baseball glove','skateboard','surfboard','tennis racket','bottle',
                    'wine glass','cup','fork','knife','spoon',
                    'bowl','banana','apple','sandwich','orange',
                    'broccoli','carrot','hot dog','pizza','donut',
                    'cake','chair','sofa','pottedplant','bed',
                    'diningtable','toilet','tvmonitor','laptop','mouse',
                    'remote','keyboard','cell phone','microwave','oven',
                    'toaster','sink','refrigerator','book','clock',
                    'vase','scissors','teddy bear','hair drier','toothbrush',
]

new_class_names_coco = ['person with clothes,people,human','bicycle','car','motorbike','aeroplane',
                    'bus','train','truck','boat','traffic light',
                    'fire hydrant','stop sign','parking meter','bench','bird avian',
                    'cat','dog','horse','sheep','cow',
                    'elephant','bear','zebra','giraffe','backpack,bag',
                    'umbrella,parasol','handbag,purse','necktie','suitcase','frisbee',
                    'skis','sknowboard','sports ball','kite','baseball bat',
                    'glove','skateboard','surfboard','tennis racket','bottle',
                    'wine glass','cup','fork','knife','dessertspoon',
                    'bowl','banana','apple','sandwich','orange',
                    'broccoli','carrot','hot dog','pizza','donut',
                    'cake','chair seat','sofa','pottedplant','bed',
                    'diningtable','toilet','tvmonitor screen','laptop','mouse',
                    'remote control','keyboard','cell phone','microwave','oven',
                    'toaster','sink','refrigerator','book','clock',
                    'vase','scissors','teddy bear','hairdrier,blowdrier','toothbrush',
                    ]

BACKGROUND_CATEGORY = ['ground','land','grass','tree','building','wall','sky','lake','water','river','sea','railway','railroad','keyboard','helmet',
                        'cloud','house','mountain','ocean','road','rock','street','valley','bridge','sign',
                        ]

BACKGROUND_CATEGORY_COCO = ['ground','land','grass','tree','building','wall','sky','lake','water','river','sea','railway','railroad','helmet',
                        'cloud','house','mountain','ocean','road','rock','street','valley','bridge',
                        ]

BACKGROUND_CATEGORY_EACH = [
    ['cloud', 'sky', 'runway', 'hangar', 'airport', 'person', 'mountain', 'tree', 'control tower', 'sun'],
    ['person', 'road', 'tree', 'car', 'building', 'streetlight', 'grass', 'sidewalk', 'sky', 'sign'],
    ['tree', 'sky', 'branch', 'grass', 'nest', 'leaf', 'water', 'flower', 'feeder', 'cloud'],
    ['water', 'sea', 'sky', 'dock', 'person', 'wave', 'beach', 'fish', 'cloud'],
    ['table', 'cap', 'shelf', 'counter', 'kitchen', 'hand', 'wall'],
    ['road', 'person', 'car', 'street', 'tree', 'building', 'traffic light', 'sign', 'sky', 'sidewalk'],
    ['road', 'person', 'tree', 'building', 'street', 'traffic light', 'sign', 'sky', 'sidewalk', 'parking lot','bus'],
    ['couch', 'window', 'floor', 'bed', 'grass', 'tree', 'house', 'curtain', 'table', 'wall'],
    ['table', 'person', 'floor', 'desk', 'room', 'wall', 'cushion', 'window', 'carpet', 'lamp'],
    ['grass', 'field', 'farm', 'fence', 'tree', 'barn', 'sky', 'hay', 'person', 'cloud'],
    ['chair', 'plate', 'food', 'cup', 'person', 'room', 'window', 'wall', 'utensil'],
    ['grass', 'leash', 'person', 'yard', 'tree', 'house', 'park', 'collar', 'ball', 'fence'],
    ['grass', 'field', 'barn', 'fence', 'person', 'saddle', 'tree', 'stable', 'sky', 'hay'],
    ['road', 'person', 'helmet', 'tree', 'building', 'street', 'traffic light', 'sign', 'sky', 'sidewalk'],
    ['street', 'building', 'tree', 'sky', 'road', 'car', 'grass', 'chair', 'table'],
    ['window', 'table', 'wall', 'curtain', 'floor', 'shelf', 'chair', 'couch', 'desk', 'lamp', 'picture', 'vase', 'books', 'cushion', 'rug', 'plantstand', 'indoor', 'outdoor', 'room', 'house'],
    ['grass', 'field', 'fence', 'tree', 'hill', 'sky', 'barn', 'farm', 'shepherd', 'dog', 'cloud', 'mountain', 'valley', 'road', 'path', 'stone', 'water', 'stream', 'flower', 'bush'],
    ['cushion', 'pillow', 'table', 'lamp', 'rug', 'curtain', 'wall', 'picture', 'window', 'floor', 'plant', 'bookshelf', 'television', 'coffee table', 'blanket', 'vase', 'painting', 'ceiling', 'light', 'room'],
    ['railway', 'station', 'platform', 'track', 'bridge', 'tunnel', 'signal', 'tree', 'mountain', 'sky', 'field', 'city', 'building', 'passenger', 'luggage', 'bench', 'light', 'sign', 'road', 'river'],
    ['cabinet', 'stand', 'table', 'wall',  'console', 'remote', 'shelf', 'decoration', 'clock', 'plant', 'curtain', 'window', 'furniture', 'cable', 'game console', 'DVD player', 'sound system', 'room']
                        ]


BACKGROUND_CATEGORY_COCO_EACH = [
['street', 'building', 'tree', 'sky', 'road', 'car', 'grass', 'chair', 'table'],
['person', 'road', 'tree', 'car', 'building', 'streetlight', 'grass', 'sidewalk', 'sky', 'sign'],
['road', 'person', 'tree', 'building', 'street', 'traffic light', 'sign', 'sky', 'sidewalk', 'parking lot','bus'],
['road', 'person', 'helmet', 'tree', 'building', 'street', 'traffic light', 'sign', 'sky', 'sidewalk'],
['cloud', 'sky', 'runway', 'hangar', 'airport', 'person', 'mountain', 'tree', 'control tower', 'sun'],
['road', 'person', 'car', 'street', 'tree', 'building', 'traffic light', 'sign', 'sky', 'sidewalk'],
['railway', 'station', 'platform', 'track', 'bridge', 'tunnel', 'signal', 'tree', 'mountain', 'sky', 'field', 'city', 'building', 'passenger', 'luggage', 'bench', 'light', 'sign', 'road', 'river'],
['person', 'traffic light', 'road', 'car', 'bus', 'stop sign', 'parking meter'],
['water', 'sea', 'sky', 'dock', 'person', 'wave', 'beach', 'fish', 'cloud'],
['car', 'bus', 'truck', 'road', 'pole', 'street sign', 'person'],
['street', 'sidewalk', 'dog', 'car', 'person', 'grass', 'road'],
['road', 'car', 'bus', 'truck', 'pole', 'traffic light', 'person'],
['car', 'street', 'sidewalk', 'person', 'bench', 'road', 'truck'],
['person', 'park', 'tree', 'grass', 'bird', 'dog', 'path'],
['tree', 'sky', 'branch', 'grass', 'nest', 'leaf', 'water', 'flower', 'feeder', 'cloud'],
['couch', 'window', 'floor', 'bed', 'grass', 'tree', 'house', 'curtain', 'table', 'wall'],
['grass', 'leash', 'person', 'yard', 'tree', 'house', 'park', 'collar', 'ball', 'fence'],
['grass', 'field', 'barn', 'fence', 'person', 'saddle', 'tree', 'stable', 'sky', 'hay'],
['grass', 'field', 'fence', 'tree', 'hill', 'sky', 'barn', 'farm', 'shepherd', 'dog', 'cloud', 'mountain', 'valley', 'road', 'path', 'stone', 'water', 'stream', 'flower', 'bush'],
['grass', 'field', 'farm', 'fence', 'tree', 'barn', 'sky', 'hay', 'person', 'cloud'],
['savanna', 'tree', 'water', 'zoo', 'person', 'grass', 'fence'],
['forest', 'tree', 'river', 'person', 'rocks', 'grass', 'cave'],
['savanna', 'grass', 'tree', 'zoo', 'person', 'water', 'fence'],
['savanna', 'tree', 'zoo', 'person', 'grass', 'fence', 'sky'],
['person', 'book', 'laptop', 'chair', 'school', 'desk', 'bus'],
['rain', 'person', 'street', 'bench', 'bag', 'coat', 'puddle'],
['person', 'dress', 'chair', 'store', 'table', 'mirror', 'shoes'],
['person', 'suit', 'shirt', 'office', 'desk', 'chair', 'meeting'],
['person', 'airport', 'car', 'bus', 'train', 'hotel', 'elevator'],
['person', 'park', 'grass', 'dog', 'tree', 'bench', 'sky'],
['snow', 'person', 'mountain', 'ski poles', 'goggles', 'jacket', 'gloves'],
['snow', 'person', 'mountain', 'goggles', 'jacket', 'gloves', 'boots'],
['person', 'field', 'grass', 'court', 'shoes', 'net', 'bench'],
['sky', 'wind', 'person', 'park', 'grass', 'string', 'tree'],
['person', 'baseball glove', 'field', 'cap', 'uniform', 'grass', 'bench'],
['person', 'baseball bat', 'field', 'cap', 'uniform', 'grass', 'bench'],
['person', 'ramp', 'street', 'shoes', 'helmet', 'park', 'concrete'],
['wave', 'ocean', 'person', 'wetsuit', 'beach', 'sun', 'sand'],
['person', 'tennis ball', 'court', 'net', 'shoes', 'uniform', 'bench'],
['table', 'cap', 'shelf', 'counter', 'kitchen', 'hand', 'wall'],
['table', 'person', 'bottle', 'restaurant', 'diningtable', 'chair', 'meal'],
['table', 'person', 'saucer', 'coffee', 'kitchen', 'diningtable', 'spoon'],
['plate', 'knife', 'spoon', 'diningtable', 'person', 'food', 'napkin'],
['plate', 'fork', 'spoon', 'diningtable', 'person', 'food', 'cutting board'],
['bowl', 'fork', 'knife', 'diningtable', 'person', 'soup', 'cereal'],
['spoon', 'table', 'person', 'soup', 'cereal', 'diningtable', 'kitchen'],
['fruit bowl', 'table', 'person', 'kitchen', 'hand', 'plate', 'other fruits'],
['fruit bowl', 'table', 'person', 'kitchen', 'hand', 'plate', 'other fruits'],
['plate', 'table', 'person', 'kitchen', 'hand', 'napkin', 'cup'],
['fruit bowl', 'table', 'person', 'kitchen', 'hand', 'plate', 'other fruits'],
['plate', 'table', 'person', 'kitchen', 'fork', 'knife', 'other vegetables'],
['plate', 'table', 'person', 'kitchen', 'fork', 'knife', 'other vegetables'],
['plate', 'table', 'person', 'ketchup', 'mustard', 'bun', 'picnic'],
['box', 'plate', 'table', 'person', 'oven', 'cheese', 'diningtable'],
['plate', 'coffee', 'person', 'bakery', 'napkin', 'table', 'cup'],
['plate', 'candles', 'person', 'celebration', 'table', 'knife', 'diningtable'],
['table', 'person', 'floor', 'desk', 'room', 'wall', 'cushion', 'window', 'carpet', 'lamp'],
['cushion', 'pillow', 'table', 'lamp', 'rug', 'curtain', 'wall', 'picture', 'window', 'floor', 'plant', 'bookshelf', 'television', 'coffee table', 'blanket', 'vase', 'painting', 'ceiling', 'light', 'room'],
['window', 'table', 'wall', 'curtain', 'floor', 'shelf', 'chair', 'couch', 'desk', 'lamp', 'picture', 'vase', 'books', 'cushion', 'rug', 'plantstand', 'indoor', 'outdoor', 'room', 'house'],
['person', 'pillow', 'blanket', 'nightstand', 'lamp', 'bedroom', 'curtains'],
['chair', 'plate', 'food', 'cup', 'person', 'room', 'window', 'wall', 'utensil'],
['bathroom', 'sink', 'towel', 'person', 'mirror', 'shower', 'soap'],
['cabinet', 'stand', 'table', 'wall', 'console', 'remote', 'shelf', 'decoration', 'clock', 'plant', 'curtain', 'window', 'furniture', 'cable', 'game console', 'DVD player', 'sound system', 'room'],
['desk', 'person', 'mouse', 'keyboard', 'chair', 'coffee cup', 'notebook'],
['computer', 'desk', 'keyboard', 'person', 'monitor', 'mouse pad', 'cable'],
['tvmonitor', 'sofa', 'person', 'coffee table', 'living room', 'cushion', 'batteries'],
['computer', 'desk', 'mouse', 'monitor', 'person', 'chair', 'cable'],
['person', 'hand', 'table', 'charger', 'bag', 'earphones', 'coffee cup'],
['kitchen', 'counter', 'plate', 'food', 'person', 'oven', 'refrigerator'],
['kitchen', 'mitt', 'baking tray', 'person', 'microwave', 'counter', 'food'],
['kitchen', 'counter', 'bread', 'plate', 'person', 'knife', 'butter'],
['faucet', 'kitchen', 'dishes', 'soap', 'person', 'counter', 'sponge'],
['kitchen', 'food', 'magnet', 'person', 'oven', 'counter', 'milk'],
['person', 'glasses', 'table', 'lamp', 'chair', 'bookshelf', 'coffee cup'],
['wall', 'room', 'person', 'desk', 'calendar', 'lamp', 'table'],
['flowers', 'table', 'water', 'person', 'window', 'room', 'curtains'],
['paper', 'desk', 'person', 'craft supplies', 'tape', 'table', 'envelope'],
['child', 'bed', 'room', 'toy box', 'person', 'blanket', 'carpet'],
['bathroom', 'person', 'mirror', 'sink', 'outlet', 'comb', 'towel'],
['sink', 'bathroom', 'toothpaste', 'person', 'mirror', 'cup', 'faucet']
]