Vgg Caffe Save

The VGG16 and VGG19 networks in caffe with jupyter notebook

Project README

VGG16 and VGG19 caffe net

Uses the VGG16 and VGG19 nets from the modelzoo. Minor changes in the *.prototxt to adapt it to the new caffe version.

See net.ipynb.

Instructions

# Download models 
wget --show-progress -P 'model/' 'http://www.robots.ox.ac.uk/~vgg/software/very_deep/caffe/VGG_ILSVRC_16_layers.caffemodel'
wget --show-progress -P 'model/' 'http://www.robots.ox.ac.uk/~vgg/software/very_deep/caffe/VGG_ILSVRC_19_layers.caffemodel'

# Convert models to new caffe format (caffe needed)
# (Not strictly needed. Removes deprecation notice)
upgrade_net_proto_binary MODEL.caffemodel MODEL.new.caffemodel

# Build docker image
docker build docker/ -t caffe-jupyter

# Start jupyter notebook
./docker/start-jupyter.sh

# Open browser at 127.0.0.1:8888
# Enter 'a' as the password to enter the jupyter env

# Maybe you have to adapt some paths to the models. See net.ipynb

# Docker terminal to image to execute "upgrade_net_proto_binary" etc. and run python files normally
docker run --entrypoint  --rm -v $(pwd):$(pwd) -w $(pwd) -it caffe-jupyter bash
Open Source Agenda is not affiliated with "Vgg Caffe" Project. README Source: davidgengenbach/vgg-caffe
Stars
45
Open Issues
0
Last Commit
6 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating