0

My task requires me to extract features from the pool5 layer of vgg-19 net. Previously I was doing it using Caffe and then working on the extracted features using Tensorflow for further training. But now, I want to add a deconv layer on top and fine-tune the entire net for end-to-end training. Now my gradients are obtained using tensroflow while I had obtained the features from vgg-19 using caffe ,so I guess it will be difficult to backpropagate these gradients to caffe. So that is the reason I am looking for a vgg-19 model in tensorflow that can he used for extracting features from any layer. I found some projects online but they are not officially endorsed by Tensorflow.

stop-cran
  • 4,229
  • 2
  • 30
  • 47
HIMANSHU RAI
  • 305
  • 1
  • 4
  • 13
  • Keras has a VGG-19 module in keras.applications. – Dr. Snoopy Aug 02 '17 at 17:59
  • Thanks Matias but I was looking for something in tensorflow because I have already coded my couple of layers and a compliated objective function in tensorflow and it will take more time to port all that code back to keras – HIMANSHU RAI Aug 02 '17 at 18:14

1 Answers1

0

For tensorflow you can use the TF-Slim library and use the pretrained models which are available here. You can check their useful slim walk through notebook on how to use them.

Vijay Mariappan
  • 16,921
  • 3
  • 40
  • 59