thank u for your code,it helps a lot!
but the image format in HRSC2016 dataset is '.bmp',
in toolbox/tree/master/converter/toDOTA/HRSC2016)/prepare_hrsc2016.py line 35 and line 36,
src_im = osp.join(data_dir + '/FullDataSet/AllImages', trf.strip() + '.jpg')
dst_im = osp.join(train_dir + '/images', trf.strip() + '.jpg')
this will result in an error.
after I replace .jpg with .bmp,it works!
thank u for your code,it helps a lot! but the image format in HRSC2016 dataset is '.bmp', in toolbox/tree/master/converter/toDOTA/HRSC2016)/prepare_hrsc2016.py line 35 and line 36,
src_im = osp.join(data_dir + '/FullDataSet/AllImages', trf.strip() + '.jpg') dst_im = osp.join(train_dir + '/images', trf.strip() + '.jpg') this will result in an error. after I replace .jpg with .bmp,it works!