SSD: Single Shot MultiBox Detector on TensorFlow 2.0
Implemented SSD300 in TensorFlow 2.0 (keras API).
This SSD300 has some improvements over the forked repository.
- Port to TF2.0 (Eager Execution + Keras API)
- Evaluate ROC curves, mAP Score.
- Remove predatas (gt_pascal.pkl, prior_boxes_ssd300.pkl).
- Remove output feature which didn't have trainable weights.
Requirements
- Python v3.7
- TensorFlow v2.0
- python_voc_parser v1.0.0
- imgaug v0.3.0
Usage
- Open demo with VSCode or Jupyter.
- sample_demo.py: You can try predict and training. My work space (VSCode friendly. I'm attached to breakpoint. XD).
- sample_demo.ipynb: This is same as sample_demo.py.
- Run
# データセットをダウンロード
cell.
Some minutes after... Downloaded the PascalVOC 2007 onto./data
../data/VOCdevkit/VOC2007/ |- Annotations |- ImageSets |- JPEGImages |- SegmentationClass |- SegmentationObject
- Download the weights_SSD300.hdf5 onto
./data
. This is weights was ported from the original models../data/weights_SSD300.hdf5
- Run following cells... XD
Copyright
Copyright (c) 2020 namoshika
This repository is forked https://github.com/rykov8/ssd_keras.
Copyright (c) 2016 Andrey Rykov