CSP
CSP copied to clipboard
How can I generate this test file?
Have you solved the problem? I want to know the answer, too.thanks
How to generate my own test files? thanks
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