Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 864 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 864 Bytes

billy

Looking using bilinear features for classification.

This code (approximately) reproduces the results of

http://vis-www.cs.umass.edu/bcnn/docs/bcnn_iccv15.pdf

Need to download the CUB_200_2011 dataset and rename ./data/cub

Dependencies

There are a number of python dependencies -- need to get around to adding a requirements.txt. In the meantime, the only unusual dependency is:

Usage

INPATH=./data/cub/images/

# Regular features
find $INPATH -type f | python -m tdesc --model vgg16 --crow --target-dim 448 > ./data/feats-crow-448

# Get last convolutional features, then expand to bilinear features
find $INPATH -type f | ./get_conv.py --target-dim 448 --outpath ./conv.bc > ./data/convpaths
./bilinear.py --inpath ./conv.bc --outpath ./data/bilinear.bc

# run ./billy.py