This is an implement of vgg16 and vgg19 base on machrisaa's and kratzert's work. To use the VGG networks, the npy files for VGG16 NPY or VGG19 NPY has to be downloaded.
The extra files(vgg16_trainable.py, datagenerator.py, test_vgg16_trainable.py and test_finetune_vgg16.py) can let you to apply the vgg16 network to others classification tasks through modifying the last fully-connected layer. Furthermore, you can easily choose any layers that you want to train instead of all layers. To train the vgg16 network, you need to prepare same datasets, or you can download one from here.
The experiment environment is as follows:
- tensorflow=1.12.0
- pyhton=3.6.7
- numpy=1.16.2