Error of numpy.linalg.svd

U,S,V=np.linalg.svd(train_data_normalize)

LinAlgError: 0-dimensional array given. Array must be at least two-dimensional

train_data_normalize is a matrix of (13233, 15625)
from the following sources

import minpy.numpy as np -sharpGPU
train_data=train_mat.reshape(13233,125*125).astype("float16") -sharpreshape
meanvalue=np.mean(train_data,axis=0)-sharp
train_data_normalize=train_data-meanvalue
Apr.01,2021

this error is a bit strange, but 0-dimensional array doesn't really make any sense. Check whether your train_data_normalize is object . This problem occurs if a array is not passed in.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c781-4ef7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c781-4ef7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?