<s> """<STR_LIT>""" <EOL> __sets = { } <EOL> from datasets . pascal_voc import pascal_voc <EOL> from datasets . coco import coco <EOL> import numpy as np <EOL> for year in [ '<STR_LIT>' , '<STR_LIT>' ] : <EOL> for split in [ '<STR_LIT:train>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:test>' ] : <EOL> name = '<STR_LIT>' . format ( year , split ) <EOL> __sets [ name ] = ( lambda split = split , year = year : pascal_voc ( split , year ) ) <EOL> for year in [ '<STR_LIT>' ] : <EOL> for split in [ '<STR_LIT:train>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] : <EOL> name = '<STR_LIT>' . format ( year , split ) <EOL> __sets [ name ] = ( lambda split = split , year = year : coco ( split , year ) ) <EOL> for year in [ '<STR_LIT>' ] : <EOL> for split in [ '<STR_LIT:test>' , '<STR_LIT>' ] : <EOL> name = '<STR_LIT>' . format ( year , split ) <EOL> __sets [ name ] = ( lambda split = split , year = year : coco ( split , year ) ) <EOL> def get_imdb ( name ) : <EOL> """<STR_LIT>""" <EOL> if not __sets . has_key ( name ) : <EOL> raise KeyError ( '<STR_LIT>' . format ( name ) ) <EOL> return __sets [ name ] ( ) <EOL> def list_imdbs ( ) : <EOL> """<STR_LIT>""" <EOL> return __sets . keys ( ) </s>
