deepdream-docker icon indicating copy to clipboard operation
deepdream-docker copied to clipboard

Error when running on a 1920x1080px image

Open BastianVoigt opened this issue 6 years ago • 3 comments

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 avatar Aug 21 '18 16:08 BastianVoigt

It also says:

libdc1394 error: Failed to initialize libdc1394

BastianVoigt avatar Aug 21 '18 16:08 BastianVoigt

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.

montyanderson avatar Jan 02 '19 12:01 montyanderson

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 !

GnarNoire avatar May 25 '21 07:05 GnarNoire