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

Error when running on a 1920x1080px image #11

Open
BastianVoigt opened this issue Aug 21, 2018 · 3 comments
Open

Error when running on a 1920x1080px image #11

BastianVoigt opened this issue Aug 21, 2018 · 3 comments

Comments

@BastianVoigt
Copy link

E0821 16:05:02.724855     1 upgrade_proto.cpp:618] Attempting to upgrade input file specified using deprecated V1LayerParameter: /caffe/models/bvlc_googlenet/bvlc_googlenet.caffemodel
I0821 16:05:02.752223     1 upgrade_proto.cpp:626] Successfully upgraded file specified using deprecated V1LayerParameter
This might take a little while...
Traceback (most recent call last):
  File "deepdream.py", line 104, in <module>
    step_one = deepdream(net, img)
  File "deepdream.py", line 68, in deepdream
    octaves = [preprocess(net, base_img)]
  File "deepdream.py", line 44, in preprocess
    return np.float32(np.rollaxis(img, 2)[::-1]) - net.transformer.mean['data']
ValueError: operands could not be broadcast together with shapes (4,1080,1920) (3,1,1) 
@BastianVoigt
Copy link
Author

It also says:

libdc1394 error: Failed to initialize libdc1394

@montyanderson
Copy link

I got this error when I gave the parameters incorrectly.

@BastianVoigt Make sure you give the path to the input as relative to the directory.

@GnarNoire
Copy link

It also says:

libdc1394 error: Failed to initialize libdc1394

Just I still have yet to get this to work myself thanks for the info! is it working for you now which file line did you have to edit?

Thanks !

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