Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different indexes for W, b and layer_name #2

Open
EibrielInv opened this issue Jul 18, 2016 · 3 comments
Open

Different indexes for W, b and layer_name #2

EibrielInv opened this issue Jul 18, 2016 · 3 comments

Comments

@EibrielInv
Copy link

Hi! For some reason for me the indexes on the layers are different on https://github.com/log0/neural-style-painting/blob/master/art.py#L144

from

        W = vgg_layers[0][layer][0][0][0][0][0]
        b = vgg_layers[0][layer][0][0][0][0][1]
        layer_name = vgg_layers[0][layer][0][0][-2]

to

        W = vgg_layers[0][layer][0][0][2][0][0]
        b = vgg_layers[0][layer][0][0][2][0][1]
        layer_name = vgg_layers[0][layer][0][0][0][0]

I've donwloaded the model from the link provided: http://www.vlfeat.org/matconvnet/models/imagenet-vgg-verydeep-19.mat

@EibrielInv
Copy link
Author

EibrielInv commented Jul 18, 2016

Related to Pull request #1

@ghost ghost mentioned this issue Oct 2, 2016
@ivan-v-kush
Copy link

ivan-v-kush commented Jan 17, 2017

was the same problem.
His code is based on https://github.com/ckmarkoh/neuralart_tensorflow that uses the different imagenet-vgg-verydeep-19.mat (see Requirenments sec) than the link provided by this repository: http://www.vlfeat.org/matconvnet/models/imagenet-vgg-verydeep-19.mat

All is OK, when have downloaded the file from ckmarkoh

@liangyihuai
Copy link

@ivankush Your comment helps me out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants