The section covers required to use VGG16 pretrained model for classification.
- Download VGG16 weights from http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz. The file can be downloaded using the following script:
require(RCurl) URL <- 'http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz' download.file(URL,destfile="vgg_16_2016_08_28.tar.gz",method="libcurl")
- Install TensorFlow in Python.
- Install R and the tensorflow package in R.
- Download a sample image from http://image-net.org/download-imageurls.