Need help with pytorch-vgg?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jcjohnson
214 Stars 33 Forks MIT License 9 Commits 8 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 2,865
Python
Shell
Jupyter...
Lua
5 commits
# 43,093
Lua
Shell
Python
bayesia...
1 commit
# 987
Lua
Shell
C++
pytorch
1 commit

pytorch-vgg

Some scripts to convert the VGG-16 and VGG-19 models [1] from Caffe to PyTorch.

The converted models can be used with the PyTorch model zoo and are available here:

VGG-16: https://web.eecs.umich.edu/~justincj/models/vgg16-00b39a1b.pth

VGG-19: https://web.eecs.umich.edu/~justincj/models/vgg19-d01eb7cb.pth

These models expect different preprocessing than the other models in the PyTorch model zoo. Images should be in BGR format in the range [0, 255], and the following BGR values should then be subtracted from each pixel: [103.939, 116.779, 123.68]

[1] Karen Simonyan and Andrew Zisserman, "Very Deep Convolutional Networks for Large-Scale Image Recognition", ICLR 2015

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.