CSP icon indicating copy to clipboard operation
CSP copied to clipboard

How can I generate this test file?

Open TachibanaYoshino opened this issue 5 years ago • 3 comments

image

TachibanaYoshino avatar May 30 '19 08:05 TachibanaYoshino

Have you solved the problem? I want to know the answer, too.thanks

soongyuu avatar Jun 13 '19 03:06 soongyuu

image

How to generate my own test files? thanks

soongyuu avatar Aug 08 '19 05:08 soongyuu

res_path_test = 'data/cache/caltech2/test' image_data_gt, image_data_nogt, image_data_test = [], [], [] box_test_count = 0 boxes_test = [] boxes_test.append(box) boxes_test = np.array(boxes_test) box_test_count += len(boxes_test) if not os.path.exists(res_path_test): with open(res_path_test, 'wb') as fid: cPickle.dump(image_data_test, fid, cPickle.HIGHEST_PROTOCOL) You can add these lines to appropriate space of generate_cache_caltech.py

bomtorazek avatar Aug 28 '19 02:08 bomtorazek