SSD work
Replicating: SSD from https://github.com/balancap/SSD-Tensorflow
According to the page, in order to run the minimal SSD example, we found that there is a fundamental file missing
This fundamental problem is in the notebooks/ directory
__init__.pyis missing. This caused error when the iPython notebook: ssd_notebook.ipynb is executed. Without this init file in the respective
directory, the "from notebooks import visualization" won't work. It will say "module not found"
Solution: I copied this init file from nets/ directory to the notebooks/ directory
Dataset:
Created a directory called VOC2007_DOWNLOADED/ and then make 2 sub-directories 'train_val' and 'test'
Invoke the following
cd VOC2007_DOWNLOADED/train_val wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar cd VOC2007_DOWNLOADED/test wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar # not needed wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCdevkit_08-Jun-2007.tar (mainly .m files)Then untar all these files.
Go to main dir: /tf_files/SSD-Tensorflow and then make another directory called VOC2007. Copy over the JPEGImages and Annotations files to VOC2007/:// NOT NEEDED ANY MORE /// cp -a VOC2007_DOWNLOADED/VOCdevkit/VOC2007/JPEGImages VOC2007/ /// cp -a VOC2007_DOWNLOADED/VOCdevkit/VOC2007/Annotations VOC2007/ THIS IS NOT NEEDED ANY MORE. The train_val and test are extracted separately and DATASET_DIR is modified to point to the correct location. This took care of the copying of data problemNext run the conversion script to convert the images and Annotations to tf_record format. Keep the train and test in separate directories '/tmp/train_val_TFRECORDS', and '/tmp/test_TFRECORDS'
Run evaluation
Training (fine tuning)
Last updated
Was this helpful?