Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/Users/jsamoocha/.virtualenvs/coach/lib/python2.7/site-packages/sklearn/cluster/affinity_propagation_.py", line 324, in predict

return pairwise_distances_argmin(X, self.cluster_centers_)


 "/Users/jsamoocha/.virtualenvs/coach/lib/python2.7/site-packages/sklearn/metrics/pairwise.py", line 464, in pairwise_distances_argmin

metric_kwargs)[0]


 "/Users/jsamoocha/.virtualenvs/coach/lib/python2.7/site-packages/sklearn/metrics/pairwise.py", line 339, in pairwise_distances_argmin_min

X, Y = check_pairwise_arrays(X, Y)


 "/Users/jsamoocha/.virtualenvs/coach/lib/python2.7/site-packages/sklearn/metrics/pairwise.py", line 111, in check_pairwise_arrays

warn_on_dtype=warn_on_dtype, estimator=estimator)


 "/Users/jsamoocha/.virtualenvs/coach/lib/python2.7/site-packages/sklearn/utils/validation.py", line 405, in check_array

% (array.ndim, estimator_name))
ValueError: Found array with dim 3. check_pairwise_arrays expected <= 2.

Traceback (most recent call last):


 "test_vgg.py", line 21, in <module>

o = link(data)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/link.py", line 294, in __call__

out = forward(*args, **kwargs)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/links/connection/convolution_2d.py", line 184, in forward

groups=self.groups)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/functions/connection/convolution_2d.py", line 582, in convolution_2d

y, = fnode.apply(args)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/function_node.py", line 321, in apply

outputs = self.forward(in_data)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/function_node.py", line 512, in forward

return self.forward_gpu(inputs)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/functions/connection/convolution_2d.py", line 185, in forward_gpu

return self._forward_cudnn(x, W, b, y)


 "/env/.pyenv/versions/speech_3.6/lib/python3.6/site-packages/chainer/functions/connection/convolution_2d.py", line 246, in _forward_cudnn

auto_tune=auto_tune, tensor_core=tensor_core)


 "cupy/cudnn.pyx", line 1545, in cupy.cudnn.convolution_forward


 "cupy/cudnn.pyx", line 216, in cupy.cudnn._create_convolution_descriptor


 "cupy/cuda/cudnn.pyx", line 1078, in cupy.cuda.cudnn.setConvolution2dDescriptor_v5


 "cupy/cuda/cudnn.pyx", line 712, in cupy.cuda.cudnn.check_status
cupy.cuda.cudnn.CuDNNError: CUDNN_STATUS_BAD_PARAM
