Skip to content

Conversation

@longjon
Copy link
Contributor

@longjon longjon commented Mar 18, 2014

This addresses #207, porting the DeCAF lena_imagenet.ipynb to caffe, and adding a link in the docs.

@shelhamer shelhamer added this to the 0.99 milestone Mar 18, 2014
shelhamer added a commit that referenced this pull request Mar 18, 2014
Layer-by-layer visualization example
@shelhamer shelhamer merged commit 974215d into BVLC:dev Mar 18, 2014
@shelhamer
Copy link
Member

Thanks @longjon, this is a long-asked for example.

@shelhamer shelhamer mentioned this pull request Mar 18, 2014
@Yangqing
Copy link
Member

Kudos! Thanks Jon!

Yangqing

On Mon, Mar 17, 2014 at 11:11 PM, Evan Shelhamer
notifications@github.comwrote:

Thanks @longjon https://github.com/longjon, this is a long-asked for
example.

Reply to this email directly or view it on GitHubhttps://github.com//pull/226#issuecomment-37902457
.

@Cheng-Wang
Copy link

Could you please help me to fix this problem? I got this kind of error, I do "import numpy as np" in my script

"line 46, in vis_square
data = np.pad(data, padding, mode='constant', constant_values=(padval, padval))
AttributeError: 'module' object has no attribute 'pad' "

@Yangqing
Copy link
Member

Yangqing commented Jun 2, 2014

You may be using an old version of numpy. Upgrading to 1.8 should solve the
problem:

http://docs.scipy.org/doc/numpy/reference/generated/numpy.pad.html

Yangqing

On Mon, Jun 2, 2014 at 8:54 AM, Cheng-Wang notifications@github.com wrote:

Could you please help me to fix this problem? I got this kind of error, I
do "import numpy as np" in my script

"line 46, in vis_square
data = np.pad(data, padding, mode='constant', constant_values=(padval,
padval))
AttributeError: 'module' object has no attribute 'pad' "

Reply to this email directly or view it on GitHub
#226 (comment).

@Cheng-Wang
Copy link

Thanks@Yangqing, the problem is solved!

mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
Layer-by-layer visualization example
@longjon longjon deleted the imagenet-vis branch December 30, 2014 04:59
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

Successfully merging this pull request may close these issues.

4 participants