Getting ready

The section covers required to use VGG16 pretrained model for classification.

  1. 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") 
  1. Install TensorFlow in Python.
  2. Install R and the tensorflow package in R.
  3. Download a sample image from http://image-net.org/download-imageurls.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset