Skip to content

A Keras Model to get VGG Features of an Image. With pre-trained weights

Notifications You must be signed in to change notification settings

arushk1/vggfeatures-keras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Extract the 4096 dimension activations from the VGGNet built in Keras. The last two layer have been cut off - The last Softmax Layer and Dropout layer.

This has the following dependencies:

  1. Keras
  2. Theano
  3. OpenCV
  4. Numpy

To run the code :

sudo THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python kerasvgg.py

Link for Pre-Trained Weights : https://www.dropbox.com/s/bvn05hji37lhfoa/vgg16_weights.h5?dl=0

About

A Keras Model to get VGG Features of an Image. With pre-trained weights

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages