-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Traceback (most recent call last):
File "Script/fusion_transfer.py", line 383, in
input_to_style_mapping, feature_distance_map = independent_mapping(input_image_neural_activations, mask_image, style_neural_activations)
File "Script/fusion_transfer.py", line 250, in independent_mapping
nn_index, distance = find_nearest_neighbor(input_patch, style_layer_activation, return_distance=True)
File "Script/fusion_transfer.py", line 272, in find_nearest_neighbor
tiled_input_patch -= style_layer_activation
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ops\math_ops.py", line 1234, in binary_op_wrapper
return func(x, y, name=name)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\util\dispatch.py", line 206, in wrapper
return target(*args, **kwargs)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ops\math_ops.py", line 548, in subtract
return gen_math_ops.sub(x, y, name)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 10551, in sub
_ops.raise_from_not_ok_status(e, name)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\ops.py", line 6897, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [1,255,0,128] vs. [1,255,207,128] [Op:Sub]
input : 673*832