Skip to content

Python wrapper to extract CNN embeddings with Oxford VGG models using caffe.

Notifications You must be signed in to change notification settings

jesu9/VGGFeatExtract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Python Wrapper for VGG Deep Feature Extraction

Dependencies

  • Python 2.7
  • pycaffe
  • cv2 (OpenCV Python wrapper)
  • hdf5storage

Features

  • Wrappers to load images and videos with OpenCV
  • Transform image based on VGG preprocessing
  • Extract multi-layer feature embeddings with a single pass

Quick Start

  • See video_demo.py as an example to sample video frames, extract fc6/7 embedding features, and store features to MATLAB format.
  • For USC HPCC users: Please source /auto/iris-00/rn/chensun/iris_lib_setup.sh to set up environment (anaconda, cv2, pycaffe, etc.)

Contact

chensun@usc.edu

About

Python wrapper to extract CNN embeddings with Oxford VGG models using caffe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages