示例#1
0
 def setUpClass(cls):
     super(BaseViewsTestWithImageset, cls).setUpClass()
     if not hasattr(BaseViewsTestWithImageset, 'imageset_folder'):
         # Create folder and LMDBs for all test classes
         BaseViewsTestWithImageset.imageset_folder = tempfile.mkdtemp()
         BaseViewsTestWithImageset.test_image = create_lmdbs(BaseViewsTestWithImageset.imageset_folder)
     cls.created_datasets = []
示例#2
0
 def setUpClass(cls):
     super(BaseViewsTestWithImageset, cls).setUpClass()
     if not hasattr(BaseViewsTestWithImageset, 'imageset_folder'):
         # Create folder and LMDBs for all test classes
         BaseViewsTestWithImageset.imageset_folder = tempfile.mkdtemp()
         BaseViewsTestWithImageset.test_image = create_lmdbs(
             BaseViewsTestWithImageset.imageset_folder)
     cls.created_datasets = []
示例#3
0
 def setUpClass(cls):
     super(BaseViewsTestWithImageset, cls).setUpClass()
     cls.imageset_folder = tempfile.mkdtemp()
     # create imageset
     cls.test_image = create_lmdbs(cls.imageset_folder)
     cls.created_datasets = []
示例#4
0
 def setUpClass(cls):
     super(BaseViewsTestWithImageset, cls).setUpClass()
     cls.imageset_folder = tempfile.mkdtemp()
     # create imageset
     cls.test_image = create_lmdbs(cls.imageset_folder)
     cls.created_datasets = []