我试图在大小为(23x7680)的二维矩阵上应用离散小波变换,但出现此错误ValueError: Input array has fewer dimensions than the specified axes
。
任何帮助,将不胜感激。
代码:
data=np.random.rand(23,7680)
coeffs = pywt.dwt2(data, 'haar')
cA, (cH, cV, cD) = coeffs
我试图在大小为(23x7680)的二维矩阵上应用离散小波变换,但出现此错误ValueError: Input array has fewer dimensions than the specified axes
。
任何帮助,将不胜感激。
代码:
data=np.random.rand(23,7680)
coeffs = pywt.dwt2(data, 'haar')
cA, (cH, cV, cD) = coeffs