SSD-Tensorflow icon indicating copy to clipboard operation
SSD-Tensorflow copied to clipboard

How to make VOC07+12 TFRecords

Open youngwanLEE opened this issue 8 years ago • 6 comments

Hi,

First of all, Thanks for your excellent implementation !

I already made VOC2007 TFRecord files.

Then, I have a question how to make VOC 07+12 TFRecord that is union of 2007 and 2012.

youngwanLEE avatar Mar 27 '17 01:03 youngwanLEE

An easy solution would be to make a directory of VOC 07+12 with Annotations and JPEGImages of both datasets and then running tf_convert_data.py with this new directory as its dataset_dir

edocoh87 avatar Mar 30 '17 14:03 edocoh87

@edocoh87 In VOC 2012, not all the imgs in JPEGImages folder are belong to the trainval set, simply placing VOC07+12 together will mix the irrelevant images up.

I wonder if there is any better solution?

jamiechoi1995 avatar Mar 20 '19 07:03 jamiechoi1995

@jamiechoi1995 You can merge trainval datasets of 2007 and 2012 directly. Pascal VOC 2012 has two datasets, one for trainval and the other one for test, and you can find Pascal VOC 2007 and 2012 here.

I trained and tested on Pascal VOC 2012, just 2012 without any data from 2007, but the result is extremely bad, and the accuracy is only 0.038. The same for Pascal VOC 2007+2012.

Did you do any work on Pascal VOC 2012?

ylqi007 avatar Mar 22 '19 18:03 ylqi007

@ylqi007 Thank you for your reply, I give up using this repo since it lacks update and the performance is unclear.

jamiechoi1995 avatar Mar 24 '19 16:03 jamiechoi1995

@jamiechoi1995 Do you find any better repo about SSD implemented in TensorFlow? I also find that there may be unclear bugs in this repro. I cannot reproduce the results.

ylqi007 avatar Apr 03 '19 22:04 ylqi007

@ylqi007 https://github.com/HiKapok/SSD.TensorFlow But the provided model is not trained by the author, I tried training by myself but the result is not as good as the provided model

jamiechoi1995 avatar Apr 04 '19 02:04 jamiechoi1995