DeepDreamVideo icon indicating copy to clipboard operation
DeepDreamVideo copied to clipboard

numpy broadcast error

Open oshriez opened this issue 6 years ago • 0 comments

strange.. same sequence worked, and now (after restart) :

Processing frame #1 Traceback (most recent call last): File ".\2_dreaming_time.py", line 506, in main(args.input, args.output, args.image_type, args.gpu, args.model_path, args.model_name, args.preview, args.octaves, args.octavescale, args.iterations, args.jitter, args.zoom, args.stepsize, args.blend, args.layers, args.guide_image, args.start_frame, args.end_frame, args.verbose) File ".\2_dreaming_time.py", line 331, in main frame = deepdream(net, frame, image_type=image_type, verbose=verbose, iter_n = iterations, step_size = stepsize, octave_n = octaves, octave_scale = octave_scale, jitter=jitter, end = endparam) File ".\2_dreaming_time.py", line 113, in deepdream octaves = [preprocess(net, base_img)] File ".\2_dreaming_time.py", line 39, in preprocess return np.float32(np.rollaxis(img, 2)[::-1]) - net.transformer.mean['data'] ValueError: operands could not be broadcast together with shapes (4,720,1280) (3,1,1)

oshriez avatar May 09 '18 09:05 oshriez